LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Using ucarp (https://www.linuxquestions.org/questions/linux-server-73/using-ucarp-4175495468/)

massy 02-19-2014 01:48 AM

Using ucarp
 
I know how to config ucarp on my servers,
but I don't know how to connect them to each other
and I don't know:
what is necessary to add in /etc/vip-up.sh and
and /etc/vip-down.sh

pingu 02-19-2014 01:46 PM

A few tips:
You need to put same ID & password on all nodes in one group.
An example of /etc/ucarp/vip-001.conf - same on all hosts except SOURCE_ADDRESS!:
Code:

ID=001
SOURCE_ADDRESS=<ip-of-this-host>
VIP_ADDRESS=192.168.0.99
PASSWORD=incorrect

With this, the simplest configuration, you don't even need the vip-up/vip-down scripts.
All you do is: Create a config file on each host, then start ucarp (service ucarp start).
But mind you, ucarp does not work in all environments! You might have to configure switches to run in promiscuos mode for ucarp to function.


All times are GMT -5. The time now is 07:36 PM.