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] P2V question

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] P2V question
From: Mark Pryor <tlviewer@xxxxxxxxx>
Date: Mon, 12 Apr 2010 16:13:59 -0700 (PDT)
Delivery-date: Mon, 12 Apr 2010 16:15:11 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1271114040; bh=jbUtbkWjg0pD+kDsI3NNQYbb7PO+3tPVogq0eo5pHc0=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=Xo/5nw8RDp5P4H5LRsqMx94TBA/weoroBTlx893jq417KoE58YXoVH0cfdhUuV7f9IoFEHkbmQ8EL74zagYHa/HLuSUxqwppOXspkm410HrpaAuQjVngfvbGXLL8qL/H013/AERs1kMXY/Q3yqaXWjGZBWQLXeMcU+2uDx1Awu0=
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=PQrBVSmCBSRa9RieiUKBnNmjX2Pv/Uj3EsSQNGbCSDyB+dJABjYOz50UyrAJ+j+KFxGMlpjXoVkfhqO/kpRBEhMzUCjVg6ktFHzVieublUa8jQjRM4oM8lk8bfNK9crEft9VlwRKZ9gsqq88UaPFplQ3mC1hK3bHBqyL7CAxLVM=;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <554-4bc38880-16f-1a87d8e0@260614740>
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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx

--- On Mon, 4/12/10, Donny Brooks <dbrooks@xxxxxxxxxxxxxxxx> wrote:

> From: Donny Brooks <dbrooks@xxxxxxxxxxxxxxxx>
> Subject: [Xen-users] P2V question
> To: xen-users@xxxxxxxxxxxxxxxxxxx
> Date: Monday, April 12, 2010, 1:54 PM
> I am looking at virtualizing a few
> CentOS 5.4 and Fedora 11 servers (all 64-bit) here at work
> onto a brand new shiny Xen 3.4.2 CentOS 5.4 machine. To move
> the physical machine to a virtual machine should it be as
> easy as
> 1. Setup the LVM LV to house the disk on the xen server
> 2. Boot the physical machine from a live/rescue cd and use
> dd to copy the disk over to the LV on the xen machine.
> 3. Mount the LV and change the grub.conf, fstab, and update
> the kernel to one that will do paravirt
> 4. Setup the guest.xml file and boot
> 

The linked file is a dump of the relevant configs you mentioned above.
The traced domU guest is C5 x86_64 with a paravirtual kernel-xen. 

Unlike Ubuntu and Fedora, but like opensuse, Centos uses a xen kernel in domU. 
The others use a pv_ops kernel.

guest.xml implies using libvirt. You can survive without libvirt and use
the xen-tools (xm).

-Notice that all hypervisor (xen.gz) references are gone from fstab.
-Use labels for your /root and /home
-xennet and xenblk.ko are the pivotal PV drivers (xennet is in kernel)
-your bootloader is pygrub
-pygrub can be dryrun in dom0 pointed to your domU LVM (for test)
-your PV kernel is kernel-xen (this is worth repeating)

My guest config (C564.py) networks to the dom0 manual bridge. So the
xend-config.sxp in dom0 has (network-script network-bridge) commented out and 
only
(network-script network-dummy)

is uncommented.

-- 
Mark



http://www.tlviewer.org/fostats/c564_pv.txt


      

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>