• Products
  • Solutions
  • Customers
  • Resources
  • Company
  • Pricing
  • Download
Try Playground
Show / Hide Table of Contents

Remove Cache Servers in Openshift

You can also remove a cache server from the cache cluster at runtime using OpenShift web portal and command line tool. In order to do that, first remove server nodes from the cache cluster, using NCache Management Center.

Using OpenShift Portal

  • Go to the Deployments section under the Workloads tab.

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

Add 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

Using Command Line Tool

To decrease the pods' replica count through 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

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, mention the number of replicas according to the requirement.

  • Run the following command after modifying the YAML file.

oc apply -f ncache.yaml

Remove Server Nodes from Cache

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

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

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

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

See Also

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

In This Article
  • Using OpenShift Portal
  • Using Command Line Tool
  • Manually Editing Configuration File
  • Remove Server Nodes from Cache
  • 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