Try Playground
Show / Hide Table of Contents

Adding Cache Servers in Openshift at Runtime

NCache has a scalable architecture and can very easily enhance your application's capacity and functionality by letting you add servers to your cache at runtime. In OpenShift you can scale your application by adding pods to your cluster.

This can be also done using both web portal and command line tool.

Using OpenShift Portal

  • Go to the Deployments section under the Workloads tab.

  • From the deployments' page which displays all the NCache deployments, click on the three dots button against the server side deployment (which in this case is ncache).

Add Cache Servers

  • Click on the Edit Count button. It lets you increase the number of replica pods in your cache cluster. Click on the + button to increase the replica count.

Increase replica count

Using Command Line Tool

In order to increase 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_increased_server_nodes

Manually Editing Configuration File

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

  • In the YAML file, against the replicas under the spec tag, mention the number of replicas according to the requirement.

  • Run the following command after modifying the YAML file.

oc apply -f ncache.yaml

Add Server Nodes to Cache

However, by increasing the pod count, a pod is created but does not become a part of the cache automatically. In order to increase cache servers at runtime:

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

  • Follow the steps mentioned in Add Server Nodes in order to add server nodes at runtime.

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

See Also

Create New Project in Openshift
Create Cache Discovery Service in Openshift
Add Server Node
Remove Cache Servers in Openshift

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