Chapter 32. 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 sudo privileges.
  • The pcs command-line tool is installed.
Important

Removing the cluster configuration is irreversible. After completion, the node is no longer part of any cluster and cannot be recovered without reconfiguration.

Procedure

  1. Optional: Stop the cluster cleanly on the node.

    # pcs cluster stop
    Copy to Clipboard Toggle word wrap

    Stopping the cluster reduces the risk of incomplete cleanup.

  2. Remove all cluster configuration and disable cluster services.

    # pcs cluster destroy
    Copy to Clipboard Toggle word wrap

Verification

  1. Verify that cluster services are no longer running.

    # pcs status
    Copy to Clipboard Toggle word wrap

    If the cluster is removed successfully, the command reports that no cluster is configured.

  2. Optional: Confirm that cluster services are stopped.

    # systemctl status pacemaker corosync
    Copy to Clipboard Toggle word wrap

    Both services should be inactive or not found.

Red Hat logoGithubredditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust. Explore our recent updates.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

Theme

© 2026 Red Hat
Back to top