Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save jclaret/b0273238668f42f1661613fc868b4b37 to your computer and use it in GitHub Desktop.
Save jclaret/b0273238668f42f1661613fc868b4b37 to your computer and use it in GitHub Desktop.
pcs cluster start
pcs cluster stop clu01.local.net
pcs cluster stop --all
pcs cluster start --all
pcs cluster enable
pcs cluster disable clu01.local.net
pcs cluster disable --all
pcs cluster node remove clu03.local.net
pcs stonith delete clu03.local.net
firewall-cmd --permanent --add-service=high-availability
firewall-cmd --reload
yum install pcs fence-agents-all
systemctl enable pcsd
systemctl start pcsd
echo password | passwd --stdin hacluster
pcs cluster auth -u hacluster clu03.local.net
pcs cluster node add clu03.local.net
pcs cluster auth -u hacluster
pcs cluster enable
pcs cluster start
pcs status
pcs stonith create fence_noded ...
pcs stonith show
pcs cluster node add clu03.local.net
pcs cluster auth
pcs cluster start clu03.local.net
pcs cluster enable clu03.local.net
pcs cluster standby clu03.local.net
pcs cluster standby --all
pcs cluster unstandby --all
pcs status cluster
pcs status groups
pcs status resources
pcs status nodes
pcs status corosync
pcs status pcsd
corosync-quorumtool
corosync-quorumtool -m (listen for changes) or
watch -n1 corosync-quorumtool
firewall-cmd --remove-service=high-availability
poweroff
pcs cluster stop --all
vi /etc/corosync/corosync.conf
> last_man_standing: 1
> auto_tie_breaker: 1
> wait_for_all: 1
pcs cluster sync
pcs cluster start --all
corosync-quorumtool
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment