[Linux-HA] cib.xml config problem
Magnus Brown
mbrown at nexagent.com
Wed Nov 29 04:46:21 MST 2006
Hi all,
Bit of background (always helps)
We are currently running heartbeat 2.0.3 on 2 nodes
3 resource groups - clone group ldap
- clone group weblogic
- group fuego
This is to achieve the following requirements: -
Ldap can run on both nodes
Weblogic can run on both nodes
Fuego can only run on one node
I have attached the file cib.xml.2.0.3 to show how this is currently
achieved.
The only file in /var/lib/heartbeat/crm is cib.xml and it is owned by
the root user.
We now have a new requirement that ldap is started before weblogic and
weblogic is started before fuego.
Initially I tried adding in an ordering constraint but failed dismally
to achieve this.
I saw that there was a newer version (2.0.7) so I downloaded and
installed that in the staging area.
I thought I might try and use the GUI to set up just one group
comprising: -
Ldap clone - clone to allow an instance on each node
Weblogic clone - clone to allow an instance on each node
Fuego
I put them in one group as I understood that groups have inherent
ordering.
First problem was that clone resources did not show up in the gui so I
was unable to add the monitor operation to my clone groups or in fact
see that they existed. They did exist in the cib.xml however.
SO I then thought I could set up the cib.xml using the gui, then add in
the operation bits afterwards to the file.
The new cib.xml file kept failing the dtd check and I can see that the
new .dtd file in 2.0.7 doesn't match the web documentation. I have tried
to write the new cib.xml file without success. I must add that I have
not programmed any xml before and with the lack of up to date examples
which use the current dtd rules I am just using a hit and miss approach
to try and get the syntax correct.
I'm at a bit of a loss how to proceed. I either need some up to date
documentation and up to date examples, or a gui where I can see the
cloned resources or someone to show me the text to add to the original
cib.xml so achieve the ordering we require,
Many thanks
Magnus
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cib.xml.orig
Type: application/octet-stream
Size: 3287 bytes
Desc: cib.xml.orig
Url : http://lists.community.tummy.com/pipermail/linux-ha/attachments/20061129/fada9c53/cib.xml-0001.obj
More information about the Linux-HA
mailing list