Live migration doesn't work

docent

Renowned Member
Jul 23, 2009
96
1
73
hi!

I have PVE 1.4b2 cluster vs DRBD.
Code:
Linux cl8 2.6.24-8-pve #1 SMP PREEMPT Mon Sep 28 16:25:36 CEST 2009 x86_64 GNU/Linux
There are 2 kvm VMs on the cluster: Windows XP and Debian 5.03.
Code:
name: MVS
vlan0: e1000=42:1D:E4:FB:5B:58,virtio=36:9B:1F:6F:BB:97
bootdisk: ide0
ostype: wxp
ide0: drbd0st:vm-101-disk-1
memory: 512
sockets: 1
cores: 2
onboot: 0
virtio0: drbd0st:vm-101-disk-2
ide1: local:iso/virtio-setup-200908.iso,media=cdrom
Code:
name: pbx
vlan0: virtio=92:83:39:06:C9:25
bootdisk: virtio0
virtio0: drbd0st:vm-104-disk-1
ostype: l26
memory: 256
sockets: 1
onboot: 0
cores: 2
virtio1: drbd0st:vm-104-disk-2
I tried to migrate WinXP a lot and it works fine.
Code:
/usr/sbin/qmigrate --online 10.1.16.249 101
Oct 03 10:58:25 starting migration of VM 101 to host '10.1.16.249'
Oct 03 10:58:25 copying disk images
Oct 03 10:58:25 starting VM on remote host '10.1.16.249'
Oct 03 10:58:26 starting migration tunnel
Oct 03 10:58:26 starting online/live migration
Oct 03 10:58:28 migration status: active
Oct 03 10:58:38 migration status: completed
Oct 03 10:58:38 migration speed: 42.67 MB/s
Oct 03 10:58:38 migration finished successfuly (duration 00:00:14)
VM 101 migration done
But, when I try to migrate Debian, the migration looks like successfuly, but VM hangs after migration and PVE manager shows CPU load of this VM about 180%.
Code:
/usr/bin/ssh -t -t -n -o BatchMode=yes 10.1.16.249 /usr/sbin/qmigrate --online 10.1.16.248 104
Oct 03 10:52:24 starting migration of VM 104 to host '10.1.16.248' 
Oct 03 10:52:24 copying disk images 
Oct 03 10:52:25 starting VM on remote host '10.1.16.248' 
Oct 03 10:52:25 starting migration tunnel 
Oct 03 10:52:26 starting online/live migration 
Oct 03 10:52:28 migration status: active 
Oct 03 10:52:30 migration status: completed 
Oct 03 10:52:30 migration speed: 64.00 MB/s 
Oct 03 10:52:31 migration finished successfuly (duration 00:00:07) 
Connection to 10.1.16.249 closed. 
VM 104 migration done
 
I have already done about 40 live migrations without any error. But I have never moved a KVM VM - only OpenVZ and this worked alway very well.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!