Hi,<br><br>I had the same error of the previous post about stickiness when I tried to import below xml.<br><br>[root@s2 tmp]# cibadmin --replace --obj_type resources --xml-file special-rex.xml<br>Call cib_replace failed (-47): Update does not conform to the configured schema/DTD<br>
<br>It seems instance_attributes does not accept rule same as meta_attributes. Is there any other way to set a different value to instance attribute?<br><br>Thanks<br><br><br><br><div class="gmail_quote">On Thu, Oct 8, 2009 at 2:47 PM, hj lee <span dir="ltr"><<a href="mailto:kerdosa@gmail.com">kerdosa@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi,<br><br>The XML below is an example in Configuration Explained 1.0 section of "Using Rules to Control Resource Options. Is there any way to create the same instance_attribute by crm command?<br>
<br>Thanks<br><br><primitive id="mySpecialRsc" class="ocf" type="Special" provider=”me”><br>
<instance_attributes id=”special-node1” score=”3”><br><rule id="node1-special-case"><br>
<expression id="node1-special-case-expr" attribute="#uname" operation="eq" value="node1"/><br></rule><br><nvpair id="node1-interface" name="interface" value="eth1"/><br>
</instance_attributes><br>.....<br>
</blockquote></div><br><br clear="all"><br>-- <br>Dream with longterm vision!<br>kerdosa<br>