Pacemaker utilizes an underlying cluster layer for two purposes:
Currently, only Corosync 2 and later is supported for this layer.
To add a new node:
Because the messaging and membership layers are the authoritative source for cluster nodes, deleting them from the CIB is not a complete solution. First, one must arrange for corosync to forget about the node (pcmk-1 in the example below).
Stop the cluster on the host to be removed. How to do this will vary with your operating system and installed versions of cluster software, for example, pcs cluster stop if you are using pcs for cluster management.
From one of the remaining active cluster nodes, tell Pacemaker to forget about the removed host, which will also delete the node from the CIB:
# crm_node -R pcmk-1
To replace an existing cluster node: