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

RE: [Xen-users] Convert existing System to PV


  • To: Wolf Grossi <wg1@xxxxxxx>, Xen List <xen-users@xxxxxxxxxxxxxxxxxxx>
  • From: Jeff Sturm <jeff.sturm@xxxxxxxxxx>
  • Date: Tue, 1 Feb 2011 13:54:41 -0500
  • Cc:
  • Delivery-date: Tue, 01 Feb 2011 10:55:51 -0800
  • List-id: Xen user discussion <xen-users.lists.xensource.com>
  • Thread-index: AcvCHcOfmfImRTFGTAK+nkBwRr01VQAIlNrA
  • Thread-topic: [Xen-users] Convert existing System to PV

> -----Original Message-----
> From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx [mailto:xen-users-
> bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Wolf Grossi
> Sent: Tuesday, February 01, 2011 9:38 AM
> 
> Is there a tutorial how to create a domU from an existing system
(SUSE-9.3)?
> It should decribe all the steps from the very begin: copy the exiting
system to an
> image etc, etc.

There are several ways to do it--I've usually gone with a single root
filesystem on a dom0 logical volume.  Rough steps are as follows:

- Install kernel-xen package
- Create a filesystem for the domU, and mount it somewhere
- Stop services on the physical host (so that disk writes are kept to a
minimum) and begin copying files from /, skipping /proc etc.
- Adjust files on the domU image for PV devices:  /etc/fstab,
/etc/inittab, /etc/sysconfig/network/ifcfg-*
- Create a Xen configuration with the correct root fs, xen kernel and
ramdisk
- Unmount the domU FS.  Start the new domU and see what breaks, if
anything.

FWIW, we just tried this on a SUSE 9.4 host.  It was a disaster--the
SUSE kernel-xen package rendered the domU slow and unstable.  We ended
up migrating the services to a CentOS domU instead.

-Jeff



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


 


Rackspace

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