LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: heartbeat tries to use lo:0 instead of eth0

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: heartbeat tries to use lo:0 instead of eth0
From: Horms <horms@xxxxxxxxxxxx>
Date: Tue, 25 Feb 2003 21:12:24 +0900
On Tue, Feb 25, 2003 at 12:17:11PM +0100, Uwe Kruse wrote:
> Wrong Interface for VIP:
> 
> heartbeat: 2003/02/25_12:11:10 info: Removing conflicting loopback lo:0.
> heartbeat: 2003/02/25_12:11:10 info: /sbin/ifconfig lo:0 down
> heartbeat: 2003/02/25_12:11:10 info: /sbin/route -n del -host 172.20.1.166
> heartbeat: 2003/02/25_12:11:10 info: /sbin/ifconfig lo:0 172.20.1.166 netmask 
> 255.255.255.255   broadcast 172.20.1.166
> 
> I think, this should be eth0:0, not lo:0.
> 
> heartbeat: 2003/02/25_12:11:10 ERROR: Could not locate obtain hardware 
> address for lo
> heartbeat: 2003/02/25_12:11:10 warning: Return code 1 from 
> /etc/ha.d/resource.d/IPaddr

Which version of heartbeat are you using? You should get the latest
1.0.1 if you have not done so already.

What does your routing table look like? the IPaddr resource for
hearbteat tries to work out which real interface to add a virtual
interface for the VIP on based on the kernel routing table.
If is routed out 172.20.1.166 after the conflicing looback on
lo:0 is down, then the interface will be brought up on lo:0
instead of eth0:0. I suspect that this is what is happening.

Please send heartbeat questions to the linux-ha or linux-ha-dev
mailing list. You can find out information on these lists
on www.linux-ha.org.

-- 
Horms
<Prev in Thread] Current Thread [Next in Thread>