Visit Our UNIX and Linux User Community

Linux and UNIX Man Pages

Test Your Knowledge in Computers #462
Difficulty: Medium
NTPv4 introduced a 256-bit date format: 128 bits for the second and 128 bits for the fractional-second.
True or False?
Linux & Unix Commands - Search Man Pages

keepalived(8) [centos man page]

KEEPALIVED(8)						      System Manager's Manual						     KEEPALIVED(8)

keepalived - load-balancing and high-availability service SYNOPSIS
keepalived [-f|--use-file=FILE] [-P|--vrrp] [-C|--check] [-l|--log-console] [-D|--log-detail] [-S|--log-facility={0-7}] [-V|--dont-release-vrrp] [-I|--dont-release-ipvs] [-R|--dont-respawn] [-n|--dont-fork] [-d|--dump-conf] [-p|--pid=FILE] [-r|--vrrp_pid=FILE] [-c|--checkers_pid=FILE] [-v|--version] [-h|--help] DESCRIPTION
Keepalived provides simple and robust facilities for load-balancing and high-availability. The load-balancing framework relies on well-known and widely used Linux Virtual Server (IPVS) kernel module providing Layer4 load-balancing. Keepalived implements a set of checkers to dynamically and adaptively maintain and manage load-balanced server pool according their health. Keepalived also implements the VRRPv2 protocol to achieve high-availability with director failover. OPTIONS
-f, --use-file=FILE Use the specified configuration file. The default configuration file is "/etc/keepalived/keepalived.conf". -P, --vrrp Only run the VRRP subsystem. This is useful for configurations that do not use IPVS load balancer. -C, --check Only run the healthcheck subsystem. This is useful for configurations that use the IPVS load balancer with a single director with no failover. -l, --log-console Log messages to the local console. The default behavior is to log messages to syslog. -D, --log-detail Detailed log messages. -S, --log-facility=[0-7] Set syslog facility to LOG_LOCAL[0-7]. The default syslog facility is LOG_DAEMON. -V, --dont-release-vrrp Don't remove VRRP VIPs and VROUTEs on daemon stop. The default behavior is to remove all VIPs and VROUTEs when keepalived exits -I, --dont-release-ipvs Don't remove IPVS topology on daemon stop. The default behavior it to remove all entries from the IPVS virtual server table on when keepalived exits. -R, --dont-respawn Don't respawn child processes. The default behavior is to restart the VRRP and checker processes if either process exits. -n, --dont-fork Don't fork the daemon process. This option will cause keepalived to run in the foreground. -d, --dump-conf Dump the configuration data. -p, --pid=FILE Use specified pidfile for parent keepalived process. The default pidfile for keepalived is "/var/run/". -r, --vrrp_pid=FILE Use specified pidfile for VRRP child process. The default pidfile for the VRRP child process is "/var/run/". -c, --checkers_pid=FILE Use specified pidfile for checkers child process. The default pidfile for the checker child process is "/var/run/". -v, --version Display the version and exit. -h, --help Display this help message and exit. SEE ALSO
keepalived.conf(5), ipvsadm(8) AUTHOR
This man page was written by Ryan O'Hara <> November 2012 KEEPALIVED(8)

Check Out this Related Man Page

CYRMASTER(8)						      System Manager's Manual						      CYRMASTER(8)


cyrmaster - master Cyrus process SYNOPSIS
cyrmaster [ -C alternate imapd.conf ] [ -M alternate cyrus.conf ] [ -l listen queue ] [ -p pidfile ] [ -P snmp agentx ping interval ] [ -j janitor period ] [ -d ] [ -D ] [ -x snmp agentx socket ] DESCRIPTION
cyrmaster is the process that controls all of the Cyrus processes. This process is responsible for creating all imapd, pop3d, lmtpd and sieved child processes. This process also initializes the Berkeley DB code and performs scheduled cleanup/maintenance. If this process dies, then no new sessions will be started. It kills itself and all child processes when it receives a SIGTERM. OPTIONS
-C alternate imapd.conf Specifies an alternate imapd.conf for use by cyrmaster (note that this will not affect any sub-processes spawned by cyrmaster, you should specify those specifically in the respective entries in cyrus.conf). -M alternate cyrus.conf Specifies an alternate cyrus.conf for use by cyrmaster. -l listen queue backlog Increase the listen queue backlog. By default, the listen queue is set to 32. On systems with a high connection rate, it may be desirable to increase this value. refer to listen(2) for details. -j janitor full-sweeps per second Sets the amount of times per second the janitor should sweep the entire child table. Leave it at the default of 1 unless you have a really high fork rate (and you have not increased the child hash table size when you compiled Cyrus from its default of 10000 entries). -p pidfile Use pidfile as the pidfile. If not specified, defaults to /var/run/ -P snmp agentx ping interval Sets the amount on time in seconds the subagent will try and reconnect to the master agent (snmpd) if it ever becomes (or starts) disconnected. Requires net-snmp 5.0 or higher. -d Start in daemon mode (run in background and disconnect from controlling terminal). -D Don't close stdin/stdout/stderr. Primiarly useful for debugging. -x snmp agentx socket Address the master agent (most likely snmpd) listens on. Requires net-snmp 5.0 or higher. CONFIGURATION
Upon execution, cyrmaster reads its configuration information out of the cyrus.conf(5) file. cyrmaster rereads its configuration file when it receives a hangup signal, SIGHUP. Services and events may be added, deleted or modified when the configuration file is reread. Any active services removed from the configuration file will be allowed to run until completion. NOTES
The environment variable CYRUS_VERBOSE can be set to log additional debugging information. Setting the value to 1 results in base level logging. Setting it higher results in more log messages being generated. BUGS
Services do not always go away silently when removed through a SIGHUP. If there are workers of the removed service still running, messages to syslog about broken pipes and accept() failures are to be expected. The in-memory list of services is not cleaned up ever, so a cyrmaster daemon that has been sent an extremely high amount of SIGHUP signals to add/remove/modify services will lose performance eventually. Restarting cyrmaster fixes this. FILES
/etc/cyrus.conf, /etc/imapd.conf, /var/run/ SEE ALSO
cyrus.conf(5), imapd.conf(5), imapd(8), pop3d(8), lmtpd(8), timsieved(8), idled(8) CMU
Project Cyrus CYRMASTER(8)

Featured Tech Videos