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

Re: [Xen-users] migrate existing non-xen system to a VM?



See notes below...

>>> On 2010/05/17 at 09:29, Miles Fidelman <mfidelman@xxxxxxxxxxxxxxxx> wrote: 
> I know that I've seen this discussed before, but can anyone point to a 
> concise description of how to take an existing, non-xen machine (in this 
> case a system running Debian Lenny), and,
> 

0 -> before you shut it down, update kernel/initrd such that you have a kernel 
and initrd combo that will boot successfully on Xen.  In many distributions, 
all this requires is installing the kernel-xen package, or something similar, 
and you'll be good to go.

> 1. shut it down
> 2. package up the state
> 3. move it into a VM (assume there's a 2nd computer, with Dom0 up and 
> running, on the same LAN)
> 4. start the VM and end up with a virtualized version of the original 
> environment chugging away
> 
> A little context:  I'm trying to add hot-spare failover to a production 
> system (email, list services, web server, database) - by moving from a 
> standard Debian Lenny install to Debian Lenny running as a VM, backed by 
> DRBD, set for failover.  The first step is to get the production 
> environment into a VM, and then I can set up all the failover stuff.
> 
> So... the above is just a little more complicated, in that there are 4 
> partitions that have to be moved:
> 
> /boot - raided volume --> xen setup on new machine
> /swap --> drbd device on new machine, mounted in VM
> / --> drbd device on new machine, mounted in VM
> /backup (another volume) -> drbd device mounted in VM

Are these partitions in the VM (domU), or on the Xen hosts themselves?  If 
these are the domU partitions, just using an imaging tool (Ghost, FOG, 
PartImage, etc.) to copy the entire disk over to a virtual hard disk (LVM, 
file-based, etc.).

- Nick



--------
This e-mail may contain confidential and privileged material for the sole use 
of the intended recipient.  If this email is not intended for you, or you are 
not responsible for the delivery of this message to the intended recipient, 
please note that this message may contain SEAKR Engineering (SEAKR) 
Privileged/Proprietary Information.  In such a case, you are strictly 
prohibited from downloading, photocopying, distributing or otherwise using this 
message, its contents or attachments in any way.  If you have received this 
message in error, please notify us immediately by replying to this e-mail and 
delete the message from your mailbox.  Information contained in this message 
that does not relate to the business of SEAKR is neither endorsed by nor 
attributable to SEAKR.

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