Este conteúdo não está disponível no idioma selecionado.
Chapter 33. Removing the cluster configuration
Permanently remove all Pacemaker and Corosync cluster configuration from a system when a cluster is no longer needed or must be rebuilt from scratch.
Prerequisites
-
You have root access or a non-root user account with
sudoprivileges. -
The
pcscommand-line tool is installed.
Removing the cluster configuration is irreversible. After completion, the node is no longer part of any cluster and cannot be recovered without reconfiguration.
Procedure
Optional: Stop the cluster cleanly on the node.
pcs cluster stop
# pcs cluster stopCopy to Clipboard Copied! Toggle word wrap Toggle overflow Stopping the cluster reduces the risk of incomplete cleanup.
Remove all cluster configuration and disable cluster services.
pcs cluster destroy
# pcs cluster destroyCopy to Clipboard Copied! Toggle word wrap Toggle overflow
Verification
Verify that cluster services are no longer running.
pcs status
# pcs statusCopy to Clipboard Copied! Toggle word wrap Toggle overflow If the cluster is removed successfully, the command reports that no cluster is configured.
Optional: Confirm that cluster services are stopped.
systemctl status pacemaker corosync
# systemctl status pacemaker corosyncCopy to Clipboard Copied! Toggle word wrap Toggle overflow Both services should be inactive or not found.