On Nov 21, 2007, at 11:18 AM, Yves Schumann wrote:


Hello everybody

Actually I'm trying to setup a cluster using heartbeat. I tried this in
fulltime nearly a week now but without any success. There are some not
working links on the website, so the page is not useable for a heartbeat
newbee like me. Some examples? Take a look at [1] or [2].

So I tried the other things like watching the Screencast and print out the
PDF from the linux.conf.au from January 2007 a.s.o. There are a lot of
information inside and after reading the document once and once again I know nearly every setting out of my mind. ;-) But what I can't find is, how
to use the settings in the cib-file _together_, how I connect them! I
created a new cib file using the DTD with XMLSpy and so I see all required tags. I hope you understand what I mean. Sorry for my english, it's not my native language. For example, how do I distinguish between real existing
resources and the resource I want to offer "to the outside"?

what's the difference (at least to the cluster)?

For example I tried to setup a simple two node cluster which should offer a virtual IP. These hosts got the IPs x.x.x.145 and x.x.x.146. The virtual IP they offer is x.x.x.150. Normally the user enter this IP and reaches the node x.x.x.145. If this one goes down the other node will be used. I've running this setup successful with a heartbeat V1.0 configuration. In the future I need more powerful settings and so I need the V2.0 configuration.

there is a script called haresource2cib.py (or something like that) that will convert a v1 configuration into a v2
maybe that will help you a little

My next step was to try the GUI to create a cib file to have a look at this file and see whats happen. But if I start the GUI I can't connect to any of my nodes, not even localhost!? It says always "Can't connect to server". So whats going on there or whats wrong? I tried this on SUSE 10.3 and Ubuntu 7.10 with the heartbeat package from your page. You can see the packages
I've installed on the ubuntu machine on [3]. For testing reasons every
installation is running inside a VMware. Normal connections like ping or ssh between these virtual machines are working well. So actually I don't know what I can do next. How does the GUI try to connect to the nodes? With
ssh?

I don't use the gui so i can't comment here.

I've wrote a lot of different cib files with very different behaviours, so it makes no sense and wastes time to include all of them here. What I try to setup is a cluster with two nodes. These nodes offers asterisk, tomcat and mysql and I want heartbeat to observe these services. It would be very nice if somebody would give me advise or any other help or the so called
kick into the right direction. ;-)

perhaps start with some simple examples like the ones listed under "Sample Cluster Configurations" on this page:
     http://www.linux-ha.org/GettingStartedV2

Oh, there is another strange behaviour. If I copy my with XMLSpy created cib file to a node and check it with crm_verify, everything is ok. After running heartbeat the file is modified with the nodes a.s.o. If I do the check again, the file is _not_ valid because the status tag is removed. Bug
or feature?

a little of both. the status section is deliberately removed when we write it to disk but it probably wouldn't kill us to add a status section

actually, i thought i fixed crm_verify to deal with that... what version do you have?

_______________________________________________
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