1KEEPALIVED(8) System Manager's Manual KEEPALIVED(8)
2
3
4
6 keepalived - load-balancing and high-availability service
7
8
10 keepalived [-f|--use-file=FILE] [-P|--vrrp] [-C|--check]
11 [-l|--log-console] [-D|--log-detail] [-S|--log-facility={0-7}]
12 [-V|--dont-release-vrrp] [-I|--dont-release-ipvs] [-R|--dont-respawn]
13 [-n|--dont-fork] [-d|--dump-conf] [-p|--pid=FILE] [-r|--vrrp_pid=FILE]
14 [-c|--checkers_pid=FILE] [-v|--version] [-h|--help]
15
16
18 Keepalived provides simple and robust facilities for load-balancing and
19 high-availability. The load-balancing framework relies on well-known
20 and widely used Linux Virtual Server (IPVS) kernel module providing
21 Layer4 load-balancing. Keepalived implements a set of checkers to
22 dynamically and adaptively maintain and manage load-balanced server
23 pool according their health. Keepalived also implements the VRRPv2
24 protocol to achieve high-availability with director failover.
25
26
28 -f, --use-file=FILE
29 Use the specified configuration file. The default configuration
30 file is "/etc/keepalived/keepalived.conf".
31
32 -P, --vrrp
33 Only run the VRRP subsystem. This is useful for configurations
34 that do not use IPVS load balancer.
35
36 -C, --check
37 Only run the healthcheck subsystem. This is useful for
38 configurations that use the IPVS load balancer with a single
39 director with no failover.
40
41 -l, --log-console
42 Log messages to the local console. The default behavior is to
43 log messages to syslog.
44
45 -D, --log-detail
46 Detailed log messages.
47
48 -S, --log-facility=[0-7]
49 Set syslog facility to LOG_LOCAL[0-7]. The default syslog
50 facility is LOG_DAEMON.
51
52 -V, --dont-release-vrrp
53 Don't remove VRRP VIPs and VROUTEs on daemon stop. The default
54 behavior is to remove all VIPs and VROUTEs when keepalived exits
55
56 -I, --dont-release-ipvs
57 Don't remove IPVS topology on daemon stop. The default behavior
58 it to remove all entries from the IPVS virtual server table on
59 when keepalived exits.
60
61 -R, --dont-respawn
62 Don't respawn child processes. The default behavior is to
63 restart the VRRP and checker processes if either process exits.
64
65 -n, --dont-fork
66 Don't fork the daemon process. This option will cause keepalived
67 to run in the foreground.
68
69 -d, --dump-conf
70 Dump the configuration data.
71
72 -p, --pid=FILE
73 Use specified pidfile for parent keepalived process. The default
74 pidfile for keepalived is "/var/run/keepalived.pid".
75
76 -r, --vrrp_pid=FILE
77 Use specified pidfile for VRRP child process. The default
78 pidfile for the VRRP child process is
79 "/var/run/keepalived_vrrp.pid".
80
81 -c, --checkers_pid=FILE
82 Use specified pidfile for checkers child process. The default
83 pidfile for the checker child process is
84 "/var/run/keepalived_checkers.pid".
85
86 -x, --snmp
87 Enable SNMP subsystem.
88
89 -v, --version
90 Display the version and exit.
91
92 -h, --help
93 Display this help message and exit.
94
95
97 keepalived.conf(5), ipvsadm(8)
98
99
101 This man page was written by Ryan O'Hara <rohara@redhat.com>
102
103
104
105 November 2012 KEEPALIVED(8)