Pacemaker
Pacemaker is....
Installing
apt-get install pacemaker pcs resource-agents
yum install pacemaker pcs resource-agents
Configuration
Add all hosts related to the cluster to /etc/hosts (including the host you're on, also remove any reference to localhost/ 127.0.0.1)
Set password for hacluster user:
passwd hacluster
authorise the nodes to be included in the cluster:
pcs host auth node01.srv.world node02.srv.world
start services for cluster:
pcs cluster start --all
enable services:
pcs cluster enable --all
Verify installation is working and nodes are connected:
pcs cluster status
pcs status corosync