I found the site as soon as I sent it out.

http://clusterlabs.org/wiki/DRBD_HowTo_1.0

'Hope this helps others.  :)

Regards,
Jerome

From: Jerome Yanga
Sent: Wednesday, February 25, 2009 2:40 PM
To: General Linux-HA mailing list
Subject: [Linux-HA] Call cib_create failed (-47): Update does not conform to 
the configured schema/DTD

I have been trying to add DRBD on my Pacemaker config using crm(live) but I 
keep getting this message below:

Call cib_create failed (-47): Update does not conform to the configured 
schema/DTD

Can someone show me the syntax for crm(live) to add my DRBD resource below?

       <master_slave id="r0_data">
         <meta_attributes id="r0_data_meta_attrs">
           <attributes>
             <nvpair id="r0_data_metaattr_target_role" name="target_role" 
value="started"/>
             <nvpair id="r0_data_metaattr_clone_max" name="clone_max" 
value="2"/>
             <nvpair id="r0_data_metaattr_clone_node_max" name="clone_node_max" 
value="1"/>
             <nvpair id="r0_data_metaattr_master_max" name="master_max" 
value="1"/>
             <nvpair id="r0_data_metaattr_master_node_max" 
name="master_node_max" value="1"/>
             <nvpair id="r0_data_metaattr_notify" name="notify" value="true"/>
             <nvpair id="r0_data_metaattr_globally_unique" 
name="globally_unique" value="false"/>
           </attributes>
         </meta_attributes>
         <primitive id="drbd_resource" class="ocf" type="drbd" 
provider="heartbeat">
           <instance_attributes id="drbd_resource_instance_attrs">
             <attributes>
               <nvpair id="cd3b3992-4492-478d-ad27-eaaf0698ec53" 
name="drbd_resource" value="drbd0"/
>
             </attributes>
           </instance_attributes>
           <meta_attributes id="drbd_resource:0_meta_attrs">
             <attributes>
               <nvpair id="drbd_resource:1_metaattr_target_role" 
name="target_role" value="stopped"/
>
             </attributes>
           </meta_attributes>
           <operations>
             <op id="c2f4dd35-db6c-4d20-ab90-239aa511726f" name="monitor" 
interval="4s" timeout="5s"
 disabled="false" role="Master" start_delay="0"/>
             <op id="046449e7-247b-42a3-a0bf-d7b9bc0fe010" name="monitor" 
interval="5s" timeout="5s"
 disabled="false" role="Slave" start_delay="0"/>
           </operations>
         </primitive>
       </master_slave>

Help.

Regards,
Jerome
_______________________________________________
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