[Pacemaker] could live migration without pause VM?

hcyy caiyanyang at yahoo.com.cn
Mon Jul 9 07:58:59 UTC 2012


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?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"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20120709/7b18f27f/attachment-0003.html>


More information about the Pacemaker mailing list