Now, is working, i guess i only put the wrong atribute name.

But for now, i only need one pingd teste, what if i need 2 diferentes pingd
testes, with different scores.

How do set up to each contraint have a differente pingd score ? as i only
set the atrribute pingd ?

Thanks

[]'sf.rique


On Thu, Sep 23, 2010 at 5:56 AM, Dejan Muhamedagic <[email protected]>wrote:

> Hi,
>
> On Wed, Sep 22, 2010 at 04:24:01PM -0300, Henrique Fernandes wrote:
> > Look, i am not getting it to work.
> >
> > I already made a pingd conective clone in all nodes. But now i can not
> get
> > an location to work.
> >
> > Can you help me ?
> >
> > I set an constraint > location > Conectivity and this has resource, my
> > loadbalancer group resources, The score is - infinity and the atribute is
> my
> > pingd clone with operator less than value. And my pingd need both
> > conectivity working so the score is same as value.
> >
> > any help ?
>
> Check in the status section if the attribute is really being
> updated:
>
> # cibadmin -Ql | less
>
> Note that it takes a few seconds, depending on dampen, for the
> attribute update to take place. You should find one value for
> each node.
>
> Once you made sure that the attribute is in the status section,
> check that the location constraint contains the right attribute
> name (it should be "pingd", unless you used another name).
>
> Thanks,
>
> Dejan
>
> > []'sf.rique
> >
> >
> > On Wed, Sep 22, 2010 at 11:49 AM, Henrique Fernandes <[email protected]
> >wrote:
> >
> > > Here where i work, we try to use the distro release package, and the on
> > > centos is this version. =/
> > >
> > > But thanks, i am gonna ready it now.
> > >
> > > []'sf.rique
> > >
> > >
> > > On Wed, Sep 22, 2010 at 11:47 AM, Dejan Muhamedagic <
> [email protected]>wrote:
> > >
> > >> 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 <
> > >> [email protected]>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
> > >> > > > [email protected]
> > >> > > > http://lists.linux-ha.org/mailman/listinfo/linux-ha
> > >> > > > See also: http://linux-ha.org/ReportingProblems
> > >> > > _______________________________________________
> > >> > > Linux-HA mailing list
> > >> > > [email protected]
> > >> > > http://lists.linux-ha.org/mailman/listinfo/linux-ha
> > >> > > See also: http://linux-ha.org/ReportingProblems
> > >> > >
> > >> > _______________________________________________
> > >> > Linux-HA mailing list
> > >> > [email protected]
> > >> > http://lists.linux-ha.org/mailman/listinfo/linux-ha
> > >> > See also: http://linux-ha.org/ReportingProblems
> > >> _______________________________________________
> > >> Linux-HA mailing list
> > >> [email protected]
> > >> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> > >> See also: http://linux-ha.org/ReportingProblems
> > >>
> > >
> > >
> > _______________________________________________
> > Linux-HA mailing list
> > [email protected]
> > http://lists.linux-ha.org/mailman/listinfo/linux-ha
> > See also: http://linux-ha.org/ReportingProblems
> _______________________________________________
> Linux-HA mailing list
> [email protected]
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems
>
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to