[Pacemaker] Problems using rules to Control Resource Options

Michael Schwartzkopff misch at multinet.de
Wed Mar 31 06:33:15 EDT 2010


Am Mittwoch, 31. März 2010 12:19:23 schrieb Rasto Levrinc:
> On Wed, March 31, 2010 11:57 am, Michael Schwartzkopff wrote:
> > 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"/>
>
> nvpair should have "name" and "value" attributes.
>
> >> </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"/>
>
> nvpair should have "name" and "value" attributes.
>
> Rasto

Oops, yes. simple syntax error.

But after correcting the problem the the error still remains.
:-(

-- 
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 979BSkype: 
misch42




More information about the Pacemaker mailing list