Skip to contentSkip to conversation

Live Migration KVM-84 Stock Vanilla 2.6.28.7

DISCUSSION Stuart Sheldon 1 participant 2 messages Mar 17, 2009 KVM

lore
Share & tools
lore
#0 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hey all,

I started testing live migration and seem to have his a snag... It appears to only occasionally work. Here is my setup:

2 Identical Machines:
Intel(R) Xeon(R) CPU 3050 @ 2.13GHz
8G Ram
Debian Lenny 64bit
Vanilla 2.6.28.7 kernel (loading kernel modules, not KVM-84 modules) KVM-84

Both machines are attached to an NFS server for the guest files.

Trying to transfer hosts using virtio for net and controller. Guests are running 2.6.28.7 with KVM enhancement stuff built in.

host started with:
/usr/local/kvm/bin/qemu-system-x86_64 -name lenny64/1
- -m1024 -nographic -monitor telnet:localhost:5501,server,nowait
- -serial telnet:localhost:5601,server,nowait
- -drivefile=/home/lenny64/hdisc.img,if=virtio,cache=writeback,boot=on
- -netnic,macaddr=52:54:00:12:00:01,model=virtio-nettap,ifname=tap1,script=/etc/kvm/kvm-ifup-br0

- -daemonize

Migration Host Started With
host started with:
/usr/local/kvm/bin/qemu-system-x86_64 -name lenny64/1
- -m1024 -nographic -monitor telnet:localhost:5501,server,nowait
- -serial telnet:localhost:5601,server,nowait
- -drivefile=/home/lenny64/hdisc.img,if=virtio,cache=writeback,boot=on
- -netnic,macaddr=52:54:00:12:00:01,model=virtio-nettap,ifname=tap1,script=/etc/kvm/kvm-ifup-br0

- -daemonize -incoming tcp:0:4601

Execute migrate tcp:migrationhost:4601

Sometimes it moves without a problem, other times the migrated host hangs without reponse...

Let me know what I can do to help fix this feature, or if I'm doing something wrong...

Thanks in advance,

Stu Sheldon
ACT USA

- --
Well I've always had a deep respect, And I mean that most sincerely. The band is just fantastic, that is really what I think. Oh by the way, which one's Pink?
-- Pink Floyd - "Have a Cigar Lyrics"
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkm+6tEACgkQK69Y+xPZrWZNPACff3uuaxWc29jImTjJ+n5SUyGz hQ4AmgImfDORPBCXuExgqnQerDtWKVNX
=/Jn9
-----END PGP SIGNATURE-----

#1 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Update on this...

The 32bit guests migrate fine if they are under low load. It looks like the 64bit guests consistently become unresponsive during the migration.

Stu

Quoted 43 lines · Stuart Sheldon

Hey all,

I started testing live migration and seem to have his a snag... It appears to only occasionally work. Here is my setup:

2 Identical Machines:
Intel(R) Xeon(R) CPU 3050 @ 2.13GHz
8G Ram
Debian Lenny 64bit
Vanilla 2.6.28.7 kernel (loading kernel modules, not KVM-84 modules) KVM-84

Both machines are attached to an NFS server for the guest files.

Trying to transfer hosts using virtio for net and controller. Guests are running 2.6.28.7 with KVM enhancement stuff built in.

host started with:
/usr/local/kvm/bin/qemu-system-x86_64 -name lenny64/1

(quoted diff) +0 -6
-m1024 -nographic -monitor telnet:localhost:5501,server,nowait
-serial telnet:localhost:5601,server,nowait
-drivefile=/home/lenny64/hdisc.img,if=virtio,cache=writeback,boot=on
-
-netnic,macaddr=52:54:00:12:00:01,model=virtio-nettap,ifname=tap1,script=/etc/kvm/kvm-ifup-br0
 
-daemonize

Migration Host Started With
host started with:
/usr/local/kvm/bin/qemu-system-x86_64 -name lenny64/1

(quoted diff) +0 -6
-m1024 -nographic -monitor telnet:localhost:5501,server,nowait
-serial telnet:localhost:5601,server,nowait
-drivefile=/home/lenny64/hdisc.img,if=virtio,cache=writeback,boot=on
-
-netnic,macaddr=52:54:00:12:00:01,model=virtio-nettap,ifname=tap1,script=/etc/kvm/kvm-ifup-br0
 
-daemonize -incoming tcp:0:4601

Execute migrate tcp:migrationhost:4601

Sometimes it moves without a problem, other times the migrated host hangs without reponse...

Quoted 9 lines

Let me know what I can do to help fix this feature, or if I'm doing something wrong...

Thanks in advance,

Stu Sheldon
ACT USA

- --
To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

- --
Though it's cold and lonely in the deep dark night
I can see paradise by the dashboard light
-- Meatloaf - "Paradise by the Dashboard Light - Lyrics"
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkm/B6oACgkQK69Y+xPZrWaXkgCgjJjkCgKH3sFbnjRP0LpOtyj1 bIQAnjaSNfLI/QufHDWfnq0aTrCF1ioN
=iiY9
-----END PGP SIGNATURE-----