Stop Cache using Web Manager and PowerShell
This section will guide you through the process of stopping a cache cluster in NCache through the NCache Web Manager and PowerShell.
Stop Cache on All Server Nodes
This section explains how you can stop a cache cluster across all server nodes through the NCache Web Manager.
Using NCache Web Manager
Launch NCache Web Manager by browsing to http://localhost:825 or
<server-ip>:8251
on Windows and Linux.In the left navigation bar, click on Clustered Caches or Local Caches, based on the cache which is to be stopped.
Check the box against the cache to stop.
- Method 1: Click on the
button on the toolbar to stop cache.
- Method 2: Click on "..." against the cache and select Stop.
- Method 1: Click on the
The icon against the cache servers will change from blue to grey, and a success notification will be received.
Stop Cache on a Particular Server Node
This section explains how you can stop a particular server node(s) of the cache cluster.
Using NCache Web Manager
Launch NCache Web Manager by browsing to http://localhost:8251 or
<server-ip>:8251
on Windows and Linux.In the left navigation bar, click on Clustered Caches or Local Caches, based on the cache server to stop. Against the cache name, click on View Details.
This opens up the detailed configuration page for the cache.
Under Server Nodes tab, check the box against the server node IP to stop.
- Method 1: Click on the
button on the toolbar to stop the server.
- Method 2: Click on "..." against the server IP and select Stop.
- Method 1: Click on the
The Status of the server will change from Running to Stopped, and a success notification will be received.
Using PowerShell
Stop-Cache cmdlet enables users to stop the cache on a specified server. It also enables the users to stop multiple caches on a specified server.
PowerShell Examples
- This command stops the cache named demoClusteredCache on a local server.
Stop-Cache –Name demoClusteredCache
- This command stops caches demoCache and demoClusteredCache on a local server.
Stop-Cache demoCache,demoClusteredCache