...
Code Block |
---|
|
pcs cluster auth ${KE_HOST1} ${KE_HOST2} -u hacluster -p fireball --force
pcs cluster setup --force --name portal ${KE_HOST1} ${KE_HOST2}
pcs cluster enable --all
pcs cluster start --all
pcs property set stonith-enabled=false
pcs property set no-quorum-policy=ignore
pcs resource defaults migration-threshold=1
|
Test
Check the results on both machines:
Code Block |
---|
|
pcs status
-->
Cluster name: portal
Stack: corosync
Current DC: uk-acd-store2 (version 1.1.16-12.el7_4.8-94ff4df) - partition with quorum
Last updated: Mon Mar 19 15:24:25 2018
Last change: Mon Mar 19 15:24:20 2018 by hacluster via crmd on uk-acd-store2
2 nodes configured
0 resources configured
Online: [ uk-acd-store1 uk-acd-store2 ]
No resources
Daemon Status:
corosync: active/enabled
pacemaker: active/enabled
pcsd: active/enabled |