[Linux-HA] /etc/ha.d/ressource.d/Ipaddr v.x.y.z failing
Henri David
henri.david at u-linktel.com
Fri Jun 8 05:10:10 MDT 2007
Ok got it :)
Thanks !
Specifying the nic in hb_gui solved my problem
Br,
Henri
> -----Original Message-----
> From: linux-ha-bounces at lists.linux-ha.org
> [mailto:linux-ha-bounces at lists.linux-ha.org] On Behalf Of
> Andrew Beekhof
> Sent: 08 June 2007 13:04
> To: General Linux-HA mailing list
> Subject: Re: [Linux-HA] /etc/ha.d/ressource.d/Ipaddr v.x.y.z failing
>
> the full usage of IPaddr should be:
> ip[/netmask[/nic[/broadcast]]]
>
> so you can specify everything about the IP
>
> On 6/8/07, Henri David <henri.david at u-linktel.com> wrote:
> > Hello,
> >
> > I have a problem with /etc/ha.d/resource.d/Ipaddr.
> > When heartbeat tries to bring up the ip address it fails if
> there is no
> > route the network the ip address is in, or if no other
> interface on the
> > box are configured within the same network (which I guess
> in the end is
> > the same as having this ip create a route to that subnet).
> As implied it
> > works ok if I add an interface in the same subnet first, or
> if I add a
> > default gw (even if this GW is not accesible with the current routes
> > ifaces configured on the box).
> >
> > Here is the log:
> > /etc/ha.d/resource.d/IPaddr 1.2.3.4 start
> > No route to 1.2.3.4
> > 2007/06/04_11:52:42 ERROR: /usr/lib/heartbeat/findif -C
> 1.2.3.4 failed
> > [1].
> > 2007/06/04_11:52:42 ERROR: IPaddr Generic error
> > ERROR: IPaddr Generic error
> >
> > We see here that findif fails to find the right interface.
> Is there a
> > way to get around that ? (like specifying the iface somewhere)
> >
> > That wouldn't be a problem if the IPs woudn't be public
> ones. Public IPs
> > are rare thing, I would like to avoid wasting one just to
> make findif
> > finding its way.
> >
> >
> > Thanks for your help !
> >
> > Henri
> >
> >
> > PS : I am runnning 2.0.7 on centos 4
> >
> > _______________________________________________
> > Linux-HA mailing list
> > Linux-HA at lists.linux-ha.org
> > http://lists.linux-ha.org/mailman/listinfo/linux-ha
> > See also: http://linux-ha.org/ReportingProblems
> >
> _______________________________________________
> Linux-HA mailing list
> Linux-HA at lists.linux-ha.org
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems
>
>
More information about the Linux-HA
mailing list