Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

hb_standby(1) [debian man page]

HB_STANDBY(1)							 General commands						     HB_STANDBY(1)

NAME
hb_standby - issues a failover request to the cluster manager SYNOPSIS
hb_standby [all|foreign|local|failback] DESCRIPTION
Warning This command is deprecated. It is only suitable for legacy Heartbeat clusters without Pacemaker enabled. In Pacemaker-enabled clusters, the crm(8) shell supports switching individual nodes into standby mode, and replaces 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 OPTIONS
The following options are supported: local Migrates any resources that the local node is the preferred node for. When invoked on 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. When run on 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. foreign|failback Migrates any resources that the local node is not the preferred node for. When run on 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. When invoked on 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. all Migrates all resources to the other node. Invoking hb_standby without any options is identical to hb_standby all. 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) AUTHORS
Alan Robertson <alanr@unix.sh> hb_standby Guochun Shi <gshi@ncsa.uiuc.edu> man page Florian Haas <florian.haas@linbit.com> man page Heartbeat 3.0.5 November 26, 2009 HB_STANDBY(1)

Check Out this Related Man Page

CL_STATUS(1)							   User commands						      CL_STATUS(1)

NAME
cl_status - Check status of the High-Availability Linux (Linux-HA) subsystem SYNOPSIS
cl_status sub-command options parameters DESCRIPTION
cl_status is used to check the status of the High-Availability Linux subsystem. SUPPORTED SUB-COMMANDS hbstatus Indicate if heartbeat is running on the local system. listnodes List the nodes in the cluster. nodetype ping|normal List the nodes of the given type. Note Ping nodes are obsolete in Pacemaker cluster, having been replaced with the pingd resource agent. listhblinks node List the network interfaces used as heartbeat links. node should be specified as listed in the ha.cf(5) file for the cluster. hblinkstatus node link Show the status of a heartbeat link. node should be specified as listed in the ha.cf(5) file for the cluster. link should be as per the output of the listhblinks subcommand. clientstatus node client [timeout] Show the status of heartbeat clients. node and client should be specified as listed in the ha.cf(5) file for the cluster. Timeout is in milliseconds, the default is 100ms. rscstatus Show the status of cluster resources. Status will be one of: local, foreign, all or none. Note This option is deprecated, it is obsolete in Pacemaker clusters. parameter -p parameter Retrieve the value of cluster parameters. The parameters may be one of the following: apiauth, auto_failback, baud, debug, debugfile, deadping, deadtime, hbversion, hopfudge, initdead, keepalive, logfacility, logfile, msgfmt, nice_failback, node, normalpoll, stonith, udpport, warntime, watchdog. Note Some of these options are deprecated; see ha.cf(5) OPTIONS
The following options are supported by heartbeat: -m Make the output more human readable. The default output should be easier for scripts to parse. Available with all commands. -p List only 'ping' nodes. Available with listnodes sub-command. Note Ping nodes are obsolete in Pacemaker cluster, having been replaced with the pingd resource agent. -n List only 'normal' nodes. Available with listnodes sub-command. SEE ALSO
heartbeat(8), ha.cf(5), authkeys(5) AUTHORS
Alan Robertson <alanr@unix.sh> cl_status Juan Pedro Paredes Caballero <juampe@retemail.es> man page Simon Horman <horms@verge.net.au> man page Florian Haas <florian.haas@linbit.com> man page Heartbeat 3.0.5 24 Nov 2009 CL_STATUS(1)
Man Page