• Facebook
  • Twitter
  • Youtube
  • LinedIn
  • RSS
  • Docs
  • Comparisons
  • Blogs
  • Download
  • Contact Us
Download
Show / Hide Table of Contents

Remove Cache Servers in OpenShift

You can scale down your NCache cluster at runtime by removing cache servers through the OpenShift web portal, command-line tool, or direct YAML modifications. In order to do that, first remove the server nodes from the cache cluster using the NCache Management Center.

Remove Server Nodes from Cache

  • Access the NCache Management Center from the Location tab in the Routes section.

  • Follow the steps in Remove Server Node to remove the server node.

  • On successful removal of cache servers, verify this through the NCache Management Center or the NCache Monitor.

After successful removal of server nodes from the cache through the NCache Management Center, you need to remove the cache servers from your deployments in order to synchronize the changes. You can do this in the following ways:

Method 1: Using OpenShift Portal

  • Go to the Deployments section under the Workloads tab.

  • On this page, click on the options button next to the deployment name (which is ncache in this case).

Remove Cache Servers

  • Clicking on the Edit Count button lets you decrease the number of replica pods in your cache cluster. Click on the "-" button to decrease the replica count.

Decrease replica count

Method 2: Using Command Line Tool

To decrease the replica count of pods through the OpenShift command-line tool, run the following command.

Here, the name of the server-side deployment is ncache, as created previously.

oc scale deployments/ncache --replicas number_of_remaining_server_nodes

Method 3: Manually Editing Configuration File

You can also edit the ncache.yaml file containing the server-side deployments.

  • In the YAML file containing the deployments, under the spec tag against the replicas, specify the number of replicas according to your requirements.

  • Run the following command after modifying the YAML file.

oc apply -f ncache.yaml

See Also

Create New Project in OpenShift
Create Cache Discovery Service in OpenShift
Remove Server Node
Adding Cache Servers at Runtime in OpenShift

Contact Us

PHONE

+1 214-619-2601   (US)

+44 20 7993 8327   (UK)

 
EMAIL

sales@alachisoft.com

support@alachisoft.com

NCache
  • 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 - . All rights reserved. NCache is a registered trademark of Diyatech Corp.
Back to top