Hi everybody,

I'm trying to set up a HA Linux cluster following the instructions found on 
http://www.ubuntugeek.com/hearbeat2-xen-cluster-with-drdb8-and-ocfs2.html but 
I've been banging my head against the wall with cibadmin. I want to add a 
stonith device but every time I run the command cibadmin -C -o resources -x 
file.xml I get the error :
Call cib_create failed (-47): Update does not conform to the configured 
schema/DTD
<null>

I'm using Ubuntu 9.10 with heartbeat version 2.1.4.2. The xml file I'm working 
with is as follows:

<resources>
  <clone id="stonithclone" globally_unique="false">
    <instance_attributes id="stonithclone">
      <attributes>
        <nvpair id="stonithclone01" name="clone-node-max" value="1" />
      </attributes>
    </instance_attributes>
    <primitive id="stonithclone" class="stonith" type="external/ssh" 
provider="heartbeat">
      <operations>
         <op name="monitor" interval="5s" timeout="20s" prereq="nothing" 
id="stonithclone-op01" />
         <op name="start" timeout="20s" prereq="nothing" id="stonithclone-op02" 
/>
      </operations>
      <instance_attributes id="stonithclone">
        <attributes>
          <nvpair id="stonithclone01" name="hostlist" value="xen1, xen2" />
        </attributes>
      </instance_attributes>
    </primitive>
  </clone>
</resources>

Any help will be really appreciated

Regards

Héctor
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to