Removing Server Node from Cache
A server node can be removed from the cache in the following ways:
Using NCache Manager
Expand the cache and in Server Nodes section, right click on the node which you want to remove from the cache.
Select the Remove option.
NCache Manager will ask for confirmation, click Yes. Server nodes list will be refreshed and node will be removed from the cache.
Note
You might get prompted with a dialog box upon these changes, asking weather to reload or overwrite the cache config file. For more detail maintaining data integrity, refer to this chapter.
Using Windows PowerShell
Remove-Node
cmdlet enables the user to remove the particular node from the existing cache on a server or specified node from provided clustered cache.
The following command removes node 20.200.22.107 from demoClusteredCache.
Remove-Node demoClusteredCache -Server 20.200.21.107