
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
例
ノードをスタンバイモードに設定
crm_standby -U c001n02 -v on
ノードをノーマルモードに設定
crm_standby -U c001n02 -v off
ノードのスタンバイステータスをチェック
crm_standby -G -U c001n02
ノードのスタンバイ設定を削除(その上でアクティブモードに戻す)
crm_standby -D -U c001n02
This information provided courtesy of the Linux-HA project at http://linux-ha.org/