You can start a clustered cache on all the server nodes altogether or start it on a specific node. Please follow these steps to start the clustered cache:
Starting Cache on All Server Nodes
From the Cache Explorer view, right click on the cache name, which you want to start.
Click on the Start option in the right click context menu.
This starts the demoClusteredCache on all the server nodes listed under the Server Nodes tree view. Server node icon color turns to sky blue if cache is started successfully.
Starting Cache on a Particular Server Node
Using NCache Manager
From the Cache Explorer view, right click on the server name under Server Nodes tree node, on which you want to start the cache.
Click on the Start option in the right click menu, in order to start the cache.
This starts the demoClusteredCache on the selected server node. Server node icons turn to sky blue if cache is started on it.
Using Windows PowerShell
Start-Cache cmdlet enables the user to start the registered cache.
The following command starts the demoClusteredCache on server node 18.104.22.168.
Start-Cache demoClusteredCache -Server 22.214.171.124 -Port 8250
Unable to Start Cache due to Disabled Network Card
You may not be able to start the cache or clients may be unable to connect with server even on local machine. These problems arise when network card is disabled or cable is not connected.
To resolve this problem, restart NCache service once after the network card is disabled or network cable is disconnected. Restarting NCache service will rebind it to local host rather than IP address of that machine.
Nodes Not Joining with Cluster on Cache Start
Sometimes it may be the case when you start a clustered cache, but nodes do not join with each other. It means that cluster is not formed and cache runs on each node as a standalone cache. You can use listcaches utility to confirm if the cluster is formed properly or not. When
listcaches utility is used with '/a' switch, it lists all the nodes that have successfully joined the cluster. You can also use the NCache Manager "View Cluster Connectivity" GUI tool to check the node connectivity. "View Cluster Connectivity" option is available in a cluster properties and also located at NCache Manager tool bar.
- See that every node can be accessed from every other node participating in the clustered cache. For this you can use the '
ping' utility. If nodes are not accessible then there is some network problem and must be resolved before starting the cache.
- Please see that the cache configuration on each node contains the correct initial hosts list. Every node participating in the clustered cache must be listed there.
- If the initial hosts list is not correct then update the initial hosts list and restart NCache service on all nodes.
- Restart the clustered cache.