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 |
- Log in to the Red Hat
OpenShift web client
as an administrator.
- Click
, and
then click openpages-<instance_name>-sts.
- Decrease the number of pods to 0. Wait for all pods to be removed.
- 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 |
- Log in to the cluster as an administrator.
- Go to the project where IBM® Software Hub is
installed.
oc project ${PROJECT_CPD_INST_OPERANDS}
- Scale down to 0 replicas:
oc scale --replicas=0 sts/openpages-<instance_name>-sts
- Wait until all application server pods are deleted.
- 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
|