Hi,

On Wed, Sep 23, 2009 at 11:07:27PM +0200, Jean Baptiste Favre wrote:
> Hello,
> I'm still building a xen cluster managed by pacemaker/openais.
> Things are quite close to be OK I think, execpt when I want to put a
> node in standby mode:
> When it happens, all XEN VM are shut down and restarted on the other node.
> When I ask for ressource migration, XEN Live Migration does the job so
> that no downtime occurs.
> 
> Is there any way to "slow down" standby mode so that XEN VM can migrate
> gracefully ?

There are no special options for standby, but I think that it
should do migrate instead of stop/start if migrate is allowed.
Did you see anything suspicious in the logs? If not, then you
should open a bugzilla.

Thanks,

Dejan

> Bellow you can find my cluster configuration, if it can help.
> 
> Thanks,
> JB
> 
> =======================================
> node remus attributes standby="false"
> node romulus attributes standby="false"
> primitive Cluster-ocfs-DRBD ocf:linbit:drbd \
>       params drbd_resource="cluster-ocfs" \
>       operations $id="Cluster-ocfs-DRBD-operations" \
>       op monitor interval="20" role="Master" timeout="20" \
>       op monitor interval="30" role="Slave" timeout="20"
> primitive Cluster-ocfs-FS ocf:heartbeat:Filesystem \
>       params device="/dev/drbd/by-res/cluster-ocfs" \
>       directory="/cluster" fstype="ocfs2"
> primitive xps-101-DRBD ocf:linbit:drbd \
>       params drbd_resource="xps-101" \
>       operations $id="xps-101-DRBD-operations" \
>       op monitor interval="20" role="Master" timeout="20" \
>       op monitor interval="30" role="Slave" timeout="20"
> primitive xps-101 ocf:heartbeat:Xen \
>       params xmfile="/cluster/xen/xps-101.cfg" allow_migrate="true" \
>       op monitor interval="10s" \
>       meta allow-migrate="true"
> ms Cluster-ocfs-MS Cluster-ocfs-DRBD \
>       meta resource-stickines="100" master-max="2" notify="true" \
>       interleave="true"
> ms xps-101-MS xps-101-DRBD \
>       meta resource-stickines="100" master-max="2" notify="true" \
>       interleave="true"
> clone Cluster-ocfs-FSCL Cluster-ocfs-FS \
>       meta interleave="true" ordered="true"
> colocation xps-101-Xen-DRBD inf: xps-101 xps-101-MS:Master
> order Cluster-ocfs-AfterDRBD inf: Cluster-ocfs-MS:promote \
>       Cluster-ocfs-FSCL:start
> order xps-101-AfterDRBD inf: xps-101-MS:promote xps-101:start
> property $id="cib-bootstrap-options" \
>       dc-version="1.0.4-2ec1d189f9c23093bf9239a980534b661baf782d" \
>       cluster-infrastructure="openais" \
>       expected-quorum-votes="2" \
>       last-lrm-refresh="1253739607" \
>       node-health-red="0" \
>       stonith-enabled="false" \
>       no-quorum-policy="ignore"
> _______________________________________________
> Linux-HA mailing list
> [email protected]
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems
_______________________________________________
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