WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

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

To: James Bach <notshadowgamers@xxxxxxxxx>
Subject: Re: [Xen-users] KVM -> Xen migration
From: Grant McWilliams <grantmasterflash@xxxxxxxxx>
Date: Fri, 16 Sep 2011 12:38:53 -0700
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 16 Sep 2011 12:40:39 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=T7iG1bQeiOQxUBo2M08gjTb2M/8/XF7iFEAbUB0Lz7U=; b=md3+Fmm2Fmp8kVYW2oMECIivNE0U/9ILG/eseDU9ZEfvWa1hyq6BmHcZICIHMUqB/X f0iNMiAA+0LMoNUBNPAs6zniXJ/ZqR0lpLkIeI47QOcGB9bQmXFKdTO3rt4SuIFfAsaS Tjld6JF0R9an810NWmvtUhVVrTGCMHL/vKN6Q=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <CA+QMpHw93sKRZrxpy6p7uMJEeCefQR0b4Rd2z3Ey9UtanB5tDw@xxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <CA+QMpHw93sKRZrxpy6p7uMJEeCefQR0b4Rd2z3Ey9UtanB5tDw@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx


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
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>