The removeclientcache utility allows you to remove a client cache from all client nodes in a cluster.
RemoveClientCache 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 removing 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. |
removeclientcache will remove a client cache from all client nodes in a cluster.
The system, where you use removeclientcache utility, must have NCache service installed and running. By default, removeclientcache utility tries to remove a client cache from all client nodes if it exists in a cluster. Otherwise it will prompt an error.
The following command removes a client cache from all node on a specified cache and server.
removeclientcache mycache /c ClusteredCache /s 20.200.20.2
The following command specifies the port number for communication with NCache server.
removeclientcache 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.
removeclientcache 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.
removeclientcache mycache /c ClusteredCache /s 20.200.20.2 /? /nologo
listcaches | addnode | removenode | startcache | stopcache | addtestdata | clearcache | addclientnode | removeclientnode | createclientcache | upgradeconfiguration | configurnodesecurity | configurcachesecurity