Remove Server Node
A server node can be removed from the cache in the following ways:
Using NCache Web Manager
Launch NCache Web Manager by browsing to
http://localhost:8251
(Windows) or<server-ip>:8251
(Windows + Linux).In the left navigation bar, click on Clustered Caches. This opens up a new page at
<server-ip>:8251/
. The page shows any existing local or clustered caches and additional details like Server and Server Platform.Against the cache name, click on View Details.
This opens up the detailed configuration page for the cache. The Server Nodes tab displays a list and status of the existing server nodes of the cache.
Check the box against the node to be removed. Click on the button. A success notification will be displayed.
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 on maintaining data integrity, refer to this chapter.
- The server node is removed from the Server nodes list.
Using 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