[Linux-HA] Three node cluster had never worked!!!

Alan Alexandre da Silva alan at dextra.com.br
Wed Nov 1 10:23:54 MST 2006


The documentation is confusing.
Based on my informations about the servers, could you help me to generate crm and cib.xml?
I just want three servers in the cluster with an IP Virtual and Apache. If Apache or server fail, the other nodes will take the Ip Virtual and Apache.

I'm very confused.

Thanks

-- 
Alan A. da Silva


 Mon, 30 Oct 2006 14:34:09 -0600, "Chris Gallo" <chrisagallo at gmail.com> escreveu:

> Alan,
> 
> With heartbeat version 1 you can only have 2 servers. Heartbeat
> version 2.0.7 you will be able to have multiple servers as well as
> resource monitoring.
> 
> If you have a 2.0.X version you can just add "crm yes" to ha.cf. Then
> just setup the /var/lib/heartbeat/crm/cib.xml file according to
> http://linux-ha.org/ClusterResourceManager/DTD1.0/Annotated
> 
> Perhaps this link might help more
> 
> http://linux-ha.org/v2/Examples/Simple
> 
> ChrisG
> 
> On 10/30/06, Alan Alexandre da Silva <alan at dextra.com.br> wrote:
> > Could you send me your post or the link to it?
> >
> >
> >  Mon, 30 Oct 2006 21:11:51 +0200, "Andrew Beekhof" <beekhof at gmail.com> escreveu:
> >
> > > On 10/30/06, Alan Alexandre da Silva <alan at dextra.com.br> wrote:
> > > > I'm using heartbeat 2.0.5.
> > > > How do I configure heartbeat on the three nodes to put my resources (IP Virtual and Apache) working rigth if nodes fail?!!
> > > > I'm not using cib.xml. Is it easy to do that?
> > >
> > > read my original email.  its not easy because its not possible when
> > > you use haresources
> > >
> > > > Below I show my setup:
> > > >
> > > > On the three servers, file authkeys:
> > > > auth 1
> > > > 1 crc
> > > >
> > > > On the three servers, file ha.cf:
> > > > debugfile /var/log/ha-debug
> > > > logfile /var/log/ha-log
> > > > logfacility     local0
> > > > bcast   eth0            # Linux
> > > > auto_failback on
> > > > keepalive 1
> > > > node  serverOne
> > > > node  ServerTwo
> > > > node  ServerThree
> > > >
> > > > On the server one, File haresources:
> > > > serverOne 10.162.161.20 httpd mon
> > > >
> > > > On the server two, File haresources:
> > > > serverTwo 10.162.161.20 httpd mon
> > > >
> > > > On the server three, File haresources:
> > > > serverThree 10.162.161.20 httpd mon
> > > >
> > > >
> > > > Thank you for helping.
> > > >
> > > >
> > > >  Mon, 30 Oct 2006 09:02:46 -0600, "Chris Gallo" <chrisagallo at gmail.com> escreveu:
> > > >
> > > > > Alan,
> > > > >
> > > > > Are you using version 2.0.7 of heartbeat. Could you attach your
> > > > > cib.xml file if you are. I have a feeling that you didnt really
> > > > > specify any location restrictions to heartbeat so it just guesses.
> > > > >
> > > > > ChrisG
> > > > >
> > > > > On 10/30/06, Alan Alexandre da Silva <alan at dextra.com.br> wrote:
> > > > > > My setup is to have an Ip Virtual and Apache running on server A.
> > > > > > When server A crashes, server B take the IP Virtual and Apache.
> > > > > > When server B crashes, server C take the IP VIrtual and Apache
> > > > > > Many times heartbeat put the IP virtual and Apache on two servers when the desired is to put only in one server.
> > > > > > The documentation says n-node cluster works, but I say it doesn't.
> > > > > > I've been tried many things to put my three servers running ok but heartbeat doesn't work well.
> > > > > > So, when I put only two servers, everything goes well and fast.
> > > > > > Does someone have three or more servers running ok with heartbeat?
> > > > > > If yes, how I do that?????!!!!!!!
> > > > > >
> > > > > > Thank you for help.
> > > > > >
> > > > > > --
> > > > > > Alan
> > > > > > _______________________________________________
> > > > > > 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
> > > > >
> > > > >
> > > > >
> > > > _______________________________________________
> > > > 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
> > >
> > >
> > >
> > _______________________________________________
> > 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