Discussion:
[drbd-mc] Drbd-mc and debian Squeeze
Steve W. Kwee
2011-04-13 16:31:59 UTC
Permalink
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)

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.

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/Xen

next i will have a look at the DMC sources

kind regards

Steve


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-mc/attachments/20110413/7a33fc41/attachment.htm>
Rasto Levrinc
2011-04-13 17:25:47 UTC
Permalink
Post by Steve W. Kwee
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?
Post by Steve W. Kwee
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
Post by Steve W. Kwee
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/Xen
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.
Steve W. Kwee
2011-04-13 17:31:12 UTC
Permalink
Post by Steve W. Kwee
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?
Post by Steve W. Kwee
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
Post by Steve W. Kwee
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

Loading...