Hi,

I had the same error of the previous post about stickiness when I tried to
import below xml.

[r...@s2 tmp]# cibadmin --replace --obj_type resources --xml-file
special-rex.xml
Call cib_replace failed (-47): Update does not conform to the configured
schema/DTD

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?

Thanks



On Thu, Oct 8, 2009 at 2:47 PM, hj lee <kerd...@gmail.com> wrote:

> Hi,
>
> 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?
>
> Thanks
>
> <primitive id="mySpecialRsc" class="ocf" type="Special" provider=”me”>
> <instance_attributes id=”special-node1” score=”3”>
> <rule id="node1-special-case">
> <expression id="node1-special-case-expr" attribute="#uname" operation="eq"
> value="node1"/>
> </rule>
> <nvpair id="node1-interface" name="interface" value="eth1"/>
> </instance_attributes>
> .....
>



-- 
Dream with longterm vision!
kerdosa
_______________________________________________
Pacemaker mailing list
Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Reply via email to