[Linux-HA] upgrading heartbeat 2.0 configuration files

2011-05-04 Thread Vinay Nagrik
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
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.  At this time I am not interested in
pacemaker.  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.

I am sure there are people out there who must have similar problems.

Thanks in anticipation.

-- 
Thanks

Nagrik
___
Linux-HA mailing list
Linux-HA@lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems


Re: [Linux-HA] get haresources2cib.py

2011-05-03 Thread Vinay Nagrik
Hello Andrew,

We have been goint in small details and I still did not get any answer,
which will put me on the right path.

I apologise to ask you these questions.  But these are important for my
work.

I have down loaded

*eat-3-0-STABLE-3.0.4.tar.bz2*

and unzipped it.

I looked for crm shell and any .dtd .DTD file and did not find any.

Please please tell me where to get the crm shell or what are the steps or
did I download a wrong .tar.bz2 file.

There were these files as well

glue-1.0.7.tar.bz2 http://hg.linux-ha.org/glue/archive/glue-1.0.7.tar.bz2
and
*gents-1.0.4.tar.gz*

Do I have to download these files also.

My first and  very first step is to create a cib.xml file.  And I am running
in small circles.

Kindly help.  I will greatly apprecite this.

Thanks.

arun
On Mon, May 2, 2011 at 11:16 PM, Andrew Beekhof and...@beekhof.net wrote:

 On Mon, May 2, 2011 at 9:33 PM, Vinay Nagrik vnag...@gmail.com wrote:
  Thank you Andrew.
 
  Could you please tell me where to get the DTD for cib.xml and where from
 can
  I download crm shell.

 Both get installed with the rest of pacemaker

 
  thanks in anticipation.
 
  With best regards.
 
  nagrik
 
  On Mon, May 2, 2011 at 12:56 AM, Andrew Beekhof and...@beekhof.net
 wrote:
 
  On Sun, May 1, 2011 at 9:26 PM, Vinay Nagrik vnag...@gmail.com wrote:
   Dear Andrew,
  
   I read your document clusters from scratch and found it very
 detailed.
   It
   gave lots of information, but I was looking for creating a cib.xml and
  could
   not decipher the language as to the syntex and different fields to be
 put
  in
   cib.xml.
 
  Don't look at the xml.  Use the crm shell.
 
  
   I am still looking for the haresources2cib.py script.
 
  Don't. It only creates configurations conforming to the older and now
  unsupported syntax.
 
I searched the web
   but could not find anywhere.
  
   I have 2 more questions.
  
   Do I have to create the cib.xml file on the nodes I am running
 heartbeat
  v.2
   software.
   Does cib.xml has to reside in /var/lib/crm directory or can it reside
   anywhere else.
  
   Kindly provide these answers.  I will greatly appreciate your help.
  
   Have a nice day.
  
   Thanks.
  
   nagrik
  
   On Sat, Apr 30, 2011 at 1:32 AM, Andrew Beekhof and...@beekhof.net
  wrote:
  
   Forget the conversion.
   Use the crm shell to create one from scratch.
  
   And look for the clusters from scratch doc relevant to your version
   - its worth the read.
  
   On Sat, Apr 30, 2011 at 1:19 AM, Vinay Nagrik vnag...@gmail.com
  wrote:
Hello Group,
   
Kindly tell me where can I download
   
haresources2cib.py file
   
from.
   
Please also tell me can I convert haresources file on a node where
 I
  am
   not
running high availability service and then can I copy the converted
  ..xml
file in
   
/var/lib/heartbeat
   
directory on which I am running the high availability.
   
Also does
   
cib file
   
must resiede under
   
/var/lib/heartbeat
   
directory or can it reside under any directory like under
   
/etc.
   
please let me know.  I am just a beginner.
   
Thanks in advance.
   
--
Thanks
   
Nagrik
___
Linux-HA mailing list
Linux-HA@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@lists.linux-ha.org
   http://lists.linux-ha.org/mailman/listinfo/linux-ha
   See also: http://linux-ha.org/ReportingProblems
  
  
  
  
   --
   Thanks
  
   Nagrik
   ___
   Linux-HA mailing list
   Linux-HA@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@lists.linux-ha.org
  http://lists.linux-ha.org/mailman/listinfo/linux-ha
  See also: http://linux-ha.org/ReportingProblems
 
 
 
 
  --
  Thanks
 
  Nagrik
  ___
  Linux-HA mailing list
  Linux-HA@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@lists.linux-ha.org
 http://lists.linux-ha.org/mailman/listinfo/linux-ha
 See also: http://linux-ha.org/ReportingProblems




-- 
Thanks

Nagrik
___
Linux-HA mailing list
Linux-HA@lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems


[Linux-HA] How to create cib.xml file

2011-05-03 Thread Vinay Nagrik
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.bz2http://hg.linux-ha.org/heartbeat-STABLE_3_0/archive/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.

2.  I will also appreciate if someonw can direct me to a place from where I
can see the contents of cib.xml.

Kindly reply

Thanks in anticipation.

nagrik
___
Linux-HA mailing list
Linux-HA@lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems


Re: [Linux-HA] get haresources2cib.py

2011-05-02 Thread Vinay Nagrik
Thank you Andrew.

Could you please tell me where to get the DTD for cib.xml and where from can
I download crm shell.

thanks in anticipation.

With best regards.

nagrik

On Mon, May 2, 2011 at 12:56 AM, Andrew Beekhof and...@beekhof.net wrote:

 On Sun, May 1, 2011 at 9:26 PM, Vinay Nagrik vnag...@gmail.com wrote:
  Dear Andrew,
 
  I read your document clusters from scratch and found it very detailed.
  It
  gave lots of information, but I was looking for creating a cib.xml and
 could
  not decipher the language as to the syntex and different fields to be put
 in
  cib.xml.

 Don't look at the xml.  Use the crm shell.

 
  I am still looking for the haresources2cib.py script.

 Don't. It only creates configurations conforming to the older and now
 unsupported syntax.

   I searched the web
  but could not find anywhere.
 
  I have 2 more questions.
 
  Do I have to create the cib.xml file on the nodes I am running heartbeat
 v.2
  software.
  Does cib.xml has to reside in /var/lib/crm directory or can it reside
  anywhere else.
 
  Kindly provide these answers.  I will greatly appreciate your help.
 
  Have a nice day.
 
  Thanks.
 
  nagrik
 
  On Sat, Apr 30, 2011 at 1:32 AM, Andrew Beekhof and...@beekhof.net
 wrote:
 
  Forget the conversion.
  Use the crm shell to create one from scratch.
 
  And look for the clusters from scratch doc relevant to your version
  - its worth the read.
 
  On Sat, Apr 30, 2011 at 1:19 AM, Vinay Nagrik vnag...@gmail.com
 wrote:
   Hello Group,
  
   Kindly tell me where can I download
  
   haresources2cib.py file
  
   from.
  
   Please also tell me can I convert haresources file on a node where I
 am
  not
   running high availability service and then can I copy the converted
 ..xml
   file in
  
   /var/lib/heartbeat
  
   directory on which I am running the high availability.
  
   Also does
  
   cib file
  
   must resiede under
  
   /var/lib/heartbeat
  
   directory or can it reside under any directory like under
  
   /etc.
  
   please let me know.  I am just a beginner.
  
   Thanks in advance.
  
   --
   Thanks
  
   Nagrik
   ___
   Linux-HA mailing list
   Linux-HA@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@lists.linux-ha.org
  http://lists.linux-ha.org/mailman/listinfo/linux-ha
  See also: http://linux-ha.org/ReportingProblems
 
 
 
 
  --
  Thanks
 
  Nagrik
  ___
  Linux-HA mailing list
  Linux-HA@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@lists.linux-ha.org
 http://lists.linux-ha.org/mailman/listinfo/linux-ha
 See also: http://linux-ha.org/ReportingProblems




-- 
Thanks

Nagrik
___
Linux-HA mailing list
Linux-HA@lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems


Re: [Linux-HA] get haresources2cib.py

2011-05-01 Thread Vinay Nagrik
Dear Andrew,

I read your document clusters from scratch and found it very detailed.  It
gave lots of information, but I was looking for creating a cib.xml and could
not decipher the language as to the syntex and different fields to be put in
cib.xml.

I am still looking for the haresources2cib.py script.  I searched the web
but could not find anywhere.

I have 2 more questions.

Do I have to create the cib.xml file on the nodes I am running heartbeat v.2
software.
Does cib.xml has to reside in /var/lib/crm directory or can it reside
anywhere else.

Kindly provide these answers.  I will greatly appreciate your help.

Have a nice day.

Thanks.

nagrik

On Sat, Apr 30, 2011 at 1:32 AM, Andrew Beekhof and...@beekhof.net wrote:

 Forget the conversion.
 Use the crm shell to create one from scratch.

 And look for the clusters from scratch doc relevant to your version
 - its worth the read.

 On Sat, Apr 30, 2011 at 1:19 AM, Vinay Nagrik vnag...@gmail.com wrote:
  Hello Group,
 
  Kindly tell me where can I download
 
  haresources2cib.py file
 
  from.
 
  Please also tell me can I convert haresources file on a node where I am
 not
  running high availability service and then can I copy the converted ..xml
  file in
 
  /var/lib/heartbeat
 
  directory on which I am running the high availability.
 
  Also does
 
  cib file
 
  must resiede under
 
  /var/lib/heartbeat
 
  directory or can it reside under any directory like under
 
  /etc.
 
  please let me know.  I am just a beginner.
 
  Thanks in advance.
 
  --
  Thanks
 
  Nagrik
  ___
  Linux-HA mailing list
  Linux-HA@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@lists.linux-ha.org
 http://lists.linux-ha.org/mailman/listinfo/linux-ha
 See also: http://linux-ha.org/ReportingProblems




-- 
Thanks

Nagrik
___
Linux-HA mailing list
Linux-HA@lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems


[Linux-HA] get haresources2cib.py

2011-04-29 Thread Vinay Nagrik
Hello Group,

Kindly tell me where can I download

haresources2cib.py file

from.

Please also tell me can I convert haresources file on a node where I am not
running high availability service and then can I copy the converted ..xml
file in

/var/lib/heartbeat

directory on which I am running the high availability.

Also does

cib file

must resiede under

/var/lib/heartbeat

directory or can it reside under any directory like under

/etc.

please let me know.  I am just a beginner.

Thanks in advance.

-- 
Thanks

Nagrik
___
Linux-HA mailing list
Linux-HA@lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems