crm

Pacemaker

/usr/sbin/crm_attribute -N node01 -n standby -v on -l forever
/usr/sbin/crm_attribute -N node01 -n standby -v off -l forever

crm resource list

crm resource restart db

# (re)configure
crm configure show
crm configure edit
crm configure commit

# migrate
crm_resource -r fs --migrate
crm_resource -r fs --clear

crm_resource -r fs --un-migrate

# restart resource
crm resource restart www1

# cleanup
crm_resource -r rsc -C -H node

crm_resource -C -r db -H node1
crm_resource -C -r db -H node2