Shutdown and Restart Commands

Shutting Down a Database

To shut down a database from the OpenShift UI, scale down the Storage Manager (SM) pod to 0 replicas, and scale down the Transaction Engine (TE) pod for that database to 0 also.

Scaling Down Storage Managers

To scale down the SM pod to 0, do the following:

  1. Select the SM pod.
  2. Click Actions and select Edit YAML.
  3. Change the replica value to 0 and save changes.

Scaling Down Transaction Engines

To scale down the TE pod to 0, select the TE pod for that database and then click the down arrow by the pod count display until 0 is reached.

Restarting a Database

To restart a database from the OpenShift UI, scale up the SM pod back to the previous number of replicas (r) and scale up the number of TE pods to the desired amount.

Scaling Up Storage Managers

To scale up the SM pod, do the following:

  1. Select the SM pod.
  2. Click Actions and select Edit YAML.
  3. Change the replica value to (r) and save changes.
  4. Click the desired TE pod and scale the number of replicas to the desired number.

Scaling Up Transaction Engines

To scale up a TE pod, select the TE pod for that database and click the up arrow by the pod count display until the desired number of TEs is reached.

Shutting Down a Domain

To shut down a domain from the OpenShift UI, scale down the admin service pod to 0 replicas.

Note: You can shut down a domain only after all databases have been shut down first.

To shut down a domain, do the following:

  1. Select the admin service pod.
  2. Click Actions and select Edit YAML.
  3. Change the replica value to 0 and save changes.

Restarting a Domain

To restart a domain from the OpenShift UI, scale up the admin service pod back to the previous number of replicas (r).

To shut down a domain, do the following:

  1. Select the admin service pod.
  2. Click Actions and select Edit YAML.
  3. Change the replica value to (r) and save changes.

Note: After restarting a domain toy can restart databases as desired.