[drbd-mc] Drbd-mc and debian Squeeze

Steve W. Kwee kwee at it-warehouse.de
Wed Apr 13 19:31:12 CEST 2011


On Wed, April 13, 2011 6:31 pm, Steve W. Kwee wrote:
> Hello,
>
>
> I am running DMC with a small cluster of debian squeeze hosts with 
> default packages (pacemaker 1.0.9, corosync) and found 3 problems when

> using the default ocf-xen resource agent
>
> 1. allow_mem_management=true/false
> the agent expects 0/1 instead of true/false. has been fixed in a later

> version of the RA (macro ocf_is_true)

So in the later version it works, right?

>
> 2. DMC does not support allow-migrate
> With allow-migrate=true live migration of a drbd-backed domU works 
> like a charm. I fixed this manually but every time i use "apply" in 
> the DMC this  parameter is lost.

allow-migrate is already available in dmctest-0.9.1.dev.7.jar in
http://oss.linbit.com/drbd-mc/ There are also migrate_from, migrate_to
timeouts that I've already implemented and soon will be available as
dmctest-0.9.1.dev.8.jar

>
> 3. shutdown_timeout=true/false
> The RA expects a numerical value, DMC passes true/false This seems to 
> be true even for the latest version of the RA from 
> https://github.com/ClusterLabs/resource-agents/blob/master/heartbeat/X
> en

In the old RA, there's

<shortdesc lang="en">Shutdown escalation timeout</shortdesc> <content
type="boolean" default="" />

In the github version it's been already fixed to a string type. So if
you install the new version on all nodes, restart the DRBD:MC it should
be fixed.

Thanks,
Rasto


--
: Dipl-Ing Rastislav Levrinc
: DRBD MC http://oss.linbit.com/drbd-mc/
: DRBD MC http://www.drbd.org/mc/management-console/
: DRBD/HA support and consulting http://www.linbit.com/
DRBD(R) and LINBIT(R) are registered trademarks of LINBIT, Austria.


_______________________________________________
drbd-mc mailing list
drbd-mc at lists.linbit.com
http://lists.linbit.com/mailman/listinfo/drbd-mc


Hello,

Thank you for this very fast reply!

Looking at the java sources I found that the problem was with the RA and
not with DMC.
Right, if i fix the RA's XML-Metadata everything works as expected.

I will check out dmctest-0.9.1.dev.x.jar

Thanks,
Steve




More information about the drbd-mc mailing list