Remove Client from Cache
A client node (local or remote) can be removed from the cache at any time. In order to get a more detailed explanation of cache clients, please see the Cache Client section.
Using the NCache Management Center
Launch the NCache Management Center by browsing to
http://localhost:8251
(Windows) or<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.
Using Command Line Tools
Remove-ClientNode cmdlet removes client node(s) from the existing cache.
The following command removes client node 20.200.20.39 from the cache named demoClusteredCache.
Remove-ClientNode -CacheName demoClusteredCache -ClientNode 20.200.20.39
To verify client node removal, you can run the Test-Stress cmdlet from the remote client machine. If you are unable to run the stress test from this machine, the client has been successfully removed from the cache.