Shutting down and restarting a cluster
There may be times when you need to gracefully shut down a cluster. The following procedure walks you through it. You must have SSH access to each node in a cluster in order to perform these steps. If additional assistance is needed, you can contact Scale Computing Support.
Connect to the primary node in the cluster and perform the following steps.
Use the SC//Reliantâ„¢ Virtual Controller (RVC) CLI to ensure that the cluster isn't in maintenance mode. Verify you see
Maintenance.: falsein the output.rvc cluster statusDisable STONITH for the cluster.
sudo crm configure property stonith-enabled=falsePlace the node in standby. This gracefully shuts down any containers and virtual machines on the node that are running inside the cluster. Replace
<node_1_hostname>in the following command with the hostname of the node you are placing in standby.sudo pcs node standby <node_1_hostname>If you have any containers running outside the cluster, use the following command to stop them. Replace
<container_name>with the name of your container, ensuring that the full name follows thedocker-<container_name>format.sudo systemctl stop docker-<container_name>Monitor the resources being shut down.
sudo crm_mon
Connect to the other node in the cluster and perform the following steps.
Place the node in standby. This gracefully shuts down any containers and virtual machines running on the node. Replace
<node_2_hostname>with the hostname of the node.sudo pcs node standby <node_2_hostname>If you have any containers running outside the cluster, use the following command to stop them. Replace
<container_name>with the name of your container, ensuring that the full name follows thedocker-<container_name>format.sudo systemctl stop docker-<container_name>Monitor the resources being shut down.
sudo crm_mon
Verify that all resources are shut down on each node.
sudo crm_monThe output should look similar to this:
Cluster Summary: * Stack: corosync * Current DC: sit0006red1 (version 2.1.5-a3f44794f94) - partition with quorum * Last updated: Fri Jun 27 15:13:37 2025 * Last change: Fri Jun 27 15:00:05 2025 by root via cibadmin on sit0006red0 * 2 nodes configured * 23 resource instances configured Node List: * Node sit0006red0: standby * Node sit0006red1: standby Active Resources: * No active resourcesOnce all resources are gracefully shut down, you can power off the nodes.
Bringing a cluster back up
After you have gracefully shut down a cluster, use the following steps when you are ready to bring that cluster back up.
Power on each node.
Connect to one of the nodes in the cluster, usually the one you intend to be the primary node, and perform the following steps.
Remove the node from standby.
sudo pcs node unstandby <node_1_hostname>Verify the node is showing as
Activeand is no longer in standby.rvc cluster statusEnable STONITH for the cluster.
sudo crm configure property stonith-enabled=trueUse the SC//Reliant Virtual Controller (RVC) CLI to ensure that the cluster resources come back up.
rvc cluster status rvc docker containers rvc kvm list
Connect to the other node in the cluster and perform the following steps.
Remove the node from standby.
sudo pcs node unstandby <node_2_hostname>