Created
February 15, 2020 13:38
-
-
Save Nurlan199206/03043f67027c6ce5788245ef53f6d195 to your computer and use it in GitHub Desktop.
Pacemaker Corosync commands
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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