[Linux-HA] cib.xml config problem
Magnus Brown
mbrown at nexagent.com
Thu Nov 30 04:42:44 MST 2006
Hi Christian,
Thank you very much for your excellent reply.
With regards the gui problem, I was trying to create the clones inside
the group, which I think is incorrect, and hence why they were not
displaying correctly.
I made the syntax changes and added in the order statements and it seems
to be behaving as required. I've ust got to go through all the failure
scenarios to check its acting properly now :-)
I have included the working cib.xml if anyone needs to reference it,
Thanks once again,
Regards
Magnus
-----Original Message-----
From: linux-ha-bounces at lists.linux-ha.org
[mailto:linux-ha-bounces at lists.linux-ha.org] On Behalf Of Christian
Froemmel
Sent: 29 November 2006 22:16
To: General Linux-HA mailing list
Subject: Re: [Linux-HA] cib.xml config problem
On Wed, 29 Nov 2006, Magnus Brown wrote:
Hi,
> Ldap can run on both nodes
> Weblogic can run on both nodes
> Fuego can only run on one node
I have a quite similar setup.
> 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.
Well, the GUI I used to configure clones (2.0.7 from RPMs) showed the
clones without any problems. Maybe you are using an old Version of the
GUI?
> SO I then thought I could set up the cib.xml using the gui, then add
in
> the operation bits afterwards to the file.
I created my cib.xml completely "by hand" - as I wanted to know
everything
the cluster is going to do - and understand how the config is built.
(Well, some things I configured with the GUI and then took the
essentials
from the running CIB).
> 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.
Ok, I checked your syntax and you can see the result in the attached
diff.
There were changes in the cluster-configuration and you were missing
some
ids and three attributes in the head. I didn't really "run" your
cib.xml,
but crm_verify -V just gave warnings about missing attributes in the
cluster-config, but no errors. You can ignore those warnings or just add
the values.
But I didn't saw any ordering in your config. Just Places where the
services have to run. You should go for the following entries in the
resource-section (maybe you should check this "order"-things the GUI):
<rsc_order id="order_ldapbeforeweblogic" from="ldap_clone"
action="start" type="before" to="weblogic_clone"/>
<rsc_order id="order_weblogicbeforefuego" from="weblogic_clone"
action="start" type="before" to="fuego_grp"/>
I don't know if the ordering itself is correct, but you may get the
trick
with those rsc_order-Statements. There are some examples in the WIKI:
http://linux-ha.org/v2/Examples/Advanced#head-957d4744bc6f656db5789f3800
1456c6889f7602
Happy Testing ;-)
Christian
--
SYSTEM CONCEPT GmbH
Systemadministration/Netzwerk
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________
______________________________________________________________________
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
Type: text/xml
Size: 4004 bytes
Desc: cib.xml
Url : http://lists.community.tummy.com/pipermail/linux-ha/attachments/20061130/aaa5bbd9/cib.bin
More information about the Linux-HA
mailing list