On 8/17/07, Klemens Kittan <[EMAIL PROTECTED]> wrote:
> Am Fr 17.08.2007 14:20, Andrew Beekhof <[EMAIL PROTECTED]> schrieb:
>
> > On 8/17/07, Klemens Kittan <[EMAIL PROTECTED]> wrote:
> > > >> we have no solution, but a problem that looks very similar:
> > > >> We have a drbd master/slave resource and a resource group
> > > >> including an IPAddr.
> > > >>
> > > >> We want the resource group to run on the node that is drbd-master
> > > >> and need these failover behaviours:
> > > >> 1. Master role moves (e.g. after stopping drbd on the Master node),
> > > >>     the group should follow.
> > > >> 2. If the group fails (e.g. after ifconfig bond0:0 down),
> > > >>     drbd Master and after that the resource group itself
> > > >>     should move to the other node.
> > > >>
> > >
> > > > if the group cant run anywhere, should drbd run (or at least me in 
> > > > master
> > > > mode)?
> > >
> > > No.
> >
> > in that case, add symmetrical=true to your colocation constraint
> >
>
> OK, thanks.
> I will try with this two constrains:
> <rsc_colocation id="group_on_drbd0" from="group" to_role="Master" to="ms_drbd"
> score="INFINITY" symmetrical="true"/>
> <rsc_order id="drbd_promote" from="group" action="start" to="ms_drbd"
> to_action="promote"/>
>
> Am I right that symmetrical=true is the default value?

no
i should probably make that explicit in the dtd...
_______________________________________________
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