Try Playground
Show / Hide Table of Contents

Cache Management Operations - Start Cache

You can perform cache management operations like starting a clustered cache on all the server nodes altogether or start it on a specific node.

Note

This feature is also available in NCache Professional.

Please follow these steps to start the clustered cache:

Cache Management Operations: Starting Cache on All Server Nodes

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

Select Cache to Start Web

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

Start Cache Web

  • The Status of the cluster will change from Stopped to Running, and result in a success notification.
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 the cache will not start.

Cache Management Operations: Starting a Cache on a Particular Server Node

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 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 the 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 cache and select Start.

Server node started web

  • The Status of the server will change from Stopped to Running, and result in a success notification.

Using Command Line Tools

The Start Cache tool enables the user to start the registered cache.

The following command starts the demoCache on the 20.200.20.11 server node.

  • Windows
  • Linux
Start-Cache –Name demoCache –Server 20.200.20.11
start-cache –name demoCache –server 20.200.20.11

Troubleshooting

Unable to Start Cache due to Disabled Network Card

This may result in you not being able to start the cache or the related clients being unable to connect with the server even on local machines. Such problems arise when the network card is disabled or the cable is not connected.

Workaround

To resolve this problem, restart the NCache Service once after the network card is disabled or the network cable is disconnected. Restarting the NCache Service will redirect it to the local host rather than the IP address of that machine.

Nodes Not Joining with Cluster on Cache Start

Occasionally, you may start a clustered cache only to find that the nodes do not join with each other. This means that the cluster hasn't been formed and the cache runs on each node as a standalone cache. You can use the Get-Caches cmdlet to confirm if the cluster is formed properly or not. This lists all the nodes that have successfully joined the cluster.

Workaround

  • Check that every node is accessible from every other node that is a part of the clustered cache. For this, you can use the 'ping' utility. If nodes are not accessible, then there is a network problem that must be resolved before starting the cache.
  • Check that the cache configuration on each node contains the correct list of initial hosts. Every node within the clustered cache must be listed there.
  • If the initial host's list is incorrect, then update the initial host's list and restart the NCache Service on all nodes.
  • Restart the clustered cache.

See Also

Stop Cache
Restart Cache
Manage Cache Service on a Server Node

In This Article
  • Cache Management Operations: Starting Cache on All Server Nodes
    • Using the NCache Management Center
  • Cache Management Operations: Starting a Cache on a Particular Server Node
    • Using the NCache Management Center
    • Using Command Line Tools
  • Troubleshooting
    • Unable to Start Cache due to Disabled Network Card
    • Nodes Not Joining with Cluster on Cache Start
  • See Also

Contact Us

PHONE

+1 (214) 764-6933   (US)

+44 20 7993 8327   (UK)

 
EMAIL

sales@alachisoft.com

support@alachisoft.com

NCache
  • NCache Enterprise
  • NCache Professional
  • Edition Comparison
  • NCache Architecture
  • Benchmarks
Download
Pricing
Try Playground

Deployments
  • Cloud (SaaS & Software)
  • On-Premises
  • Kubernetes
  • Docker
Technical Use Cases
  • ASP.NET Sessions
  • ASP.NET Core Sessions
  • Pub/Sub Messaging
  • Real-Time ASP.NET SignalR
  • Internet of Things (IoT)
  • NoSQL Database
  • Stream Processing
  • Microservices
Resources
  • Magazine Articles
  • Third-Party Articles
  • Articles
  • Videos
  • Whitepapers
  • Shows
  • Talks
  • Blogs
  • Docs
Customer Case Studies
  • Testimonials
  • Customers
Support
  • Schedule a Demo
  • Forum (Google Groups)
  • Tips
Company
  • Leadership
  • Partners
  • News
  • Events
  • Careers
Contact Us

  • EnglishChinese (Simplified)FrenchGermanItalianJapaneseKoreanPortugueseSpanish

  • Contact Us
  •  
  • Sitemap
  •  
  • Terms of Use
  •  
  • Privacy Policy
© Copyright Alachisoft 2002 - 2025. All rights reserved. NCache is a registered trademark of Diyatech Corp.
Back to top