Hi,
I'm using  heartbeat-2.1.4-0.16.2 on a SUSE Linux Enterprise Server 10 SP3 
(x86_64).

My cluster is composed by two nodes: mdm01-mdm02, with two Resource Group:

mdm01:~ # crm_mon -1
============
Last updated: Fri Apr 16 09:47:50 2010
Current DC: mdm01 (21dff8de-ac45-43bd-9592-73f68711e38d)
2 Nodes configured.
4 Resources configured.
============

Node: mdm02 (2b5b3edb-bf6c-418d-9c4d-04a1e36faaef): online
Node: mdm01 (21dff8de-ac45-43bd-9592-73f68711e38d): online

Resource Group: group_MDM_prod_PROD
   resource_IP_BE_1_PROD        (ocf::heartbeat:IPaddr):        Started mdm01
   resource_IP_FE_1_PROD        (ocf::heartbeat:IPaddr):        Started mdm01
   resource_IP_FE_2_PROD        (ocf::heartbeat:IPaddr):        Started mdm01
   resource_IP_FE_3_PROD        (ocf::heartbeat:IPaddr):        Started mdm01
   resource_IP_FE_4_PROD        (ocf::heartbeat:IPaddr):        Started mdm01
   resource_VG_PROD     (ocf::heartbeat:LVM):   Started mdm01
   resource_FS_PROD     (ocf::heartbeat:Filesystem):    Started mdm01
   resource_TOMCAT_PROD (lsb:ha-tomcat6-multistart-prod):       Started mdm01
   resource_OHS_PROD    (lsb:ha-OHS-start-prod):        Started mdm01
   resource_IP_FE_5_PROD        (ocf::heartbeat:IPaddr):        Started mdm01
Resource Group: group_MDM_prod_PREPROD
   resource_IP_BE_1_PREPROD     (ocf::heartbeat:IPaddr):        Started mdm02
   resource_IP_FE_1_PREPROD     (ocf::heartbeat:IPaddr):        Started mdm02
   resource_IP_FE_2_PREPROD     (ocf::heartbeat:IPaddr):        Started mdm02
   resource_IP_FE_3_PREPROD     (ocf::heartbeat:IPaddr):        Started mdm02
   resource_IP_FE_4_PREPROD     (ocf::heartbeat:IPaddr):        Started mdm02
   resource_VG_PREPROD  (ocf::heartbeat:LVM):   Started mdm02
   resource_FS_PREPROD  (ocf::heartbeat:Filesystem):    Started mdm02
   resource_TOMCAT_PREPROD      (lsb:ha-tomcat6-multistart-preprod):    Started 
mdm02
   resource_OHS_PREPROD (lsb:ha-OHS-start-preprod):     Started mdm02
   resource_IP_FE_5_PREPROD     (ocf::heartbeat:IPaddr):        Started mdm02
resource_STONITH_mdm01  (stonith:external/ipmi):        Started mdm01
resource_STONITH_mdm02  (stonith:external/ipmi):        Started mdm02


Recently I inserted two new IPs into both the Resource Group. Now when I try to move any resource up or down into the resource group I cannot and this error is present into the log:

ERROR: cib_native_perform_op: Call failed: Update does not conform to the DTD 
in /usr/share/heartbeat/crm.dtd
Element instance_attributes content does not follow the DTD, expecting (rule* , 
attributes), got (nvpair)

I checked the cib.xml but I don't understand what the matter.
I attach my cib.xml file.

Could someone help me?

Thanks

Alessandra






--
Alessandra Giovanardi
e-mail a.giovana...@cineca.it
Cineca - DSET http://www.cineca.it
Phone +39 051 6171939

 <cib generated="true" admin_epoch="0" have_quorum="true" ignore_dtd="false" 
num_peers="2" cib_feature_revision="2.0" crm_feature_set="2.0" 
ccm_transition="4" dc_uuid="21dff8de-ac45-43bd-9592-73f68711e38d" epoch="385" 
num_updates="1" cib-last-written="Wed Mar 10 11:48:43 2010">
   <configuration>
     <crm_config>
       <cluster_property_set id="cib-bootstrap-options">
         <attributes>
           <nvpair id="cib-bootstrap-options-dc-version" name="dc-version" 
value="2.1.4-node: b322e37b4da55c58c87e18e1f52def915cee72c6"/>
           <nvpair id="cib-bootstrap-options-stonith-enabled" 
name="stonith-enabled" value="true"/>
           <nvpair name="default-resource-stickiness" 
id="cib-bootstrap-options-default-resource-stickiness" value="10"/>
           <nvpair name="start-failure-is-fatal" 
id="cib-bootstrap-options-start-failure-is-fatal" value="true"/>
           <nvpair id="cib-bootstrap-options-last-lrm-refresh" 
name="last-lrm-refresh" value="1268218013"/>
           <nvpair id="cib-bootstrap-options-default-action-timeout" 
name="default-action-timeout" value="60s"/>
         </attributes>
       </cluster_property_set>
     </crm_config>
     <nodes>
       <node id="2b5b3edb-bf6c-418d-9c4d-04a1e36faaef" uname="mdm02" 
type="normal"/>
       <node id="21dff8de-ac45-43bd-9592-73f68711e38d" uname="mdm01" 
type="normal"/>
     </nodes>
     <resources>
       <group id="group_MDM_prod_PROD">
         <meta_attributes id="group_MDM_prod_PROD-meta-options">
           <attributes>
             <nvpair id="group_MDM_prod_PROD-meta-options-target_role" 
name="target_role" value="started"/>
             <nvpair id="group_MDM_prod_PROD_metaattr_ordered" name="ordered" 
value="true"/>
             <nvpair id="group_MDM_prod_PROD_metaattr_collocated" 
name="collocated" value="true"/>
           </attributes>
         </meta_attributes>
         <primitive id="resource_IP_BE_1_PROD" class="ocf" type="IPaddr" 
provider="heartbeat">
           <instance_attributes id="resource_IP_BE_1_PROD_instance_attrs">
             <attributes>
               <nvpair id="c9331343-a3b8-4d2a-9717-6a94e3e82846" name="ip" 
value="10.100.0.92"/>
             </attributes>
           </instance_attributes>
           <meta_attributes id="resource_IP_BE_1_PROD-meta-options">
             <attributes>
               <nvpair id="resource_IP_BE_1_PROD_metaattr_target_role" 
name="target_role" value="started"/>
             </attributes>
           </meta_attributes>
           <operations/>
         </primitive>
         <primitive id="resource_IP_FE_1_PROD" class="ocf" type="IPaddr" 
provider="heartbeat">
           <instance_attributes id="resource_IP_FE_1_PROD_instance_attrs">
             <attributes>
               <nvpair id="2f0d7232-902a-46a1-ab74-fc38300ce46c" name="ip" 
value="130.186.2.70"/>
             </attributes>
           </instance_attributes>
           <meta_attributes id="resource_IP_FE_1_PROD-meta-options">
             <attributes>
               <nvpair id="resource_IP_FE_1_PROD_metaattr_target_role" 
name="target_role" value="started"/>
             </attributes>
           </meta_attributes>
           <operations/>
         </primitive>
         <primitive id="resource_IP_FE_2_PROD" class="ocf" type="IPaddr" 
provider="heartbeat">
           <instance_attributes id="resource_IP_FE_2_PROD_instance_attrs">
             <attributes>
               <nvpair id="d30a3a74-8fe2-465f-89e1-dc3c8a7e614a" name="ip" 
value="130.186.2.71"/>
             </attributes>
           </instance_attributes>
           <meta_attributes id="resource_IP_FE_2_PROD-meta-options">
             <attributes>
               <nvpair id="resource_IP_FE_2_PROD_metaattr_target_role" 
name="target_role" value="started"/>
             </attributes>
           </meta_attributes>
           <operations/>
         </primitive>
         <primitive id="resource_IP_FE_3_PROD" class="ocf" type="IPaddr" 
provider="heartbeat">
           <instance_attributes id="resource_IP_FE_3_PROD_instance_attrs">
             <attributes>
               <nvpair id="d873f68f-097c-4af9-bccd-f3f4f33b0b5e" name="ip" 
value="130.186.2.72"/>
             </attributes>
           </instance_attributes>
           <meta_attributes id="resource_IP_FE_3_PROD-meta-options">
             <attributes>
               <nvpair id="resource_IP_FE_3_PROD_metaattr_target_role" 
name="target_role" value="started"/>
             </attributes>
           </meta_attributes>
           <operations/>
         </primitive>
         <primitive id="resource_IP_FE_4_PROD" class="ocf" type="IPaddr" 
provider="heartbeat">
           <instance_attributes id="resource_IP_FE_4_PROD_instance_attrs">
             <attributes>
               <nvpair id="b7fd5ab3-8228-466a-a9da-e1f3941cb549" name="ip" 
value="130.186.2.73"/>
             </attributes>
           </instance_attributes>
           <meta_attributes id="resource_IP_FE_4_PROD-meta-options">
             <attributes>
               <nvpair id="resource_IP_FE_4_PROD_metaattr_target_role" 
name="target_role" value="started"/>
             </attributes>
           </meta_attributes>
           <operations/>
         </primitive>
         <primitive id="resource_VG_PROD" class="ocf" type="LVM" 
provider="heartbeat">
           <instance_attributes id="resource_VG_PROD_instance_attrs">
             <attributes>
               <nvpair id="992ae5c8-4f89-45c7-ab92-021597d870db" 
name="volgrpname" value="mdm-prod_vg"/>
             </attributes>
           </instance_attributes>
           <meta_attributes id="resource_VG_PROD-meta-options">
             <attributes>
               <nvpair id="resource_VG_PROD_metaattr_target_role" 
name="target_role" value="started"/>
             </attributes>
           </meta_attributes>
           <operations/>
         </primitive>
         <primitive id="resource_FS_PROD" class="ocf" type="Filesystem" 
provider="heartbeat">
           <instance_attributes id="resource_FS_PROD_instance_attrs">
             <attributes>
               <nvpair id="d1d9d4cc-4b90-4d77-bb46-714e677a6940" name="device" 
value="/dev/mdm-prod_vg/mdm-prod_lv"/>
               <nvpair id="9a12647f-94f1-4da4-a0c1-78ee2fee27f7" 
name="directory" value="/mdm-prod"/>
               <nvpair id="0585c509-0a70-4c4b-ba4f-82d03860808b" name="fstype" 
value="ext3"/>
             </attributes>
           </instance_attributes>
           <meta_attributes id="resource_FS_PROD-meta-options">
             <attributes>
               <nvpair id="resource_FS_PROD_metaattr_target_role" 
name="target_role" value="started"/>
             </attributes>
           </meta_attributes>
           <operations/>
         </primitive>
         <primitive id="resource_TOMCAT_PROD" class="lsb" 
type="ha-tomcat6-multistart-prod" provider="heartbeat">
           <meta_attributes id="resource_TOMCAT_PROD-meta-options">
             <attributes>
               <nvpair id="resource_TOMCAT_PROD_metaattr_target_role" 
name="target_role" value="started"/>
             </attributes>
           </meta_attributes>
         </primitive>
         <primitive id="resource_OHS_PROD" class="lsb" type="ha-OHS-start-prod" 
provider="heartbeat">
           <meta_attributes id="resource_OHS_PROD-meta-options">
             <attributes>
               <nvpair id="resource_OHS_PROD_metaattr_target_role" 
name="target_role" value="started"/>
             </attributes>
           </meta_attributes>
         </primitive>
         <primitive id="resource_IP_FE_5_PROD" class="ocf" type="IPaddr" 
provider="heartbeat">
           <instance_attributes id="resource_IP_FE_5_PROD_instance_attrs">
             <attributes>
               <nvpair id="3d4a9363-155d-4f00-8518-1b4526ed1d1c" name="ip" 
value="130.186.2.80"/>
             </attributes>
           </instance_attributes>
           <meta_attributes id="resource_IP_FE_5_PROD-meta-options">
             <attributes>
               <nvpair id="resource_IP_FE_5_PROD_metaattr_target_role" 
name="target_role" value="started"/>
             </attributes>
           </meta_attributes>
         </primitive>
       </group>
       <group id="group_MDM_prod_PREPROD">
         <meta_attributes id="group_MDM_prod_PREPROD-meta-options">
           <attributes>
             <nvpair id="group_MDM_prod_PREPROD-meta-options-target_role" 
name="target_role" value="started"/>
             <nvpair id="group_MDM_prod_PREPROD_metaattr_ordered" 
name="ordered" value="true"/>
             <nvpair id="group_MDM_prod_PREPROD_metaattr_collocated" 
name="collocated" value="true"/>
           </attributes>
         </meta_attributes>
         <primitive id="resource_IP_BE_1_PREPROD" class="ocf" type="IPaddr" 
provider="heartbeat">
           <instance_attributes id="resource_IP_BE_1_PREPROD_instance_attrs">
             <attributes>
               <nvpair id="7c3e69db-541d-4b8a-86fb-cfbc01278019" name="ip" 
value="10.100.0.93"/>
             </attributes>
           </instance_attributes>
           <meta_attributes id="resource_IP_BE_1_PREPROD-meta-options">
             <attributes>
               <nvpair id="resource_IP_BE_1_PREPROD_metaattr_target_role" 
name="target_role" value="started"/>
             </attributes>
           </meta_attributes>
           <operations/>
         </primitive>
         <primitive id="resource_IP_FE_1_PREPROD" class="ocf" type="IPaddr" 
provider="heartbeat">
           <instance_attributes id="resource_IP_FE_1_PREPROD_instance_attrs">
             <attributes>
               <nvpair id="1f412793-ab22-4442-89ac-a73f9568dd3e" name="ip" 
value="130.186.2.74"/>
             </attributes>
           </instance_attributes>
           <meta_attributes id="resource_IP_FE_1_PREPROD-meta-options">
             <attributes>
               <nvpair id="resource_IP_FE_1_PREPROD_metaattr_target_role" 
name="target_role" value="started"/>
             </attributes>
           </meta_attributes>
           <operations/>
         </primitive>
         <primitive id="resource_IP_FE_2_PREPROD" class="ocf" type="IPaddr" 
provider="heartbeat">
           <instance_attributes id="resource_IP_FE_2_PREPROD_instance_attrs">
             <attributes>
               <nvpair id="ec5f2542-2917-4942-b7bc-bfbb1c24c41a" name="ip" 
value="130.186.2.75"/>
             </attributes>
           </instance_attributes>
           <meta_attributes id="resource_IP_FE_2_PREPROD-meta-options">
             <attributes>
               <nvpair id="resource_IP_FE_2_PREPROD_metaattr_target_role" 
name="target_role" value="started"/>
             </attributes>
           </meta_attributes>
           <operations/>
         </primitive>
         <primitive id="resource_IP_FE_3_PREPROD" class="ocf" type="IPaddr" 
provider="heartbeat">
           <instance_attributes id="resource_IP_FE_3_PREPROD_instance_attrs">
             <attributes>
               <nvpair id="24bb67c9-0369-4855-9053-5228d4bf5f00" name="ip" 
value="130.186.2.76"/>
             </attributes>
           </instance_attributes>
           <meta_attributes id="resource_IP_FE_3_PREPROD-meta-options">
             <attributes>
               <nvpair id="resource_IP_FE_3_PREPROD_metaattr_target_role" 
name="target_role" value="started"/>
             </attributes>
           </meta_attributes>
           <operations/>
         </primitive>
         <primitive id="resource_IP_FE_4_PREPROD" class="ocf" type="IPaddr" 
provider="heartbeat">
           <instance_attributes id="resource_IP_FE_4_PREPROD_instance_attrs">
             <attributes>
               <nvpair id="cbc94bbd-4059-4a03-9468-8d5932709f3b" name="ip" 
value="130.186.2.77"/>
             </attributes>
           </instance_attributes>
           <meta_attributes id="resource_IP_FE_4_PREPROD-meta-options">
             <attributes>
               <nvpair id="resource_IP_FE_4_PREPROD_metaattr_target_role" 
name="target_role" value="started"/>
             </attributes>
           </meta_attributes>
           <operations/>
         </primitive>
         <primitive id="resource_VG_PREPROD" class="ocf" type="LVM" 
provider="heartbeat">
           <instance_attributes id="resource_VG_PREPROD_instance_attrs">
             <attributes>
               <nvpair id="870100c2-7418-40f0-8d22-92081b17cf82" 
name="volgrpname" value="mdm-preprod_vg"/>
             </attributes>
           </instance_attributes>
           <meta_attributes id="resource_VG_PREPROD-meta-options">
             <attributes>
               <nvpair id="resource_VG_PREPROD_metaattr_target_role" 
name="target_role" value="started"/>
             </attributes>
           </meta_attributes>
           <operations/>
         </primitive>
         <primitive id="resource_FS_PREPROD" class="ocf" type="Filesystem" 
provider="heartbeat">
           <instance_attributes id="resource_FS_PREPROD_instance_attrs">
             <attributes>
               <nvpair id="fb7b7c78-e048-4a20-9e96-48aaea60a888" name="device" 
value="/dev/mdm-preprod_vg/mdm-preprod_lv"/>
               <nvpair id="27c3a995-3aff-44d7-a52b-9767e2a12796" 
name="directory" value="/mdm-preprod"/>
               <nvpair id="ab9e9934-9732-4f70-87f4-19af79318a3b" name="fstype" 
value="ext3"/>
             </attributes>
           </instance_attributes>
           <meta_attributes id="resource_FS_PREPROD-meta-options">
             <attributes>
               <nvpair id="resource_FS_PREPROD_metaattr_target_role" 
name="target_role" value="started"/>
             </attributes>
           </meta_attributes>
           <operations/>
         </primitive>
         <primitive id="resource_TOMCAT_PREPROD" class="lsb" 
type="ha-tomcat6-multistart-preprod" provider="heartbeat">
           <meta_attributes id="resource_TOMCAT_PREPROD-meta-options">
             <attributes>
               <nvpair id="resource_TOMCAT_PREPROD_metaattr_target_role" 
name="target_role" value="started"/>
             </attributes>
           </meta_attributes>
         </primitive>
         <primitive id="resource_OHS_PREPROD" class="lsb" 
type="ha-OHS-start-preprod" provider="heartbeat">
           <meta_attributes id="resource_OHS_PREPROD-meta-options">
             <attributes>
               <nvpair id="resource_OHS_PREPROD_metaattr_target_role" 
name="target_role" value="started"/>
             </attributes>
           </meta_attributes>
         </primitive>
         <primitive id="resource_IP_FE_5_PREPROD" class="ocf" type="IPaddr" 
provider="heartbeat">
           <instance_attributes id="resource_IP_FE_5_PREPROD_instance_attrs">
             <attributes>
               <nvpair id="e019f015-c1aa-4251-bf27-7436a1790fb2" name="ip" 
value="130.186.2.81"/>
             </attributes>
           </instance_attributes>
           <meta_attributes id="resource_IP_FE_5_PREPROD-meta-options">
             <attributes>
               <nvpair id="resource_IP_FE_5_PREPROD_metaattr_target_role" 
name="target_role" value="started"/>
             </attributes>
           </meta_attributes>
         </primitive>
       </group>
       <primitive id="resource_STONITH_mdm01" class="stonith" 
type="external/ipmi" provider="heartbeat">
         <meta_attributes id="resource_STONITH_mdm01-meta-options">
           <attributes>
             <nvpair id="resource_STONITH_mdm01-meta-options-target_role" 
name="target_role" value="started"/>
           </attributes>
         </meta_attributes>
         <instance_attributes id="resource_STONITH_mdm01_instance_attrs">
           <attributes>
             <nvpair id="cfe9e36f-f47d-4803-89c9-1a1b2b9041f3" name="hostname" 
value="mdm02"/>
             <nvpair id="8d64d7f3-07a2-4ada-843e-08c4036b4cc4" name="ipaddr" 
value="10.255.6.198"/>
             <nvpair id="7c0e2310-07ad-4bcd-93bc-5f038b9ce63a" name="userid" 
value="root"/>
             <nvpair id="e39fa252-ce22-4320-9ab9-47262c619521" name="passwd" 
value="NsD,m1sq"/>
           </attributes>
         </instance_attributes>
       </primitive>
       <primitive id="resource_STONITH_mdm02" class="stonith" 
type="external/ipmi" provider="heartbeat">
         <meta_attributes id="resource_STONITH_mdm02-meta-options">
           <attributes>
             <nvpair id="resource_STONITH_mdm02-meta-options-target_role" 
name="target_role" value="started"/>
           </attributes>
         </meta_attributes>
         <instance_attributes id="resource_STONITH_mdm02_instance_attrs">
           <attributes>
             <nvpair id="39f8577f-a0ae-4466-a011-c6fa5eb81d64" name="hostname" 
value="mdm01"/>
             <nvpair id="501d6aab-5319-4030-bd47-49240bf2e655" name="ipaddr" 
value="10.255.6.197"/>
             <nvpair id="20b19d0c-f09a-4597-8335-0963ff1eed71" name="userid" 
value="root"/>
             <nvpair id="fbf6859c-2a00-43ba-bf98-5e4838b280a3" name="passwd" 
value="NsD,m1sq"/>
           </attributes>
         </instance_attributes>
       </primitive>
     </resources>
     <constraints>
       <rsc_location id="location_STONITH_mdm01" rsc="resource_STONITH_mdm01">
         <rule id="prefered_location_STONITH_mdm01" score="-INFINITY">
           <expression attribute="#uname" 
id="7058b584-d59b-4580-b36a-9a1e49f40d66" operation="eq" value="mdm02"/>
         </rule>
       </rsc_location>
       <rsc_location id="location_STONITH_mdm02" rsc="resource_STONITH_mdm02">
         <rule id="prefered_location_STONITH_mdm02" score="-INFINITY">
           <expression attribute="#uname" 
id="837348f1-9618-4197-9274-9055c60ac7d7" operation="eq" value="mdm01"/>
         </rule>
       </rsc_location>
       <rsc_location id="location_MDM_prod_PROD" rsc="group_MDM_prod_PROD">
         <rule id="prefered_location_MDM_prod_PROD" score="10">
           <expression attribute="#uname" 
id="5e04f986-333d-4e27-be56-199099227196" operation="eq" value="mdm01"/>
         </rule>
       </rsc_location>
       <rsc_location id="location_MDM_prod_PREPROD" 
rsc="group_MDM_prod_PREPROD">
         <rule id="prefered_location_MDM_prod_PREPROD" score="10">
           <expression attribute="#uname" 
id="f0dfe841-ccae-484e-af9c-d9a68b0b2097" operation="eq" value="mdm02"/>
         </rule>
       </rsc_location>
       <rsc_location id="location_MDM_prod_PREPROD_pingd" 
rsc="group_MDM_prod_PREPROD">
         <rule id="prefered_location_MDM_prod_PREPROD_pingd" score="10000">
           <expression attribute="pingd" 
id="0d4f8bd8-b49d-42ba-bece-bb4ce07e6656" operation="eq" value="200"/>
         </rule>
       </rsc_location>
       <rsc_location id="location_MDM_prod_PROD_pingd" 
rsc="group_MDM_prod_PROD">
         <rule id="prefered_location_MDM_prod_PROD_pingd" score="10000">
           <expression attribute="pingd" 
id="c9d5957e-21e1-46f6-b77e-6610002f445d" operation="eq" value="200"/>
         </rule>
       </rsc_location>
     </constraints>
   </configuration>
 </cib>
_______________________________________________
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

Reply via email to