Migration issue - disk image was not updated.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi!

I have the following issue during live migration without shared storage:

Node A with VM  started:

VM_IMAGE="/usr/local/virtual/img/win-xp-test-migrate.img"
VM_NAME="win-xp-test-m"
DEV0="kvm_m1"

/usr/bin/tunctl -b -u root -t ${DEV0}
/sbin/ifconfig  ${DEV0} up
screen -dmS $VM_NAME \
    TMPDIR=/var/tmp/ /usr/bin/kvm \
    -hda $VM_IMAGE \
    -net nic -net tap,ifname=${DEV0},script=no,downscript=no \
    -boot c \
    -vnc :15 \
    -usbdevice tablet \
    -usb \
    -monitor tcp:127.0.0.1:4415,server,nowait \
    -monitor unix:/tmp/${VM_NAME}.fifo,server,nowait


Node B with VM started:

VM_IMAGE="/usr/local/virtual/img/win-xp-test-migrate.img"
VM_NAME="win-xp-test-m"
DEV0="kvm_m1"

TMPDIR="/var/tmp/"  /usr/bin/kvm \
    -hda $VM_IMAGE \
    -net nic -net tap,ifname=${DEV},script=no,downscript=no \
    -boot c \
    -vnc :15 \
    -usbdevice tablet \
    -usb \
    -snapshot \
    -monitor tcp:127.0.0.1:4415,server,nowait \
    -monitor unix:/tmp/${VM_NAME}.fifo,server,nowait \
    -incoming tcp:172.16.253.1:9999

When I tried to migrate VM from Node A to node B with the following command: migrate -d -b tcp:172.16.253.1:9999 migration was completed w/o errors, but VM started on node B
did not see disk ${VM_IMAGE}

As I can see using lsof tool, disk was migrated into tmp file /var/tmp/vl.75BIcF :

lsof
<skipped>
qemu-syst 21377 root 11u REG 9,3 21478375424 4057182 /var/tmp/vl.75BIcF (deleted)


and  ${VM_IMAGE} was not updated


Could you please explain me what is wrong in my configuration?

Regrads,

----------------------------------------------------------
Max Mazur



                               Email:   sirmax@xxxxxxxxxxxxx
                               ICQ:     99610406
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux