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

Re: [Xen-users] Swap space for DomU



On Friday 28 December 2007, Jan Albrecht wrote:
> > What happens with swap space during a live move if I use a file per
> > DomU.  Does the move script copy the swap file over as well?
>
> Live move should copy all data disks, which inculdes swap.
>

Nico Kadel-Garcia <nkadel@xxxxxxxxx> Wrote:
> If you do a live migration, it does indeed move the state. I like to use 
> a separate swap partition oon DomU to ease bare metal restorations and 
> off-line operations on DomU's files. 

The xm migrate command on its own doesn't copy virtual disks, so neither swap 
nor data will automatically get migrated with the machine.  I think it's 
possible to configure disk migration using the external device migration 
scripts, but AFAIK it's not enabled by default - am I wrong here?

However, the domain's configuration data is sent along with its memory state 
when the migration occurs, so if you configure appropriate network-accessible 
storage for swap and data VBDs then they can be transparently available at 
the destination machine without the guest knowing what's just happened to it.

Cheers,
Mark

-- 
Dave: Just a question. What use is a unicyle with no seat?  And no pedals!
Mark: To answer a question with a question: What use is a skateboard?
Dave: Skateboards have wheels.
Mark: My wheel has a wheel!

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