Sorry for the reply only to you!

I will add the meta tag and try it then

The meta tag is not mentioned in the VirtualDomain script or on
the Documentation Page
http://people.linbit.com/~florian/heartbeat-users-guide/re-ra-VirtualDomain.html<http://people.linbit.com/%7Eflorian/heartbeat-users-guide/re-ra-VirtualDomain.html>

Thanks

The transport I figured out by running the sed script on what should be
returned. If using qemu:///system as the hypervisor it changed it to
qemutcp://kvm2/system on the system I have configured. That is why I used
the plus.

r...@kvm2:~# crm configure show test1
primitive test1 ocf:heartbeat:VirtualDomain \
        params config="/etc/libvirt/qemu/test1.xml"
hypervisor="qemu:///system" migration_transport="+tcp" force_stop="0" \
        op start interval="0" timeout="90" \
        op stop interval="0" timeout="90" \
        op status interval="10" timeout="30" depth="0" \
        op monitor interval="10" timeout="30" depth="0" \
        op migrate_from interval="0" timeout="60" \
        op migrate_to interval="0" timeout="120" \
        op meta-data interval="0" timeout="5" \
        op validate-all interval="0" timeout="5" \
        meta allow-migrate="true"
r...@kvm2:~#

Is this the correct entry for the migration policy.  Or could you forward
and example to me.  This also caused problems with other hosts attempting to
stop and restart on the other node.

Thank you

On Fri, Jan 15, 2010 at 2:48 AM, Florian Haas <[email protected]>wrote:

> On 01/14/2010 06:37 PM, Mark Burgo wrote:
> > While the code is in place for the migration of kvm host I am having a
> > problem getting migration to work.  It instead stop and restarts all vm
> > on the opposite host.
>
> You need "meta allow-migrate=true".
>
> And, your migration_transport is faulty. Should be "tcp", not "+tcp".
>
> Cheers,
> Florian
>
>
> _______________________________________________________
> Linux-HA-Dev: [email protected]
> http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
> Home Page: http://linux-ha.org/
>
>
_______________________________________________________
Linux-HA-Dev: [email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/

Reply via email to