Remove Server Node
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.
- If cache is stopped, it removes the node without prompting the user.
- If cache is running, the following prompt box appears, asking for forceful or graceful stop of the cache before the node is removed.
Note
You might get prompted with a dialog box upon these changes, asking whether 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.20.29 from demoClusteredCache.
Remove-Node demoClusteredCache -Server 20.200.20.29
See Also
Create a Cache
Remove Cache
Clear Cache
Configure Query Indexes