On 5/4/2011 at 05:54 AM, Vinay Nagrik <[email protected]> wrote: > Hello Group, > > I am absolutely new to this group and need a lot of help. > > 1. I am working with heartbeat version 2, but see that version 3 is already > out. > > Heartbeat-3-0-STABLE-3.0.4.tar.bz2<http://hg.linux-ha.org/heartbeat-STABLE_3_0/arch > > ive/STABLE-3.0.4.tar.bz2> > > I have downloaded it and expanded it, but did not find crm shell and dtd of > cib.xml file. > > Please tell me where do I get crm shell and corresponding dtd for cib.xml > file.
The crm shell (and everything else to do with the CIB) is included with Pacemaker, which is a cluster resource manager that uses heartbeat or corosync/openais for messaging. See: http://linux-ha.org/wiki/Heartbeat http://theclusterguy.clusterlabs.org/post/1262495133/pacemaker-heartbeat-corosync-wtf http://www.clusterlabs.org/wiki/FAQ For some basic configuration information see: http://www.clusterlabs.org/wiki/Initial_Configuration Once the cluster nodes are talking to each other, you can use the crm shell (just run "crm") to configure the cluster. I would strongly encourage you to read Clusters from Scratch, see: http://www.clusterlabs.org/wiki/Documentation If you're using Heartbeat, the corosync/openais references won't help, but all the Pacemaker information is equally relevant regardless of which messaging layer you use. I'm not sure if there's a similar guide around which talks about using Pacemaker with Heartbeat in this detail, but you should probably also look at: http://www.linux-ha.org/doc/users-guide/users-guide.html > 2. I will also appreciate if someonw can direct me to a place from where I > can see the contents of cib.xml. The CIB lives in /var/lib/heartbeat/crm/cib.xml. You do not ever edit this file directly, and usually don't need to look at it in its raw XML form, thanks to the existence of the crm shell. You might be interested in reading: http://theclusterguy.clusterlabs.org/post/178680309/configuring-heartbeat-v1-was-so-simple HTH, Tim -- Tim Serong <[email protected]> Senior Clustering Engineer, OPS Engineering, Novell Inc. _______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
