Posts /

CoroSync - Snippets

Twitter Facebook Google+
07 Oct 2016
Get resources status
crm resource status
Enter CRM configuration shell
crm configure

Inside the configuration shell

Add a vIP

Adding the ip on bond1.99 interface

crm(live)configure# primitive VIPNAME ocf:heartbeat:IPaddr2 params ip="" nic="bond1.99" cidr_netmask="29" op monitor interval="30s" timeout="30s"

Edit the XML configuration file

crm(live)configure# edit
Verify the XML file after a manual editing
crm(live)configure# verify
Commit the XML modifications
crm(live)configure# commit

Twitter Facebook Google+