APPHBD(8) System administration utilitie APPHBD(8)NAME
apphbd - Application Heartbeat Monitor for High-Availability Linux
SYNOPSIS
apphbd [-srkdh] [-c file]
DESCRIPTION
Warning
apphbd is deprecated; its use is strongly discouraged. The functionality provided by apphbd has been replaced by resource-level
monitoring in Pacemaker.
/usr/lib/heartbeat/apphbd is a basic application heartbeat monitor daemon for Linux-HA. A group of Application Heartbeat APIs are defined
for this heartbeat monitoring service. Applications may register with the daemon in order to be monitored. If an application fails to send
a heartbeat within the specified interval, the daemon will log an event.
apphbd may use a watchdog timer to monitor itself.
apphbd extends its functionality by using plugins. A plugin, recmgr notifies the recovery manager daemon if certain events occur (e.g. an
application fails to heartbeat).
The Recovery Manager daemon (/usr/lib/heartbeat/recoverymgrd) receives notification from the recmgr plugin, then it tries to execute
recovery scripts as configured. See the recoverymgrd default configuration file, recoverymgrd.conf for details.
recoverymgrd registers itself with apphbd as a client application. apphbd should be started first with the recmgr plugin loaded. Then,
recoverymgrd should be configured and started
OPTIONS
The following options are supported:
-s
Show the status of apphbd, running or stopped.
-k
Stop (kill) the daemon.
-r
Restart the daemon. apphbd will reload its configuration file when restarted.
-d level
Set the debug level.
-h
Show a brief usage message.
-c file
Set an alternate configuration file. The default configuration file is ./apphbd.cf. For details on the file format and supported
options, refer to the example apphbd.cf file found in the documentation directory.
FILES
o /var/run/apphbd.pid - default PID file
o apphbd.cf - Default configuration file for apphbd. apphbd searches the file in its working directory.
o recoverymgrd.conf - default configuration file for recoverymgrd. recoverymgrd searches the file in its working directory. An
alternative configuration file may be specified on the command line.
o /usr/lib/heartbeat/plugins/AppHBNotification - directory containing plugins for apphbd.
SEE ALSO heartbeat(8)AUTHORS
Alan Robertson <alanr@unix.sh>
apphbd
Andrea Brugger <andrea.l.brugger@intel.com>
man page
Florian Haas <florian.haas@linbit.com>
man page
Heartbeat 3.0.5 November 26, 2009 APPHBD(8)
Check Out this Related 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)