[Pacemaker] Problems using rules to Control Resource Options

Michael Schwartzkopff misch at multinet.de
Wed Mar 31 09:57:12 UTC 2010


Am Mittwoch, 31. März 2010 11:49:31 schrieb Michael Schwartzkopff:
> Hi,
>
> I have a resource defined according to chapter 8.4 of the pacemaker guide:
>
> <primitive class="ocf" id="resDummy" provider="pacemaker" type="Dummy">
>   <instance_attributes id="special-debian1" score="2">
>     <rule id="rule-debian1" score="INFINITY">
>       <expression id="expression-debian1" attribute="#uname" operation="eq"
> value="debian1"/>
>     </rule>
>     <nvpair id="nvpair-state-debian" state="/var/run/debian1.state"/>
>   </instance_attributes>
>   <instance_attributes id="special-debian2" score="1">
>     <rule id="rule-debian2" score="INFINITY">
>       <expression id="expression-debian2" attribute="#uname" operation="eq"
> value="debian2"/>
>     </rule>
>     <nvpair id="nvpair-state-debian" state="/var/run/debian2.state"/>
>   </instance_attributes>
> </primitive>
>
> If I try to
> cibadmin -C -x resDummy.xml
>
> the cluster tells me
> Call cib_create failed (-22): The object/attrbiute does not exist
>
> Any idea what is wrong here? Thanks for any hints.


sorry. I forget the -o resoures here. Then the error message is:


Call cib_create failed (-47): Update does not conform to the configured 
schema/DTD.

Greetings,
 
-- 
Dr. Michael Schwartzkopff
MultiNET Services GmbH
Addresse: Bretonischer Ring 7; 85630 Grasbrunn; Germany
Tel: +49 - 89 - 45 69 11 0
Fax: +49 - 89 - 45 69 11 21
mob: +49 - 174 - 343 28 75

mail: misch at multinet.de
web: www.multinet.de

Sitz der Gesellschaft: 85630 Grasbrunn
Registergericht: Amtsgericht München HRB 114375
Geschäftsführer: Günter Jurgeneit, Hubert Martens

---

PGP Fingerprint: F919 3919 FF12 ED5A 2801 DEA6 AA77 57A4 EDD8 979B
Skype: misch42




More information about the Pacemaker mailing list