* VM terminates when doing a live migration
@ 2011-05-22 1:21 Daniel Bareiro
2011-05-22 3:39 ` Michael Stroucken
0 siblings, 1 reply; 3+ messages in thread
From: Daniel Bareiro @ 2011-05-22 1:21 UTC (permalink / raw)
To: KVM General
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
--
Fingerprint: BFB3 08D6 B4D1 31B2 72B9 29CE 6696 BF1B 14E6 1D37
Powered by Debian GNU/Linux Lenny - Linux user #188.598
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: VM terminates when doing a live migration
2011-05-22 1:21 VM terminates when doing a live migration Daniel Bareiro
@ 2011-05-22 3:39 ` Michael Stroucken
2011-05-22 6:41 ` Daniel Bareiro
0 siblings, 1 reply; 3+ messages in thread
From: Michael Stroucken @ 2011-05-22 3:39 UTC (permalink / raw)
To: dbareiro; +Cc: KVM General
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: TEXT/PLAIN; charset=X-UNKNOWN; format=flowed, Size: 917 bytes --]
On Sat, 21 May 2011, Daniel Bareiro wrote:
>
> 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?
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
"画虎画皮难画骨。 知人知面难知心。"
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: VM terminates when doing a live migration
2011-05-22 3:39 ` Michael Stroucken
@ 2011-05-22 6:41 ` Daniel Bareiro
0 siblings, 0 replies; 3+ messages in thread
From: Daniel Bareiro @ 2011-05-22 6:41 UTC (permalink / raw)
To: KVM General
[-- Attachment #1: Type: text/plain, Size: 1902 bytes --]
Hi, Michael.
On Saturday, 21 May 2011 23:39:27 -0400,
Michael Stroucken wrote:
>> 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?
> 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.
> 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
--
Fingerprint: BFB3 08D6 B4D1 31B2 72B9 29CE 6696 BF1B 14E6 1D37
Powered by Debian GNU/Linux Lenny - Linux user #188.598
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 197 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-05-22 6:41 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-22 1:21 VM terminates when doing a live migration Daniel Bareiro
2011-05-22 3:39 ` Michael Stroucken
2011-05-22 6:41 ` Daniel Bareiro
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.