How To
Summary
What are the steps for a graceful shutdown of Cloud Pak for Security (CP4S)?
Objective
Not following these instructions increases the probability of critical issues bringing the Cluster back online.
Typical reasons for requiring a complete Cluster Shutdown include but are not limited by:
- Server maintenance
- Planned power outage or unplanned battery backup enabled
- Work that requires the server hosts to be powered off
Steps
Note: If you are not willing to restore the Cluster, do not shut it down.
- Log in to the Red Hati OpenShifti Cluster:
NOTE: Replace ADMIN with your admin user, and replace CONSOLE and PORT with your server-specific information.oc login -u ADMIN https://CONSOLE:PORT - Verify nodes are in Ready status:
oc get nodes -
Validate all Cluster Operators are all available True and degraded False:
-
oc get clusteroperators - Check etcd for the controller nodes:
NOTE: Validate that all of the etcd pods areoc get pods -n openshift-etcd | grep -v etcd-quorum-guard | grep etcd3/3and running. - Select the first etc node from previous step:
NOTE: replace openshift-etcd and etcd-cp4s-lab-control-1 with the values appropriate for your environment.oc rsh -n openshift-etcd etcd-cp4s-lab-control-1 - Validate that etcd is in sync and there are no issues:
etcdctl member list -w table - Make an etcd backup.
- Make a CP4S backup.
- Initiate the Graceful Shutdown of the Red Hati OpenShifti Cluster.
NOTE: Do NOT force the shutdown. Stopping the nodes can take time.
Related Information
Document Location
Worldwide
[{"Type":"MASTER","Line of Business":{"code":"LOB77","label":"Automation Platform"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSTDPP","label":"IBM Cloud Pak for Security"},"ARM Category":[{"code":"a8m3p0000000rbnAAA","label":"Support-\u003EAdministration Task"}],"ARM Case Number":"TS018859401","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions"}]
Was this topic helpful?
Document Information
Modified date:
03 April 2025
UID
ibm17230040