File: README.Debian

package info (click to toggle)
ucarp 1.5.2-2.2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 2,332 kB
  • sloc: sh: 9,360; ansic: 2,870; makefile: 127; sed: 16
file content (49 lines) | stat: -rw-r--r-- 1,852 bytes parent folder | download | duplicates (5)
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
ucarp for Debian
----------------

The recommended method for configuring ucarp is via 
/etc/network/interfaces. For example:

iface eth0 inet static
	address 10.0.0.2
	netmask 255.255.255.0
	ucarp-vid 3
	ucarp-vip 10.0.0.1
	ucarp-password 16charsatmost
	ucarp-advskew 0
	ucarp-advbase 1
	ucarp-master yes
iface eth0:ucarp inet static
	address 10.0.0.1
	netmask 255.255.255.255

In the above example, ucarp will be started when eth0 is brought up, using
a vid of 3 and a password of 16charsatmost with a virtual IP of 10.0.0.1. 
When ucarp determines that this host is the master eth0:ucarp will be 
brought up - you can use the normal pre-up/up stanzas in 
/etc/network/interfaces if you have extra things to do when the virtual 
IP comes up.

You can also override the default up/down scripts (defaults to 
/usr/share/ucarp/vip-{down,up}) by using the ucarp-upscript and
ucarp-downscript options. Note that you must ensure your scripts take
care of bringing the virtual IP up and down if you do this.

The full list of configurable values follows, see ucarp(8) for a
complete description of the corresponding command arguments.

config directive  | ucarp command argument  | required
------------------+-------------------------+---------
ucarp-vid         | -v/--vhid               | yes
ucarp-vip         | -a/--addr               | yes
ucarp-password    | -p/--pass               | yes
ucarp-downscript  | -d/--downscript         | no
ucarp-upscript    | -u/--upscript           | no
ucarp-advskew     | -k/--advskew            | no
ucarp-advbase     | -b/--advbase            | no
ucarp-master      | -P/--preempt            | no
ucarp-deadratio   | -r/--deadratio          | no
ucarp-nomcast     | -M/--nomcast            | no
ucarp-xparam      | -x/--xparam             | no

 -- Eric Evans <eevans@debian.org>  Sat, 25 Jul 2009 16:56:39 +0000