buy tb500

Archive for May, 2020

Pacemaker (pcs) commands

Thursday, May 28th, 2020

to delete cluster # pcs cluster destory

to remove node # pcs cluster node remove node

to cleanup errors in cluster # pcs resource cleanup

to list constraint # pcs constraint list –full

to remove constraint # pcs constraint remove constraintName for example pcs constraint remove cli-ban-test_sg-on-server01-cpn

to Add constraint

pcs constraint colocation add VirtualIP with HAProxy with mariadb score=INFINITY

or

pcs constraint colocation set VirtualIP HAProxy mariadb