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 194.78.160.194/29 on bond1.99 interface

crm(live)configure# primitive VIPNAME ocf:heartbeat:IPaddr2 params ip="194.78.160.194" 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+