[Pacemaker] colocation and ordering for groups/clones/instances

Andrew Beekhof andrew at beekhof.net
Tue Oct 4 19:45:32 EDT 2011


On Wed, Oct 5, 2011 at 10:21 AM, gustavo panizzo <gfa> <gfa at zumbi.com.ar> wrote:
> hi list
>    what should i use to create dependencies? to a resource that run on
> all the nodes?
>
> (resumed) required order is
> clone     -> clone2    ->  RG
> all boxes    all boxes     one box
>
> colocation col_name +inf: clone2 clone
> colocation col_name +inf: group clone2
> order ord_name +inf: clone2 group symmetrical=false
> order ord_name +inf: clone clone2 symmetrical=false

drop the symmetrical=false parts

>
>
> when i restart a machine (not the one with RG on it), clone starts on it
> RG gets stopped where is running until clone is fully up

that doesn't sound right. can you include the result of cibadmin -Ql
when the cluster is in this state?

>
> what am i missing? i've tried to use group:instance for colocation and
> order rules but does not pass the syntax check
>
> 4 nodes cluster, suse 11 sp1
> clone and clone2 are clones from (different) groups. RG is a resource
> group
>
>
>
> thanks!
>
> --
> 1AE0 322E B8F7 4717 BDEA  BF1D 44BB 1BA7 9F6C 6333
>
>
> _______________________________________________
> 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