On Tue, Mar 11, 2008 at 3:13 PM, Andreas Kurz <[EMAIL PROTECTED]> wrote:
> On Tue, Mar 11, 2008 at 2:32 PM, Dejan Muhamedagic <[EMAIL PROTECTED]> wrote:
>  > Hi,
>  >
>  >
>  >  On Tue, Mar 11, 2008 at 11:56:07AM +0100, Andreas Kurz wrote:
>  >  > On Tue, Mar 11, 2008 at 11:02 AM, Sebastian Reitenbach
>  >  > <[EMAIL PROTECTED]> wrote:
>  >  > > Hi,
>  >  > >
>  >  > >  I want to achieve the following:
>  >  > >  I have two groups of resources, these shall run on the same host, and
>  >  > >  startup in a given order.
>  >  > >
>  >  > >  Therefore I created an order and an collocation constraint.
>  >  > >  So group1 starts before group2, and the collocation says, if group1 
> is not
>  >  > >  able to run on a node, group2 will not start.
>  >  > >
>  >  > >  However, if all resources in group1 are started, then the resources 
> in
>  >  > >  group2 are started too. But when I then shutdown any single resource 
> in
>  >  > >  group1, then group2 stops working too.
>  >  > >  I am not sure, whether my collocation or order is the reason for the
>  >  > >  observed behavior.
>  >  >
>  >  > I have not tried it by myself but there are these "Advisory-Only
>  >  > Ordering" constraints:
>  >  >
>  >  > <rsc_order id="orderid" from="res2" to="res1" score="0"/>
>  >
>  >  Good advice. Though even when all of the group1 is stopped,
>  >  group2 won't stop either.
>
>  According to the documentation it should ... and after doing some
>  ptests, I see it does ;-). If the complete group1 is stopped, group2
>  is stopped to. If only one resource in group1 is stopped, group2 does
>  nothing.

Maybe I've been on vacation too long, but that sounds strange.
Where did I write that?  I'd have expected group2 to keep running in
either case.
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to