|
|
|
|
|
|
|
|
|
|
xen-users
Re: [Xen-users] Migration of physical host to Xen-Instance
> From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
> [mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Tino Schöllhorn
> we are currently in the process of virtualizing an already existing
> infrastructure. So far we are able to run a XEN-System and several DomUs
> and everything is fine.
>
> Now we like to migrate an already existing Linux-System (actually
> CentOS) which is installed on its own box to our XEN-System, i.e. we
> want to virtualize it.
>
> Are there any documents about best practices of how to move this system
> to the XEN-Box?
>
> Glad for any hints and suggestions.
>
The basic idea is to get the file system of the physical "to be
virtualized" box into a guest image.
There are quite a few different ways to store the guest image (a file,
partition, logical volume, network storage, etc.).
The things to watch out for are things like /etc/fstab, the partition
labels etc. and using the right root=option on the kernel command line
(in Grub),
Also watch out for network specific settings in the "to be converted"
guest file system.
The process isn't too bad once you watch out for those types of things.
As far as I know there is not a lot of documents online that describe
probably since it is relatively straight forward and will differ
depending on your
exact situation.
If you are looking for a book on Xen, I would recommend the one that
we wrote called "Running Xen". The website may even have some links
that could
help you.
If you give more details of how you want to store your guests and how
much information you will need in terms of the linux commands needed
to back
things up etc. I am sure that you could get quite a bit of help from
this list to get you through the process.
On Wed, Aug 13, 2008 at 10:18 AM, Robert Dunkley <Robert@xxxxxxxxx> wrote:
> I'm interested in exactly the same thing. I was wondering if migration of an
> existing server might be possible using an LVM snapshot and careful matching
> of the disk and nic device names in the Xen config
I think this method should work well as long as you get a full backup
of the file system when doing the snapshot. Alternatively, simply
doing a dd into a file worked for me awhile back as well.
Hope that helps.
Cheers,
Todd
--
Todd Deshane
http://todddeshane.net
check out our book: http://runningxen.com
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|
|
|
|
|