Start Cache Using Web Manager and PowerShell
This section will guide you through the process of starting a cache cluster in NCache through the NCache Web Manager and PowerShell.
Start Cache on All Server Nodes
This section explains how you can start a cache on all server nodes.
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 which is to be started.
Check the box against the cache to start.
- Method 1: Click on the
button on the toolbar to start cache.
- Method 2: Click on "..." against the cache and select Start.
- Method 1: Click on the
The icon against the cache servers will change from grey to blue, and a success notification will be received.
Start Cache on a Particular Server Node
This section explains how you can start 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 start. 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 start.
- Method 1: Click on the
button on the toolbar to start the server.
- Method 2: Click on "..." against the server IP and select Start.
- Method 1: Click on the
The Status of the server will change from Stopped to Running, and a success notification will be received.
Using PowerShell
Start-Cache cmdlet enables the user to start a cache or multiple caches on a single server node (either local or remote).
PowerShell Examples
- This command starts the cache named demoClusteredCache on a local server.
Start-Cache –Name demoClusteredCache
- This command starts the caches named demoLocalCache and demoClusteredCache on a local server.
Start-Cache –Name demoLocalCache,demoClusteredCache