[Pacemaker] using xml for rules

Pavlos Parissis pavlos.parissis at gmail.com
Mon Nov 15 08:47:30 EST 2010


On 15 November 2010 14:18, Dan Frincu <dfrincu at streamwide.ro> wrote:
> Pavlos Parissis wrote:
>
> On 15 November 2010 08:14, Andrew Beekhof <andrew at beekhof.net> wrote:
>
>
> On Thu, Nov 11, 2010 at 2:10 PM, Pavlos Parissis
> <pavlos.parissis at gmail.com> wrote:
>
>
> I removed "score=2" from
> <rule id="working-hours-rule" boolean_op="or" score="2">
>
>
> Have a look at the schema file:
>
> http://hg.clusterlabs.org/pacemaker/stable-1.0/raw-file/tip/xml/pacemaker.rng.in
>
> http://hg.clusterlabs.org/pacemaker/stable-1.0/raw-file/tip/xml/rule.rng.in
>
> For starters: s/boolean_op/boolean-op/
>
>
> that was it! thanks a lot, now  I have to see if it is works as expected.
>
>
> BTW, any suggestion for a good xml editor which I can use to validate
> configuration?
>
>
> The crm shell? :)
>
:-) Let me refresh my question
Does anyone know any GUI based editor which will validate the conf and
inform for the correct syntax in a case of syntax error? :=)

Cheers,
Pavlos




More information about the Pacemaker mailing list