[Pacemaker] could live migration without pause VM?
Andrew Beekhof
andrew at beekhof.net
Mon Jul 16 04:14:27 UTC 2012
On Mon, Jul 9, 2012 at 5:58 PM, hcyy <caiyanyang at yahoo.com.cn> wrote:
> Hello, everybody.****
>
> I use NFS to do live migration。After input crm resource migrate
> vm12 pcmk-2,it use almost 10s for preparation. During the 10s,the vm is
> still runing and can ping other vm. But if i input mkdir pcmk-6 in vm
> during the 10s,it say :mkdir: cannot create directory `pcmk-6': Read-only
> file system.****
>
> Anybody can tell me this situation is due to my wrong configure
> or libvirt cannot mkdir during migration?
>
That sounds like a question for whoever makes the virtualization software
you're using.
I can't think of anything the cluster could do to affect this.
> ****
>
> thanks!
>
>
>
> primitive vm12 ocf:heartbeat:VirtualDomain \****
>
> params config="/share/vm12.xml" migration_transport="ssh"
> hypervisor="qemu:///system" \****
>
> meta allow-migrate="true" is-managed="true" target-role="Started" \
> ****
>
> op migrate_from interval="0" timeout="240s" \****
>
> op migrate_to interval="0" timeout="240s" \****
>
> op start interval="0" timeout="120s" \****
>
> op stop interval="0" timeout="120s" \****
>
> op monitor interval="10" timeout="200s" on-fail="restart"
> depth="0" \****
>
> utilization memory="5120"****
>
>
>
> primitive Mount_nfs ocf:heartbeat:Filesystem \****
>
> params device="10.50.4.13:/export/yanyang" directory="/share"
> fstype="nfs" options="rw,hard,intr" \****
>
> op monitor interval="120s" timeout="90s" \****
>
> op start interval="0" timeout="120s" \****
>
> op stop interval="0" timeout="120s" \****
>
> meta target-role="Started"****
>
> **
>
> _______________________________________________
> Pacemaker mailing list: Pacemaker at 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20120716/7c9d3744/attachment.htm>
More information about the Pacemaker
mailing list