Chapter 5. Shutting down and starting up RHOSO nodes To perform maintenance on your Red Hat OpenStack on OpenShift (RHOSO) environment, you must shut down and start up the Red Hat OpenShift Container Platform (RHOCP) cluster and all the data plane nodes in a specific order to ensure minimal issues when you restart your cluster and data plane nodes. Prerequisites An operational RHOSO environment. You are logged on to a workstation that has access to the RHOSO control plane as a user with cluster-admin privileges. The oc command line tool is installed on the workstation. 5.1. RHOSO deployment shutdown order To shut down the Red Hat OpenStack on OpenShift (RHOSO) environment, you must shut down the instances that host the workload, the data plane nodes, and the Red Hat OpenShift Container Platform (RHOCP) cluster nodes in the following order: Shut down instances hosted on the Compute nodes on the data plane. If your data plane includes hyperconverged infrastructure (HCI) nodes, shut down the Red Hat Ceph Storage cluster. Shut down Compute nodes. Shut down the RHOCP cluster nodes. 5.2. Shutting down instances hosted on the Compute nodes In order to shut down the {rhoso_long} environment, you must first shut down all instances hosted on Compute nodes before shutting down the Compute nodes. Procedure Access the remote shell for the OpenStackClient pod from your workstation: List all running instances: Stop each instance: Repeat this step for each instance until you stop all running instances. 5.3. Shutting down the Red Hat Ceph Storage cluster for HCI environments If your data plane includes hyperconverged infrastructure (HCI) nodes, shut down the Red Hat Ceph Storage cluster. For more information about how to shut down the Red Hat Ceph Storage cluster, see Powering down and rebooting the cluster using the Ceph Orchestrator in the Red Hat Ceph Storage Administration guide. 5.4. Shutting down Compute nodes As a part of shutting down the {rhoso_long} environment, log in to and shut down each Compute node. Prerequisites You have stopped all instances hosted on the Compute nodes. Procedure Retrieve a list of the Compute nodes: Log in as the root user to a Compute node and shut down the node: Repeat this step for each Compute node until you shut down all Compute nodes. Exit the OpenStackClient pod: 5.5. Shutting down the RHOCP cluster As a part of shutting down the Red Hat OpenStack Services on OpenShift (RHOSO) environment, you must shut down the Red Hat OpenShift Container Platform (RHOCP) cluster that hosts the RHOSO environment. For information about how to shut down a RHOCP cluster, see Shutting down the cluster gracefully in the RHOCP Backup and restore guide. 5.6. RHOSO deployment startup order To start the {rhoso_long} environment, you must start the Red Hat OpenShift Container Platform (RHOCP) cluster and data plane nodes in the following order: Start the RHOCP cluster. If your data plane includes hyperconverged infrastructure (HCI) nodes, start up the Red Hat Ceph Storage cluster. Start Compute nodes. Start instances on the Compute nodes. 5.7. Starting the RHOCP cluster As a part of starting up the {rhoso_long} environment, you must start the Red Hat OpenShift Container Platform (RHOCP) cluster that hosts the RHOSO environment. For information about how to start up a RHOCP cluster, see Restarting the cluster gracefully in the RHOCP Backup and restore guide. 5.8. Starting the Red Hat Ceph Storage cluster for HCI environments If your data plane includes hyperconverged infrastructure (HCI) nodes, you must use the cephadm utility to unset the noout , norecover , norebalance , nobackfill , and nodown properties, and pause flagsstart . For more information about how to start the Red Hat Ceph Storage cluster, see Powering down and rebooting the cluster using the Ceph Orchestrator in the Red Hat Ceph Storage Administration guide. 5.9. Starting Compute nodes As a part of starting the {rhoso_long} environment, power on each Compute node and check the services on the node. Prerequisites Powered down Compute nodes. Procedure Power on each Compute node. Verification Log in to each Compute as the root user. Check the services on the Compute node: 5.10. Starting instances on Compute nodes As a part of starting the {rhoso_long} environment, start the instances on the Compute nodes. Procedure Access the remote shell for the OpenStackClient pod from your workstation: List all the instances: Start an instance: Repeat this step for each instance until you start all the instances. Exit the OpenStackClient pod:

Commands:
oc rsh -n openstack openstackclient
openstack server list --all-projects
openstack server stop <instance_UUID>
openstack compute service list
shutdown -h now
exit
systemctl -t service
oc rsh -n openstack openstackclient
openstack server list --all-projects
openstack server start <instance_UUID>
exit