HA_LOGD(8) System administration utilitie HA_LOGD(8)NAME
ha_logd - Logging Daemon for High-Availability Linux
SYNOPSIS
ha_logd [-s] [-k] [-d] [-h] [-c file]
DESCRIPTION
ha_logd is a logging daemon for Linux-HA. It receives messages from a local domain socket /var/lib/heartbeat/log_daemon, and writes them to
appropriate files and syslog if enabled. The reason for utilizing this logging daemon is that occasionally Heartbeat suffers from disk I/O
delays. By sending log messages to a logging daemon, heartbeat can avoid such I/O delays.
OPTIONS
The following options are supported:
-s
Show ha_logd status (either running or stopped)
-k
Stop (kill) the daemon
-d
Daemonize (without this option, ha_logd will run in the foreground)
-h
Show a brief usage message
-c file
Configuration file. You may configure a regular log file, debug log file, log facility, and entity. For details, see the example
ha_logd.cf file found in the documentation.
FILES
o /var/run/ha_logd.pid - PID file
o ha_logd.cf - example configuration file
SEE ALSO heartbeat(8), ha_logger(1)AUTHORS
Alan Robertson <alanr@unix.sh>
ha_logd
Guochun Shi <gshi@ncsa.uiuc.edu>
ha_logd
Marowsky-Bree Lars <lmb@suse.de>
ha_logd
Florian Haas <florian.haas@linbit.com>
man page
cluster-glue 1.0.5 December 8, 2009 HA_LOGD(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)