Stopping the cluster
Use this procedure to stop the applications that serviced is managing, serviced itself, and cluster services.
- Log in to Active-Node as root, or as a user with superuser privileges.
Stop the top-level service serviced is managing, if necessary.
Show the status of running services.
serviced service statusThe top-level service is the service listed immediately below the headings line.
- If the status of the top-level service and all child services is stopped, proceed to the next step.
- If the status of the top-level service and all child services is not stopped, perform the remaining substeps.
Stop the top-level service.
Replace Service with the name or identifier of the top-level service:
serviced service stop Service
Monitor the stop.
serviced service statusWhen the status of the top-level service and all child services is stopped, proceed to the next step.
- Show the status of running services.
pcs resource disable serviced
Stop serviced on all delegate hosts.
For more information, see Stopping a delegate host.
Disable additional resources.
Disable storage resources.
pcs resource disable serviced-storage
Disable the serviced group.
pcs resource disable serviced-group
- Disable storage resources.
Confirm that all resources are stopped, and identify the master node.
Confirm that all resources are stopped.
watch pcs status
- Confirm that all resources are stopped.
pcs cluster standby --all
- In a separate terminal session, log in to Passive-Node as root, or as a user with superuser privileges.
On both nodes, confirm that replication is disabled.
drbd-overviewThe output should match the following example:
0:serviced-dfs/0 Unconfigured . . 1:serviced-dfs/1 Unconfigured . . 2:serviced-dfs/2 Unconfigured . .
On both nodes, display the size of
the serviced thin pool device.
Typically, the serviced thin pool device is associated with /dev/drbd2. To verify the configuration in your environment, review /etc/drbd.d/serviced-dfs.res.
lsblk -ap --output=NAME,SIZE,TYPE,FSTYPE,MOUNTPOINTNone of devices listed in the output should include subordinate DRBD devices.