RE: Heartbeat Error

To: " users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>, "Horms" <horms@xxxxxxxxxxxx>
Subject: RE: Heartbeat Error
From: "Brad Taylor" <btaylor@xxxxxxxxxxxx>
Date: Wed, 27 Sep 2006 23:20:46 -0400
OK, I've changed my haresources file to use eth0 and not eth0:0:

SBLB-Master IPaddr2::

All on one line.

[root@SBLB-Master ~]# service heartbeat start
logd is already running
Starting High-Availability services:
2006/09/27_23:00:25 INFO: IPaddr2 Resource is stopped
                                                           [  OK  ]

Why do I get IPaddr2 Resource is stopped? How any I check what heartbeat
version I'm running?

I'm having a lot of troubles with IPaddr2.

-----Original Message-----
From: Horms [mailto:horms@xxxxxxxxxxxx] 
Sent: Wednesday, September 27, 2006 9:37 PM
To: Brad Taylor
Cc: users mailing list.
Subject: Re: Heartbeat Error

On Wed, Sep 27, 2006 at 01:52:15PM -0400, Brad Taylor wrote:
> I can't use eth0, eth0 is the server IP address and not the VIP. If I
> can't use eth0:0 where do I put the VIP?

I'm not sure I understand the question. IPaddr2 uses ip to configure
addresses, and in ip speak an interface can have as many addresses
as you like. So you should be able to add eth0 regardless of if
it already has the server IP or not.


ip addr show eth0
ip addr add dev eth0
ip addr add dev eth0
ip addr show eth0
ip addr del dev eth0
ip addr del dev eth0
ip addr show eth0

Note that ifconfig can't see addresses added this way,
though ip addr show can see addresses added using ifconfig (or IPaddr).

There were some bugs in IPaddr2 around 2.0.6 which were fixed for 2.0.7.
Though there is a possibility that 2.0.7 features new and uncharted

> -----Original Message-----
> From: Horms [mailto:horms@xxxxxxxxxxxx] 
> Sent: Monday, July 03, 2006 6:25 AM
> To: users mailing list.
> Cc: Brad Taylor
> Subject: Re: Heartbeat Error
> Brad Taylor you wrote:
> > This is my haresources file:
> > 
> > SBLB-Master.localdomain IPaddr2::
> > squid
> > 
> > All on one line.
> > 
> > The problem with IPaddr2 is talked about here but didn't seem to get
> > fixed:
> >
> > l
> > 
> > Any ideas on how I could get this to work?
> Ouch, findif is such an abomination. I wish it never existed.
> However, eth0:0 isn't reall a valid address in terms of IPaddr2,
> as it relies on the "ip" command, where the notion of ip aliases
> is gone. Instead an interface just has primary and secondary
> Am I missing someting, or will the problem go away if you just
> specify eth0 instead of eth0:0 ?


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