]>
Commit | Line | Data |
---|---|---|
bd9e9bfb | 1 | # options for ucarp instance |
2 | #### | |
3 | # Available options (--daemonize is added by default, --addr= is generated | |
4 | # from the name of this file) : | |
5 | # | |
6 | # --interface=<if> (-i <if>): bind interface <if> | |
7 | # --srcip=<ip> (-s <ip>): source (real) IP address of that host | |
8 | # --vhid=<id> (-v <id>): virtual IP identifier (1-255) | |
9 | # --pass=<pass> (-p <pass>): password | |
10 | # --passfile=<file> (-o <file>): read password from file | |
11 | # --preempt (-P): becomes a master as soon as possible | |
12 | # --neutral (-n): don't run downscript at start if backup | |
13 | # --help (-h): summary of command-line options | |
14 | # --advbase=<seconds> (-b <seconds>): advertisement frequency | |
15 | # --advskew=<skew> (-k <skew>): advertisement skew (0-255) | |
16 | # --upscript=<file> (-u <file>): run <file> to become a master | |
17 | # --downscript=<file> (-d <file>): run <file> to become a backup | |
18 | # --deadratio=<ratio> (-r <ratio>): ratio to consider a host as dead | |
19 | # --shutdown (-z): call shutdown script at exit | |
20 | # --ignoreifstate (-S): ignore interface state (down, no carrier) | |
21 | # --nomcast (-M): use broadcast (instead of multicast) advertisements | |
22 | # --facility=<facility> (-f): set syslog facility (default=daemon) | |
23 | # --xparam=<value> (-x): extra parameter to send to up/down scripts | |
24 | ||
25 | # make sure to specify at least --srcip, --vhid and --pass (or --passfile), | |
26 | # --upscript and --downscript | |
27 | ||
28 | #UCARP_OPTS="--upscript=/etc/ucarp/vip-up.sh --downscript=/etc/ucarp/vip-down.sh" |