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

RE: [Xen-users] Convert CentOS system to Xen image?


  • To: "James Pifer" <jep@xxxxxxxxxxxxxxxx>, "Tiago Cruz" <tiagocruz@xxxxxxxxxxxx>
  • From: "Ross S. W. Walker" <rwalker@xxxxxxxxxxxxx>
  • Date: Wed, 2 Apr 2008 16:01:40 -0400
  • Cc: Xen List <xen-users@xxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Wed, 02 Apr 2008 13:02:15 -0700
  • Importance: normal
  • List-id: Xen user discussion <xen-users.lists.xensource.com>
  • Priority: normal
  • Thread-index: AciU+PbtmR3wemw4QR+GLlMT6hbFBwAAlTNQ
  • Thread-topic: [Xen-users] Convert CentOS system to Xen image?

James Pifer wrote:
> On Wed, 2008-04-02 at 16:09 -0300, Tiago Cruz wrote:
> > On Wed, 2008-04-02 at 14:59 -0400, James Pifer wrote:
> > 
> > > Screenshot of error here:
> > > http://www.obrien-pifer.com/screenshot.jpg
> > 
> > Maybe I can be wrong, but if you would like to virtualize one Red Hat
> > v4, you don't can use "Paravirtualization". You must to use
> > "Full-Virtualization".
> > 
> > If you guest OS (domU) was one RHEL5, you will can use "ParaVirt"
> > 
> 
> Okay, tried again with "Full-Virtualization". Now it tries to boot but
> gives an error about missing OS. :-( At this point I was just trying to
> make it work on principal and futrue reference. Maybe I'll just do as
> Ross suggested and build a new domain and bring the configs over. 

Well, your almost there, but you need to boot up an OS recovery iso
in the HVM and reinstall grub as the primary disk will now be 'hda'
instead of whatever the other server's was, probably 'sda', or
'md0' if it had software raid.

Once you have it running install the xen PV kernel, use disklabels
for non-LVM volumes in your fstab and grub and then shut it down
and convert the config to PVM. Boot with 'xm create -c <config'
so you see the grub menu and select the xen kernel. Once you
have the PVM running, set it's kernel as the default in grub.

> This has probably been covered a million times, but... what is the
> preferred method, "Paravirtualization" or "Full-Virtualization"? I'm
> guessing Full-Virtualization because it's using VT enabled in the
> processor.

The preferred method is whether you need PV performance. For Linux
based domains I highly recommend PV as you'll get enhanced CPU
performance and 1Gbe networking instead of 100Mbe networking.

-Ross

______________________________________________________________________
This e-mail, and any attachments thereto, is intended only for use by
the addressee(s) named herein and may contain legally privileged
and/or confidential information. If you are not the intended recipient
of this e-mail, you are hereby notified that any dissemination,
distribution or copying of this e-mail, and any attachments thereto,
is strictly prohibited. If you have received this e-mail in error,
please immediately notify the sender and permanently delete the
original and any copy or printout thereof.


_______________________________________________
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®.