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"
_______________________________________________
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