The createclientcache utility allows you to create a client cache on all client nodes already added in a cluster.
CreateClientCache client-cache-id /c[clusterid] cluster-id /s[servername] server-name [option[...]]
Argument
|
Description
|
client-cache-id
|
Specifies the name or Id of Client Cache.
|
/c[clusterid] cluster-id
|
Specifies the clustered cache name. A clustered cache must be specified for creating a
client cache.
|
/s[servername] source-server-name
|
Specifies a server name where the NCache service is running and a cache with the specified cache-id is registered. Cache configuration is copied from this server to the destination server. The default is the local machine.
|
Option
|
Description
|
/p[port] port-number
|
Specifies a port number for communication with the NCache server.
|
/nologo
|
Suppresses display of the logo banner.
|
/?
|
Displays command syntax and options for the utility.
|
Remarks
You can add only one client cache on all client nodes in a cluster.
The system where you use createclientcache utility, must have NCache service installed and running. By default, createclientcache utility tries to add a client cache on all client node if no client cache exists in a cluster. Otherwise it will prompt an error.
Examples
The following command creates a client cache on a all client nodes in a specified cache and server.
createclientcache mycache /c ClusteredCache /s 20.200.20.2
The following command specifies the port number for communication with NCache server.
createclientcache mycache /c ClusteredCache /s 20.200.20.2 /p 7803
The following command displays the command syntax and options for the utility. Logo banner is displayed as a part.
createclientcache mycache /c ClusteredCache /s 20.200.20.2 /?
The following command displays the command syntax and options for the utility suppressing the display of the logo banner.
createclientcache mycache /c ClusteredCache /s 20.200.20.2 /? /nologo
See Also