[Pacemaker] Ordering Sets of Resources within Groups

Andrew Beekhof andrew at beekhof.net
Tue Apr 12 06:35:06 UTC 2011


On Mon, Apr 11, 2011 at 11:21 PM, Ulf <mopp at gmx.net> wrote:
> Hi Andrew,
>
>>> As crm command it should be something like this:
>>> order start-order 0: ( A B ) C D ( E F )
>>> In this example score 0 is set, but I want to set "no score", how to do it?
>
>>Your question doesn't make sense.  There is always a score, whether
>>you supply one or not.
> Is there a difference between? Or is in both cases the score 0?
> order start-order 0: ( A B ) C D ( E F )
> and
> order start-order : ( A B ) C D ( E F )

Even if the latter was legal syntax, which I'm pretty sure its
shouldn't be, it would be equivalent to the first form

>
>
>>If you mean "within a set", then you'll need   X ( A B ) C D ( E F )
>>Starting X will then allow everything else to start assuming i recall
>
> Here is my complete configuration from my last test, which still doesn't work.

Look up the meaning of score=0 for ordering constraints.

> After starting start_trigger the other resource remain offline.
> # crm configure
> primitive start_trigger ocf:pacemaker:Dummy
> primitive A ocf:pacemaker:Dummy
> primitive B ocf:pacemaker:Dummy
> primitive C ocf:pacemaker:Dummy
> primitive D ocf:pacemaker:Dummy
> primitive E ocf:pacemaker:Dummy
> primitive F ocf:pacemaker:Dummy
> order start-order1 : start_trigger ( A B ) C D ( E F )
> commit
>
> All resources are now online and distributed on both nodes
> # crm resource
> stop start_trigger
> start_trigger is stopped now. But all other resources are still online.
> Stopping all resources manually and starting start_trigger again
>
> start start_trigger
> Only start_trigger starts, all other resources are still offline.
>
> Is it planned to allow some more order rules in groups? E. g. parallel start of some resources in a group?

Never.

>
> Cheers,
> Ulf
> --
> GMX DSL Doppel-Flat ab 19,99 Euro/mtl.! Jetzt mit
> gratis Handy-Flat! http://portal.gmx.net/de/go/dsl
>
> _______________________________________________
> Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs: http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker
>




More information about the Pacemaker mailing list