Cache Management Operations - Stop Node for Maintenance
You can stop a server node for maintenance without triggering state transfer. During this time, you can perform maintenance on your server node. You can stop a server node for maintenance in the following ways:
Important
You need to start your node within the timeframe of the maintenance mode, failing to do so will result in the state transfer being triggered after the time of maintenance runs out.
Cache Management Operations - Using the NCache Management Center
Launch the NCache Management Center by browsing to http://localhost:8251 or
<server-ip>:8251
on Windows and Linux.In the left navigation bar, click on Clustered Caches. Against the cache name, click on View Details.
This opens up the detailed configuration page for the cache.
Under the Server Nodes tab, check the box against the server node IP.
Click on "..." against the server IP and select Stop for Maintenance.
- The node status will change from Running to Stopped.
Important
No other node on the same clustered cache can be stopped during the Maintenance Mode. If you attempt to do so, it will give you an error saying Cluster is already under maintenance.
Cache Management Operations - Using Command Line Tools
The IsStopForMaintenance
flag of the Stop Cache tool stops a server node for maintenance.
The following command stops the node 20.200.20.39 of the cache demoCache for maintenance for a time of 30 minutes: