I'm trying to set up HA on an ubuntu cluster. The docs are fairly 
comprehensive, but I still can't make sufficient sense out of them or find any 
sufficiently matching examples.
My scenario is pretty standard - two nodes running pound and HA managing two 
floating IPs between the two. I'm using the stock Ubuntu 2.1.4 package with an 
HA 1.0 style config. The main thing I can't quite figure out is exactly what to 
do with the floating IPs. As far as I can see, the floating IPs are purely 
resources to be shared by my nodes and as such are not nodes themselves, and 
don't need to appear in ha.cf. Having said that, I have use of another HA 
config done by someone else that lists a floating IP as a node and ucast, and 
it works fine, which has me confused.

Say that my two nodes are 192.158.1.1 and 192.168.1.2, call them www1 and www2, 
and my floating IPs are 192.168.1.3 and 192.168.1.4.

So far my ha.cf looks like this:

node www1 www2
ucast eth0 192.158.1.1
ucast eth0 192.158.1.2
deadtime 5
deadping 5
debug 0

and haresources looks like this:

www1 192.158.1.3
www1 192.158.1.4

I've added this to my /etc/sysctl.conf, which was apparently necessary to allow 
the floating IPs to exist:
net.ipv4.ip_nonlocal_bind=1

Does all that look right? Anything I've missed? Do the floating IPs need to 
appear in ha.cf as ucast lines (like my other setup)? Is my other setup wrong?

Thanks,

Marcus
-- 
Marcus Bointon
Synchromedia Limited: Creators of http://www.smartmessages.net/
UK resellers of i...@hand CRM solutions
[email protected] | http://www.synchromedia.co.uk/


_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to