Maxscale and pacemaker on centos 7
Install packages on both nodes
sudo yum install corosync pcs pacemaker maxscale
Set the password for the hacluster user [both nodes]
sudo passwd hacluster
Start the pcs daemon service [both nodes]
sudo systemctl start pcsd
Authenticate the cluster
sudo pcs cluster auth node01.domain.local node02.domain.local
Create cluster