[Linux-HA] 2.1.2 and failover of colocated resources

Klemens Kittan kittan at cs.uni-potsdam.de
Fri Sep 21 04:56:12 MDT 2007


Am Wednesday, 19. September 2007 14:20 schrieb Andrew Beekhof:
> On 9/19/07, Andrew Beekhof <beekhof at gmail.com> wrote:
> > On 9/19/07, Klemens Kittan <kittan at cs.uni-potsdam.de> wrote:
> > > Am Tuesday, 18. September 2007 17:16 schrieb Andrew Beekhof:
> > > > On 9/18/07, Klemens Kittan <kittan at cs.uni-potsdam.de> wrote:
> > > > > > shortly I'll be releasing a revised implementation (including
> > > > > > documentation!) of colocation which will make it much more
> > > > > > intuitive and remove the need for hacks like symmetrical=true
> > > > > >
> > > > > > if anyone wants to try it sooner rather than later, grab the
> > > > > > latest from http://hg.linux-ha.org/dev and ping me for the
> > > > > > current version of the docs.
> > > > >
> > > > > Thank you for the link, we checked out the latest version (2.1.3).
> > > > > Compiling and starting worked well.
> > > > >
> > > > > We did 2 types of starting the heartbeat:
> > > > >
> > > > > a) without symmetrical="true"
> > > >
> > > > you mean on the colocation constraint right?
> > >
> > > Yes.
> > > <rsc_colocation id="group_on_drbd" from="group" to="ms_drbd"
> > > to_role="Master" symmetrical="true" score="INFINITY"/>
> > >
> > > > > The two systems started as master and slave and the group is
> > > > > started at the master node. But still when one service in this
> > > > > group fails, the complete group is deactivated and the state of
> > > > > master and slaves leaves unchanged. Normally the slave should
> > > > > become master and the group should start on this node.
> > > >
> > > > can you attach the complete CIB when the cluster is in this state?
> > >
> > > Attached cib.xml is the output of cibadmin -Q in the situation
> > > described above. Hope you can see something in there...
> >
> > ah yes, this is the reason i've not released it yet... i'd not
> > verified the master/slave interactions yet
> >
> > the placement of the masters needs to include the same sort of
> > logic... shouldn't be hard, i'll try and do that today
>
> if you grab the latest code from crm-dev you'll find it now works (and
> your example was added as a regression test to make sure it wont break
> in the future)

It works now: after killing the Masters IpAddr, the resource
group moves to the other node and the other node becomes drbd
Master. Thank you so much!
We'll do some further testing next week.

Thanks again,
Best regards,
Klemens

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

-- 
Klemens Kittan
Systemadministrator

Uni-Potsdam, Inst. f. Informatik
August-Bebel-Str. 89
14482 Potsdam

Tel.	:   +49-331-977/3125
Fax.	:   +49-331-977/3122
eMail	: kittan at cs.uni-potsdam.de

gpg --recv-keys --keyserver wwwkeys.de.pgp.net 6EA09333
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.linux-ha.org/pipermail/linux-ha/attachments/20070921/cef99fb8/attachment.pgp>


More information about the Linux-HA mailing list