Jason Erickson wrote:
I am trying to add a resource with this command.
cibadmin -C -o resources -x meatware_stonithcloneset.xml

It is telling me  "could not parse input file"


here is the xml file as well.


<clone id="meat_stonith_cloneset">

−

This "-" is not actually in there, is it? If it is, get rid of it.
Other than that - it works for me.

Which version are you using?

Regards
Dominik

<instance_attributes id="meat_stonith_cloneset">

−

<attributes>

<nvpair id="meat_stonith_cloneset-01" name="clone_max" value="2"/>

<nvpair id="meat_stonith_cloneset-02" name="clone_node_max" value="1"/>

<nvpair id="meat_stonith_cloneset-03" name="globally_unique" value="false"/>

<nvpair id="meat_stonith_cloneset-04" name="target_role" value="started"/>

</attributes>

</instance_attributes>

−

<primitive id="meat_stonith_clone" class="stonith" type="meatware" provider="heartbeat">

−

<operations>

<op name="monitor" interval="5s" timeout="20s" prereq="nothing" id="meat_stonith_clone-op-01"/>

<op name="start" timeout="20s" prereq="nothing" id="meat_stonith_clone-op-02"/>

</operations>

−

<instance_attributes id="meat_stonith_clone">

−

<attributes>

<nvpair id="meat_stonith_clone-01" name="hostlist" value="lin lor"/>

</attributes>

</instance_attributes>

</primitive>

</clone>


Jason Erickson
_______________________________________________
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