Create Cache Cluster in Openshift
To set up an NCache cluster in OpenShift, you have to retrieve pod IP addresses using oc get pods -o wide command and register them as server nodes. This ensures low-latency data distribution across your OpenShift project. This page provides step-by-step instructions to create and manage NCache cluster in OpenShift, both through the NCache Mangement Center and Windows PowerShell.
Using the NCache Management Center in OpenShift
After creating the route, navigate to networking -> Routes in the OpenShift console. Access the NCache Management Center via the Location URL to manage and monitor your cluster through the web-based GUI.

In order to create a new cache, follow the steps mentioned in Create New Clustered Cache. Make sure to provide the IP addresses of cache servers which are shown on the Pods page or as the output of the following command:
oc get pods -o wide
Start Cache after successful cache creation.
Using Windows PowerShell
To create a cache cluster using Windows PowerShell:
Run the NCache PowerShell tool.
Create a cache cluster using the
New-Cachecmdlet by following the steps mentioned in Create new Cache Cluster.The IP addresses of the server nodes to be provided in the
serverparameter can be obtained by using the following command:
oc get pods -o wide
- Start the cache after successful cache creation using the
Start-Cachecmdlet.
Once the NCache cache cluster is created, the next step is to deploy client applications, explained in the next chapter.
See Also
Create New Project in OpenShift
Create Cache Discovery Service in OpenShift
Create Management Gateway in OpenShift
Create New Clustered Cache