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

RE: [Xen-users] Manual p2v


  • To: "Paras pradhan" <pradhanparas@xxxxxxxxx>, "Xen Users" <xen-users@xxxxxxxxxxxxxxxxxxx>
  • From: Jeff Sturm <jeff.sturm@xxxxxxxxxx>
  • Date: Fri, 14 May 2010 13:24:01 -0400
  • Cc:
  • Delivery-date: Fri, 14 May 2010 10:26:58 -0700
  • List-id: Xen user discussion <xen-users.lists.xensource.com>
  • Thread-index: Acrzhf+ZfyyQRs2bQIyJXd8lr/qoKwAAvSCA
  • Thread-topic: [Xen-users] Manual p2v

Hi Paras,

 

I've done p2v migrations another way, that we've found a little easier to manage:

 

-      stop all services but networking on the host to migrate (httpd, mysql, etc.)

-      create a target volume on our virtualization SAN with the desired size

-      mke2fs the target volume, and mount it somewhere

-      "rsync –a" the entire filesystem from the host we are migrating to the target volume (probably easier if you umount /proc)

-      Edit /etc/fstab on the target volume, changing from physical devices to Xen block devices

-      unmount the target volume and stop the physical host

-      create a Xen configuration to go with the target volume, and appropriate kernel/ramdisk

-      "xm create" the new host

 

A few extra steps may be necessary, such as adjusting ifconfig-eth0 for the new MAC address, adding xvc0 to /etc/securetty, etc.

 

This plan lets us partition storage for the virtualization environment however we like.  To keep it simple we often use a single large root partition—Xen does not require a /boot filesystem on a paravirtualized domU unless you use pygrub.

 

Jeff

 

From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx [mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Paras pradhan
Sent: Friday, May 14, 2010 12:53 PM
To: Xen Users
Subject: [Xen-users] Manual p2v

 

Hi,

 

I am converting few physical machines to xen virtual machines. The virt-p2v requires my physical machines to shut down. These servers are centos / redhat 5.x.  I will be using tap:aio. How do I create an img file from my partitions? some has 1 HDD and some has 2 or more.

 

 

Thanks!

Paras.

 

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