powermac:~ andrew$ crm_standby --help
usage: crm_standby [-?V] -(u|U) -(D|G|v) [-l]
Options
--help (-?) : this help message
--verbose (-V) : turn on debug info. additional instances increase verbosity
--quiet (-Q) : Print only the value on stdout (use with -G)
--get-value (-G) : Retrieve rather than set the attribute
--delete-attr (-D) : Delete rather than set the attribute
--attr-value (-v) <string> : Value to use (ignored with -G)
--node-uuid (-u) <node_uuid> : UUID of the node to change
--node-uname (-U) <node_uuid> : uname of the node to change
--lifetime (-l) <string> : How long the preference lasts (reboot|forever)
If a forever value exists, it is ALWAYS used by the CRM
instead of any reboot value
Examples
Putting a node into standby mode
crm_standby -U c001n02 -v on
Putting a node into normal mode
crm_standby -U c001n02 -v off
Checking the node's standby status
crm_standby -G -U c001n02
Removing a node's standby setting (also returns it to active mode)
crm_standby -D -U c001n02