GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  HB_STANDBY (1)

NAME

hb_standby - hb_standby is a simple linux-ha shell script. It issues a failover from the node where it is running to the other node, if available.

CONTENTS

Synopsis
Description
Caveats
See Also
Documentation
Authors

SYNOPSIS

hb_standby [all|foreign|local|failback]

DESCRIPTION

The full path is usually /usr/lib/heartbeat/hb_standby. To get a list of the options to hb_standby issue the command, "/usr/lib/heartbeat/hb_standby --help" . NOTE: For historical reasons, unlike most scripts where failure to specify an option gives you the list of possible options, failure to provide an option to hb_standby is equivalent to "hb_standby all".

The meaning of the options is relative. For this sample haresources file:

nodea drbddisk::r0 Filesystem::/dev/drbd0::/local/groups::ext3 10.0.0.1 smb

nodeb drbddisk::r1 Filesystem::/dev/drbd1::/local/ldap::ext3 10.0.0.2 ldap

hb_standby local
  When run on nodea, means migrate any resources that nodea is the preferred node for. In this case Samba would be shutdown, the IP address 10.0.0.1 would be released, /local/groups would be unmounted, /dev/drbd0 would be placed into secondary and nodeb would take all these services over. When run on nodeb, OpenLDAP would shutdown, 10.0.0.2 would be released, /local/ldap would be unmounted, /dev/drbd1 would be placed into Secondary mode and nodea would take over all these services.

hb_standby foreign
  When run on nodea, means migrate any resources that nodea is NOT the preferred node for. In this case OpenLDAP would shutdown, 10.0.0.2 would be released, /local/ldap would be unmounted, /dev/drbd1 would be placed into Secondary mode and nodeb would take over all these services. When run on nodeb, Samba would be shutdown, the IP address 10.0.0.1 would be released, /local/groups would be unmounted, /dev/drbd0 would be placed into secondary and nodea would take all these services over.

hb_standby all
  Regardless of which node it’s run on means to release all resources so the other node takes over all resources.

hb_standby
  Without an argument is the same as "hb_standby all"

hb_standby failback
  Same as "hb_standby foreign"

CAVEATS

hb_standby is only usable in R1-style configurations (i.e., those configured using the haresources file).

SEE ALSO

hb_takeover(1), heartbeat(8), cl_status(1)

DOCUMENTATION

More information may be found at http://linux-ha.org/hb_standby

AUTHORS

linux-ha -- Alan Robertson <alanr@unix.sh> et al.

man page -- Guochun Shi <gshi@ncsa.uiuc.edu>

Search for    or go to Top of page |  Section 1 |  Main Index


--> HB_STANDBY (1) 9th August 2005

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.