Hi,

On Monday 12 December 2011 11:22:51 邱志刚 wrote:
> I have 2-node cluster of pacemaker,I want to migrate the kvm vm with
> command "migrate", but I found the vm isn't migrated,
> actually it is shutdown and then start on other node. I checked the log and
> found the vm is stopped but not migrated.

> How could I live migrate the vm ? The configuration :
> crm(live)configure# show
> primitive test1 ocf:heartbeat:VirtualDomain \
>       params config="/etc/libvirt/qemu/test1.xml"
> hypervisor="qemu:///system" \
>       meta allow-migrate="ture" priority="100" target-role="Started"
> is-managed="true" \
>       op start interval="0" timeout="120s" \
>       op stop interval="0" timeout="120s" \
>       op monitor interval="10s" timeout="30s" depth="0" \
>       op migrate_from interval="0" timeout="120s" \
>       op migrate_to interval="0" timeout="120"

I hope that "ture" is only a typo when writing the email. Otherwise its 
probably the reason why your machine stop-start instead of a nice migration. 
Try with 'allow-migrate="true"' and see if that helps.

Have fun,

Arnold

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org

Reply via email to