Skip to content

Instantly share code, notes, and snippets.

@Nurlan199206
Created February 15, 2020 13:38
Show Gist options
  • Save Nurlan199206/03043f67027c6ce5788245ef53f6d195 to your computer and use it in GitHub Desktop.
Save Nurlan199206/03043f67027c6ce5788245ef53f6d195 to your computer and use it in GitHub Desktop.
Pacemaker Corosync commands
pcs cluster auth 192.168.0.116 192.168.0.117 -u hacluster -p 123 --force
pcs cluster setup --force --name pacemaker1 192.168.0.116 192.168.0.117
pcs status
pcs resource create VirtualIP ocf:heartbeat:IPaddr2 ip=192.168.0.120 cidr_netmask=24 op monitor interval=30s
pcs resource delete VirtualIP
pcs resource status
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment