• Webinars
  • Docs
  • Download
  • Blogs
  • Contact Us
Try Free
Show / Hide Table of Contents

Start Cache using Web Manager and PowerShell

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

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 Select Cache to Start Web Button button on the toolbar to start cache.

      Select Cache to Start Web

    • Method 2: Click on "..." against the cache and select Start.

      Start Cache Web

  • The icon against the cache servers will change from grey to blue, and a success notification will be received.

Warning

While starting a Distributed Cache with Persistence, if the store is inaccessible to any of the cluster nodes, you will receive an error notification and cache will not start.

Starting Cache on a Particular Server Node

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.

Start Cache on a node Web

  • 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 Select Cache to Start Web Button button on the toolbar to start the server.

      Button to start web server

    • Method 2: Click on "..." against the server IP and select Start.

      Server node started web

  • 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 the registered cache.

The following command starts the demoClusteredCache on server node 20.200.20.39.

Start-Cache demoClusteredCache -Server 20.200.20.39 

Troubleshooting

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.

Workaround

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 Get-Caches cmdlet to confirm if the cluster is formed properly or not. It lists all the nodes that have successfully joined the cluster.

Workaround

  • 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.

See Also

Stop Cache
Restart Cache
Manage Cache Service on a Server Node

Back to top Copyright © 2017 Alachisoft