Starting and stopping application servers in OpenPages

You can use the following methods to start and stop application servers in OpenPages.

Table 1. Starting and stopping servers
To do this... Do these steps
Restart all application server pods by using the Red Hat® OpenShift® UI
  1. Log in to the Red Hat OpenShift web client as an administrator.
  2. Click Workload > StatefulSets, and then click openpages-<instance_name>-sts.
  3. Decrease the number of pods to 0. Wait for all pods to be removed.
  4. Increase the number of pods to the value that you use in your environment.
Restart all application server pods by using the Red Hat OpenShift command line
  1. Log in to the cluster as an administrator.
  2. Go to the project where IBM® Software Hub is installed.
    oc project ${PROJECT_CPD_INST_OPERANDS}
  3. Scale down to 0 replicas:
    oc scale --replicas=0 sts/openpages-<instance_name>-sts
  4. Wait until all application server pods are deleted.
  5. Scale up to the number of replicas you want to use for the application server:
    oc scale --replicas=<#_of_replicas> sts/openpages-<instance_name>-sts