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

Re: [Xen-users] KVM -> Xen migration

On Fri, Sep 16, 2011 at 9:24 AM, James Bach <notshadowgamers@xxxxxxxxx> wrote:
Hi there folks,

I've recently been appointed to create some VMs for production use, and went gung ho into making a KVM based VM instead of finding out what our production server uses.

I've only recently found out though that our own servers use Xensource OS, and don't look like they're going to be upgraded in the near future. So for the moment, I'm stuck with either two choices- attempting to convert the KVM VM into a Xen VM, or rebuilding what I have into a new Xen VM.

Being the lazy person I am, I would rather not have to rebuild the VM. I've looked for some documentation on a procedure to do this, but the only thing I can come up with is an ancient article with some vague instructions.

So this is my question- can one migrate a KVM running on a KVM kernel to a Xen kernel? And if so, how?

Some stats for you;

I built the KVM under CentOS 6 x64 kernel is 2.6.32-71.29.1.el6.x86_64. The guest was installed with a CentOS6 64bit and has the same kernel.

The KVM config is here ( http://pastebin.com/yAYAgi2Q ), saving you from the madness that is unformatted email-xml.

Xen is built on a CentOS 5.7 i686 w/2.6.18-238.el5xen kernel. (also I'll make a 32bit test KVM image since you have to be a madman to think 64b will run on a para-virt 32b machine). The OS on the Guest is CentOS 5.6 w/ a 2.6.18-238.el5xen

Xen configs are here ( http://pastebin.com/9eaFP7HP )

Need anything else?

So you have a 64 bit Virtual Machine for KVM and you'd like to run it under a 32 bit Xen Host? I was going to give you a nice tutorial until we got to that part. ÂIf your KVM guest was 32 bit you might have something as the CentOS 6 guest runs fine on a CentOS 5.7 Host as long as architecture on the host is at least as capable as the guest. In Xen we call guests DomU's and hosts Dom0's.

Grant McWilliams

Xen-users mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.