On Wed, May 04, 2011 at 03:55:06PM -0700, Vinay Nagrik wrote: > Hello Group, > > My immediate problem is to convert my haresources to cib.xml file. > > I am working with Virtual Machine on Linux platform and I have heartbeat 2.0
You do not want heartbeat 2.0. Seriously. You want Pacemaker. Using either heartbeat 3.0 or corosync. Pacemaker comes with the crm shell, so you can and should forget about XML. > installed on both the nodes. Since the configuration files are 1.0 > compliant, I want to upgrade those files to 2.0. > > I am on this problem since last one week, but did not get any constructive > lead. I have read the document "clusters from scratch" from end to end. > This document is created by Andrew Beekhof. > If someone please tell me the tar file from where I can install crm shell I > will greatly apprecite this. http://lmgtfy.com/?q=crm+shell&l=1 (same goes for pacemaker, and the other things you are so eager to learn about) The CRM shell is part of Pacemaker. > At this time I am not interested in pacemaker. That is a major mistake on your side. The thing "in heartbeat" that uses and interprets the "cib.xml" is called CRM (cluster resource manager). There has been a package split (about three or four years ago). Heartbeat is now only the basic communication layer. cluster- glue and agents is what you need in addition to that. The CRM part of it is now called Pacemaker. Pacemaker is not something entirely different. Pacemaker is that very CRM, only four years of development and bug fixes later. So if you are interested in "the cib", you are interested in pacemaker. Again: you do want pacemaker. If however you insist on using software from 2007 (or earlier), and insist on ignoring the development and bug fixes it has received over the last four years, don't expect much help. Using heartbeat 2.0 in "crm" mode with a "cib.xml" config is bordering on irresponsible. Sorry for being so verbose, and direct. But somehow we need to get this message across. > Just upgrading haresources to cib.xml file. If I have to > install something else I will do it to achieve my original goal. > > If I can get haresources2cib.py, I will be happy with that also. I just > want to get started in creating my first cib.xml file and understand its > contents. > > Can someone please enumerate all steps and please tell me how can I achieve > this goal of creating my first cib.xml file. First step: forget about cib.xml. Forget about xml. Second step: get a modern distribution. Third step: install pacemaker (with heartbeat or corosync, your choice). http://theclusterguy.clusterlabs.org/post/178680309/configuring-heartbeat-v1-was-so-simple http://www.clusterlabs.org/ http://www.clusterlabs.org/doc/ http://clusterlabs.org/wiki/FAQ http://www.linux-ha.org/ http://www.drbd.org/mc/management-console/ http://www.linbit.com/ http://www.linbit.com/en/products-services/drbd-consulting/ -- : Lars Ellenberg : LINBIT | Your Way to High Availability : DRBD/HA support and consulting http://www.linbit.com DRBD® and LINBIT® are registered trademarks of LINBIT, Austria. _______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
