VM terminates when doing a live migration
Hi all!
I'm doing some testing with KVM Live Migration. SS01 (VMHost) has Debian GNU/Linux 6.0.1 and Defiant (VMHost) has Debian GNU/Linux 5.0.8. Defiant has Linux 2.6.32-15~bpo50+1 and 0.12.5+dfsg-3~bpo50+2, and SS01 has Linux 2.6.32-31 and 0.12.5+dfsg-5+squeeze1. Both instalation are 32-bit, but the kernel in SS01 is amd64 and the kernel in Defiant is 686.
Migration from Defiant to SS01 is completed successfully, but when trying to migrate a VM from SS01 to Defiant, the VM terminates (segfault?). This is due to the difference in the kernel of each VMHost?
Thanks in advance for your replies.
Regards,
Daniel
[1] http://www.linux-kvm.org/page/Migration
Signature · 2 lines
Fingerprint: BFB3 08D6 B4D1 31B2 72B9 29CE 6696 BF1B 14E6 1D37 Powered by Debian GNU/Linux Lenny - Linux user #188.598
Quoted 9 lines · Daniel Bareiro
Hi all!
I'm doing some testing with KVM Live Migration. SS01 (VMHost) has Debian GNU/Linux 6.0.1 and Defiant (VMHost) has Debian GNU/Linux 5.0.8. Defiant has Linux 2.6.32-15~bpo50+1 and 0.12.5+dfsg-3~bpo50+2, and SS01 has Linux 2.6.32-31 and 0.12.5+dfsg-5+squeeze1. Both instalation are 32-bit, but the kernel in SS01 is amd64 and the kernel in Defiant is 686.
Quoted 3 lines
Migration from Defiant to SS01 is completed successfully, but when trying to migrate a VM from SS01 to Defiant, the VM terminates (segfault?). This is due to the difference in the kernel of each VMHost?
Can you try saving the vms state to a file on ss01 and restoring it on defiant?
Do migrations between ss01 and another amd64 box work?
Greetings,
Michael.
--
Michael Stroucken
Pr Research Programmer
Carnegie Mellon University
"画虎画皮难画骨。 知人知面难知心。"
Hi, Michael.
Quoted 7 lines · Michael Stroucken
Quoted 7 lines
I'm doing some testing with KVM Live Migration. SS01 (VMHost) has Debian GNU/Linux 6.0.1 and Defiant (VMHost) has Debian GNU/Linux 5.0.8. Defiant has Linux 2.6.32-15~bpo50+1 and 0.12.5+dfsg-3~bpo50+2, and SS01 has Linux 2.6.32-31 and 0.12.5+dfsg-5+squeeze1. Both instalation are 32-bit, but the kernel in SS01 is amd64 and the kernel in Defiant is 686.
Quoted 7 lines
Quoted 4 lines
Migration from Defiant to SS01 is completed successfully, but when trying to migrate a VM from SS01 to Defiant, the VM terminates (segfault?). This is due to the difference in the kernel of each VMHost?
Can you try saving the vms state to a file on ss01 and restoring it on defiant?
I tried following your suggestion but same thing happens:
ss01:~# kvm -m 256 -boot d -net nic,vlan=0,macaddr=52:54:67:92:9d:63 \ -net tap -daemonize -vnc :15 -k es -localtime -cdrom \ /mnt/systemrescuecd-x86-2.0.1.iso -monitor telnet:localhost:4055,server,nowait
ss01:~# telnet localhost 4055 Trying ::1... Connected to localhost. Escape character is '^]'. QEMU 0.12.5 monitor - type 'help' for more information (qemu) stop (qemu) migrate_set_speed 4095m (qemu) migrate "exec:gzip -c > STATEFILE.gz" Connection closed by foreign host.
ss01:~# ps ax|grep systemrescuecd 26564 pts/0 S+ 0:00 grep systemrescuecd
It appears that the 'migrate' command causes termination of the virtual machine to these parameters as well.
Quoted 1 line
Do migrations between ss01 and another amd64 box work?
I have not tried a migration where both source and destination have the same characteristics (i386 installation and amd64 kernel).
Thanks for your reply.
Regards,
Daniel
Signature · 2 lines
Fingerprint: BFB3 08D6 B4D1 31B2 72B9 29CE 6696 BF1B 14E6 1D37 Powered by Debian GNU/Linux Lenny - Linux user #188.598