[Pacemaker] crm command syntax for defining multiple instance_attributes

hj lee kerdosa at gmail.com
Thu Oct 8 20:47:59 UTC 2009


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>
.....
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20091008/423ae4d1/attachment-0001.html>


More information about the Pacemaker mailing list