Try Playground
Show / Hide Table of Contents

Removing Cache Server

You can also remove cache servers from the cache as well as the Service Fabric cluster. In order to do that remove the cache servers from the cache first and then from the Service Fabric cluster.

Remove Cache Server Nodes from the Cache

  • Go to the NCache Management Center by following the clustered DNS followed by the port 8251.

  • Remove the cache server nodes by following the steps in Remove Server Nodes.

  • On successful removal, please verify through NCache Management Center and monitor.

After removing from the cache cluster, remove the nodes from the Service Fabric cluster using either the Solution explorer or Windows PowerShell.

Remove from Service Fabric Cluster using Explorer

  • Access the Service Fabric Explorer and from the Services section, go to NCache Discovery Service.

  • Click on Actions from the top right corner of the page and select Scale Cluster.

  • Enter the total number of nodes to which the server nodes need to be reduced. For example if you want to reduce from 5 server nodes to 3, enter the server node number to be 3.

Scale Cache Cluster

Remove Using Windows PowerShell

  • Make sure you have Azure PowerShell installed on your machine.

  • Run the following command in Windows PowerShell with the instance count as the total number of services after reducing the count.

Update-ServiceFabricService -Stateless -ServiceName NCacheDiscoveryService -InstanceCount 2

See Also

Create Service Fabric Cluster
Create NCache Cluster service
Monitor NCache Cluster and Clients
Adding Cache Servers at Runtime

In This Article
  • Remove Cache Server Nodes from the Cache
  • Remove from Service Fabric Cluster using Explorer
  • Remove Using Windows PowerShell
  • 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