Hi,

On Wed, Sep 22, 2010 at 11:39:18AM -0300, Henrique Fernandes wrote:
> Ok, thanks,
> 
> I am using heartbeat 2.1.3 on a CentOS release 5.5 (Final)

Oh, please upgrade as soon as you can, version 2.1.3 is quite old
and you won't get much support for it. Pacemaker is what used to
be heartbeat v2. There's an upgrade documentation at
http://www.linux-ha.org/doc/

> And i using crm respaw, i guess it uses peacemaker. crm_mon and etc.

Yes.

> So, i guess you are saying that is possible to do what i want, using
> constraint.
> 
> Can you give me a litle more information about suject ? Maybe some where i
> can find man and stuff ?
> 
> I will try add this But i am not quite sure what you said.
> 
> So i have to add an location containind my resource ? How do i make this
> Count ? i am not to familiared with peacemaker.

Hmm, not sure if it's really a peacemaker ;->

There's documentation for a Pacemaker release which corresponds
to Heartbeat v2.1.x
http://www.clusterlabs.org/mwiki/images/7/7d/Configuration_Explained_0.6.pdf

But please consider upgrading.

Thanks,

Dejan

> 
> Thanks.
> 
> 
> 
> []'sf.rique
> 
> 
> On Wed, Sep 22, 2010 at 11:17 AM, Dejan Muhamedagic 
> <deja...@fastmail.fm>wrote:
> 
> > Hi,
> >
> > On Wed, Sep 22, 2010 at 12:37:50AM -0300, Henrique Fernandes wrote:
> > > When i set heartbeat to do bcast in some interface, it does ok.
> > >
> > > But if i set to do bcast in 2 interfaces, it does ok also, the problem
> > is, i
> > > want the heartbeat give up resoucers if it looses just one interface...
> > it
> > > does not do this, it just issue an info saying that the other link is
> > down.
> > >
> > > Does any one can help me ?
> > >
> > > So just to be clear, i want to heartbeat check on 2 diferents interfaces
> > > eth0 and eth1, and if it loses connections in one of the interfaces, it
> > give
> > > up resources or shutdown etc..
> > >
> > > As i am doing now it doe snothing, and i can get it to do.
> > >
> > >
> > > I am trying to make three ldiretord in HA, but it receves connections
> > from
> > > internet on eth0 and redirect them in eth1 ( intranet )
> > > The point is, if any interface goes down, my service does not work. So i
> > > need it to give up resources.
> > >
> > > Sorry about my english!
> >
> > NP, you make yourself perfectly understandable.
> >
> > The point of having more than one interface is exactly that
> > heartbeat can continue. It has nothing to do with resources.
> >
> > If you're using pacemaker (not sure how would it work with
> > heartbeat v1), you can use a ping RA and specify two hosts
> > independently reachable over the two interfaces and make a
> > location constraint which would move a resource if the count of
> > reachable hosts is less than 2.
> >
> > Thanks,
> >
> > Dejan
> >
> > > Thankss!!
> > >
> > >
> > > []'sf.rique
> > > _______________________________________________
> > > Linux-HA mailing list
> > > Linux-HA@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@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@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@lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to