Remove Client from Cache
A client node (local or remote) can be removed from the cache at any time.
In order to get more detailed explanation of cache clients, please see the Cache Client section.
Using NCache Web Manager
Launch NCache Web Manager by browsing to
<server-ip>:8251(Windows + Linux).
In the left navigation bar, click on Clustered Caches or Local Caches, based on the cache from which the client node will be removed. Against the cache name, click on View Details.
- This opens up the detailed configuration page for the cache. The Client Nodes tab displays a list and status of any existing client nodes of the cache.
- Select the client node to remove and click on the button. A success notification will be displayed.
You might get prompted with a dialog box upon these changes, asking whether to reload or overwrite the cache config file. For more detail on maintaining data integrity, refer to this chapter.
Remove-ClientNode cmdlet removes client node(s) from the existing cache.
The following command removes client node 126.96.36.199 from cache named demoClusteredCache.
Remove-ClientNode -CacheName demoClusteredCache -ClientNode 188.8.131.52
To verify client node removal, you can run Test-Stress cmdlet from the remove client machine. If you are unable to run the stress test from this machine, the client has been successfully removed from the cache.