Hi,
General Linux-HA mailing list <linux-ha@lists.linux-ha.org> 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.
sorry for my late reply, but I had not time in between to test, and I have 
to say, thanks a lot, this works very well, exactly what I wanted.

kind regards
Sebastian

_______________________________________________
Linux-HA mailing list
Linux-HA@lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to