This site best when viewed with a modern standards-compliant browser. We recommend Firefox Get Firefox!.

Linux-HA project logo
Providing Open Source High-Availability Software for Linux and other OSes since 1999.

USA Flag UK Flag

Japanese Flag

Homepage

About Us

Contact Us

Legal Info

How To Contribute

Security Issues

21 December 2007 Heartbeat release 2.1.3 is now out Download it and install it!

11 October 2007 NEW educational HA/DR Blog hosted by Alan Robertson

9 April 2007 Check out the Cool Heartbeat Screencasts: Installation, Intro to the GUI Part of the Heartbeat Education project

Last site update:
2008-05-09 20:56:33

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

  1. Putting a node into standby mode

    crm_standby -U c001n02 -v on
  2. Putting a node into normal mode

    crm_standby -U c001n02 -v off
  3. Checking the node's standby status

    crm_standby -G -U c001n02
  4. Removing a node's standby setting (also returns it to active mode)

    crm_standby -D -U c001n02