aboutsummaryrefslogtreecommitdiffstats
path: root/main/ucarp/ucarp.confd
blob: 5ffec9fcd0b25f1bb989363f07317f20d0b30c95 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# /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"