aboutsummaryrefslogtreecommitdiffstats
path: root/main/ucarp/ucarp.confd
diff options
context:
space:
mode:
Diffstat (limited to 'main/ucarp/ucarp.confd')
-rw-r--r--main/ucarp/ucarp.confd41
1 files changed, 29 insertions, 12 deletions
diff --git a/main/ucarp/ucarp.confd b/main/ucarp/ucarp.confd
index 824358b430..5ffec9fcd0 100644
--- a/main/ucarp/ucarp.confd
+++ b/main/ucarp/ucarp.confd
@@ -1,13 +1,30 @@
-# Things you can set here
-# REALIP - if not set, will be first addr on iface
-# VHID - Virtual Server ID
-# VIP - The Virtual IP
-# PASSWORD - The password for the carp announcements
-# EXTRA_ARGS - extra arguments
-
-REALIP=
-VHID=2
-VIP=127.0.0.1
-PASSWORD=SecretPassword
-#EXTRA_ARGS="--neutral --advbase=3"
+# /etc/conf.d/ucarp: config file for /etc/init.d/ucarp
+# The network interface to bind to, for example 'eth0'
+UCARP_INTERFACE=
+
+# The persistent source address, (real IP), associated with this interface.
+UCARP_SOURCEADDRESS=
+
+# The IP address of the virtual server.
+UCARP_VIRTUALADDRESS=
+
+# The prefix length of the virtual server IP address
+# For example 24 for a netmask of 255.255.255.0
+UCARP_VIRTUALPREFIX=
+
+# The id of the virtual server [1-255].
+UCARP_VHID=123
+
+# File to read the shared password from.
+UCARP_PASSFILE=/etc/ucarp/ucarp.pass
+
+# Specifies the command to run after ucarp has successfully become master.
+UCARP_UPSCRIPT=/etc/ucarp/vip-up-default.sh
+
+# Specifies the command that is run after ucarp has transitioned to the backup
+# state.
+UCARP_DOWNSCRIPT=/etc/ucarp/vip-down-default.sh
+
+# Additional ucarp options to pass
+UCARP_OPTS="--shutdown"