Scroll to navigation

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

NAME

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

Use the specified configuration file. The default configuration file is "/etc/keepalived/keepalived.conf".
Only run the VRRP subsystem. This is useful for configurations that do not use IPVS load balancer.
Only run the healthcheck subsystem. This is useful for configurations that use the IPVS load balancer with a single director with no failover.
Log messages to the local console. The default behavior is to log messages to syslog.
Detailed log messages.
Set syslog facility to LOG_LOCAL[0-7]. The default syslog facility is LOG_DAEMON.
Don't remove VRRP VIPs and VROUTEs on daemon stop. The default behavior is to remove all VIPs and VROUTEs when keepalived exits
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.
Don't respawn child processes. The default behavior is to restart the VRRP and checker processes if either process exits.
Don't fork the daemon process. This option will cause keepalived to run in the foreground.
Dump the configuration data.
Use specified pidfile for parent keepalived process. The default pidfile for keepalived is "/var/run/keepalived.pid".
Use specified pidfile for VRRP child process. The default pidfile for the VRRP child process is "/var/run/keepalived_vrrp.pid".
Use specified pidfile for checkers child process. The default pidfile for the checker child process is "/var/run/keepalived_checkers.pid".
Enable SNMP subsystem.
Display the version and exit.
Display this help message and exit.

SEE ALSO

keepalived.conf(5), ipvsadm(8)

AUTHOR

This man page was written by Ryan O'Hara <rohara@redhat.com>

November 2012