There are different ways to configure ucarp. The fastest way is to put the important configuration options in /etc/network/interfaces:

At the end of the interfaces-file insert this:

# id of the virtual ucarp-address. only needed if there are more then one client in same subnet;
ucarp-vid3 

# virtual ip shared between the different ucarp-clients
ucarp-vip xxx.xxx.xxx.xxx 

#password for secure ucarp
ucarp-password xxxxx

# interval for sending arpings between clients and servers; recovery time for clients if server is down;
ucarp-advskew 1
ucarp-advbase 3

# ucarp master or slave
ucarp-master yes/no

# ucarp virtual interface
iface eth0:ucarp inet static

address xxx.xxx.xxx.xxx<br>
netmask xxx.xxx.xxx.xxx

If there are more than one ucarp-client you only have to change the ucarp-vid. There are ways to configure ucarp with own start-/stop scripts. But in most cases this is the easiest and fastest way to administrate ucarp.

-- SebastianGleicher - 11 May 2012
Topic revision: r2 - 11 May 2012, CarstenAulbert
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback