# options for ucarp instance #### # Available options (--daemonize is added by default, --addr= is generated # from the name of this file) : # # --interface= (-i ): bind interface # --srcip= (-s ): source (real) IP address of that host # --vhid= (-v ): virtual IP identifier (1-255) # --pass= (-p ): password # --passfile= (-o ): read password from file # --preempt (-P): becomes a master as soon as possible # --neutral (-n): don't run downscript at start if backup # --help (-h): summary of command-line options # --advbase= (-b ): advertisement frequency # --advskew= (-k ): advertisement skew (0-255) # --upscript= (-u ): run to become a master # --downscript= (-d ): run to become a backup # --deadratio= (-r ): ratio to consider a host as dead # --shutdown (-z): call shutdown script at exit # --ignoreifstate (-S): ignore interface state (down, no carrier) # --nomcast (-M): use broadcast (instead of multicast) advertisements # --facility= (-f): set syslog facility (default=daemon) # --xparam= (-x): extra parameter to send to up/down scripts # make sure to specify at least --srcip, --vhid and --pass (or --passfile), # --upscript and --downscript #UCARP_OPTS="--upscript=/etc/ucarp/vip-up.sh --downscript=/etc/ucarp/vip-down.sh"