hb_standby — issues a failover request to the cluster manager
hb_standby [all|foreign|local|failback]hb_standby./usr/share/heartbeat/hb_standby issues a
request to the cluster to move resources from the node where it is
invoked, to the other node (if it is currently available). The
meaning of the options is relative. This manual assumes the
following configuration to be present in
/etc/ha.d/haresources:alice drbddisk::r0 Filesystem::/dev/drbd0::/local/groups::ext3 10.0.0.1 smb bob drbddisk::r1 Filesystem::/dev/drbd1::/local/ldap::ext3 10.0.0.2 ldap
alice, Samba would be
shut down, the IP address 10.0.0.1 would be released,
/local/groups would be unmounted,
/dev/drbd0 would be placed into the
secondary role and bob would take all these
services over.bob, OpenLDAP would shut
down, 10.0.0.2 would be released,
/local/ldap would be unmounted,
/dev/drbd1 would be placed into the
Secondary role and alice would take over all
these services.alice, OpenLDAP would shut
down, 10.0.0.2 would be released,
/local/ldap would be unmounted,
/dev/drbd1 would be placed into the
Secondary role and bob would take over all
these services.bob, Samba would be
shut down, the IP address 10.0.0.1 would be released,
/local/groups would be unmounted,
/dev/drbd0 would be placed into the
secondary role and alice would take all these
services over.hb_standby without any options
is identical to
hb_standby all.hb_standby is only usable in R1-style
configurations (i.e., those configured using the
haresources file).