[Linux-HA] IPaddr/IPaddr2 shortcoming in heartbeat-2 Debian etch

Christian Balzer chibi at gol.com
Wed Oct 17 20:41:57 MDT 2007


Hello,

I'm trying to set up a LVS where the directors are also real-servers,
like in http://www.ultramonkey.org/3/topologies/sl-ha-lb-eg.html.
In fact I've done so successfully with pair of test machines running
Debian sid/lenny.

This configuration requires the Virtual IP to be present on a lo:
alias interface and using the heartbeat in sid this was no problem
with a line like:

testbox03 192.168.1.88/24/eth0 ldirectord::web

Using just the IP address would cause IPaddr to delete the lo:0 
interface, so including the interface is needed.

The etch heartbeat-2 package features an older IPaddr version
which obviously doesn't have the extended netmask/interface parsing
and while it will bring up the Virtual IP it will also remove it 
from the lo:0 interface. Trying to do this with IPaddr2 will hang
infinitely. The sid version of IPaddr2 does not hang, but also goes
wiping out the lo:0 definition.

Anything I'm missing here in terms of arcane and mysterious options?
Any way to get this fixed in etch? Any way to copy the sid IPaddr
to an etch system using a different name so that any updates don't
wipe it out (just copying it and it's ocf counterpart as  IPaddr3 did 
not work ;)?

And yes, I could of course bring up the lo:0 alias every time after 
a resource start/transition. But during that time the real-server of
that machine would be disrupted needlessly. So what I really need and
want is an IPaddr that does it's job on the interface it's told to and
only that one.

Regards,

Christian Balzer
-- 
Christian Balzer        Network/Systems Engineer                NOC
chibi at gol.com   	Global OnLine Japan/Fusion Network Services
http://www.gol.com/


More information about the Linux-HA mailing list