Create Cache Cluster in Openshift
This page provides step-by-step instructions to create and manage NCache cluster in Openshift both through NCache Mangement Centre or Windows PowerShell.
Using NCache Management Center in OpenShift
On creating the route successfully, OpenShift now provides you with a path at Networking --> Routes --> Location to access NCache Management Center. Click on the URL under the location tab to provide access to the NCache Management Center.
In order to create 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 cache cluster using Windows PowerShell:
Run NCache PowerShell tool.
Create a cache cluster using the
New-Cache
cmdlet by following the steps mentioned in Create new Cache Cluster.The IP addresses of the server nodes to be provided in the
server
parameter can be obtained by using the following command:
oc get pods -o wide
- Start cache after successful cache creation using the
Start-Cache
cmdlet.
Once 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