Welcome to FreeSoftwareServers Confluence Wiki

Disable SELinux

Enable HA in Firewall

On Both Nodes:

hostnamectl set-hostname $(uname -n | sed s/\\..*//)
yum install -y pcs policycoreutils-python psmisc
echo "passwd" | passwd hacluster --stdin
systemctl start pcsd.service
systemctl enable pcsd.service

On Node1:

pcs cluster auth node1 node2 -u hacluster -p passwd
pcs cluster setup --force --name mysql_cluster node1 node2
pcs cluster start --all


Need to disable STONITH/QUORUM to get Cluster online 

pcs status
pcs property set stonith-enabled=false
pcs property set no-quorum-policy=ignore
pcs resource defaults resource-stickiness=100
pcs resource defaults migration-threshold=10

Check Cluster Status:


watch pcs status



  • No labels