Ok, the docs were wrong... score_attribute -> score-attribute I've updated them for the next upload
Sorry about that On Mon, Nov 3, 2008 at 10:15, Adrian Chapela <[EMAIL PROTECTED]> wrote: > Andrew Beekhof escribió: >> >> On Thu, Oct 30, 2008 at 18:54, Andrew Beekhof <[EMAIL PROTECTED]> wrote: >> >>> >>> On Oct 30, 2008, at 6:24 PM, Adrian Chapela wrote: >>> >>> >>>> >>>> Hello again guys! >>>> >>>> After a hard tests, Hearbeat + Pacemaker seem to work very well now. All >>>> of rules are running OK. Tomorrow I will do more complex test. >>>> >>>> This mail is related to documentation (Pacemaker Configuration >>>> Explained, >>>> from 15/10/2008), to page 40. In this page there is this rule: >>>> <rsc_location id="WebServer-connectivity" rsc="Webserver"> >>>> <rule id="pingd-exclude-rule" score="-INFINITY" > >>>> <expression id="pingd-exclude" attribute="pingd" operation="lt" >>>> value="3000"/> >>>> </rule> >>>> <rule id="pingd-prefer-rule" score_attribute="pingd" > >>>> <expression id="pingd-prefer" attribute="pingd" operation="defined"/> >>>> </rule> >>>> </rsc_location> >>>> >>>> DTD validation fails at rule id "pingd-prefer-rule". It shows me the >>>> error: >>>> element rule: Relax-NG validity error : Element rsc_location has extra >>>> content: rule >>>> >>>> I don't know if it is a documentation error, if rule is ok... I send to >>>> you to have a look. >>>> >>> >>> i think you can only have one rule (but multiple rules inside that rule) >>> >> >> no - multiple rules are ok. >> did the resource referenced by the constraint exist when you tried to >> create the constraint? >> > > Yes, this was the error when I tried to validate the rule: > /var/run/shadow.uFzKAe:13: element rule: Relax-NG validity error : Element > rsc_location has extra content: rule > /var/run/shadow.uFzKAe:7: element rsc_order: Relax-NG validity error : > Element constraints has extra content: rsc_order > /var/run/shadow.uFzKAe:2: element configuration: Relax-NG validity error : > Invalid sequence in interleave > /var/run/shadow.uFzKAe:2: element configuration: Relax-NG validity error : > Element configuration failed to validate content > /var/run/shadow.uFzKAe:1: element cib: Relax-NG validity error : Element cib > failed to validate content > /var/run/shadow.uFzKAe:7: element rsc_order: validity error : IDREF > attribute then references an unknown ID "Montaxe_mail" > /var/run/shadow.uFzKAe:8: element rsc_colocation: validity error : IDREF > attribute rsc references an unknown ID "Montaxe_mail" > /var/run/shadow.uFzKAe:8: element rsc_colocation: validity error : IDREF > attribute rsc references an unknown ID "Montaxe_mail" > /var/run/shadow.uFzKAe:7: element rsc_order: validity error : IDREF > attribute first references an unknown ID "ms-drbd0" > /var/run/shadow.uFzKAe:8: element rsc_colocation: validity error : IDREF > attribute with-rsc references an unknown ID "ms-drbd0" > /var/run/shadow.uFzKAe:8: element rsc_colocation: validity error : IDREF > attribute with-rsc references an unknown ID "ms-drbd0" > /var/run/shadow.uFzKAe:9: element rsc_location: validity error : IDREF > attribute rsc references an unknown ID "ms-drbd0" > /var/run/shadow.uFzKAe:9: element rsc_location: validity error : IDREF > attribute rsc references an unknown ID "ms-drbd0" > cibadmin[3682]: 2008/11/03_10:10:38 ERROR: main: Call failed: Update does > not conform to the configured schema/DTD > >> can you send the rest of your config? >> > > Yes, It is attached to the mail. I have included the rule in the config > file. >> >> _______________________________________________ >> Pacemaker mailing list >> [email protected] >> http://list.clusterlabs.org/mailman/listinfo/pacemaker >> >> > > > _______________________________________________ > Pacemaker mailing list > [email protected] > http://list.clusterlabs.org/mailman/listinfo/pacemaker > > _______________________________________________ Pacemaker mailing list [email protected] http://list.clusterlabs.org/mailman/listinfo/pacemaker
