WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] Swap space for DomU

To: Mark Williamson <mark.williamson@xxxxxxxxxxxx>
Subject: Re: [Xen-users] Swap space for DomU
From: XenoCrateS <shriram@xxxxxxxxxxx>
Date: Mon, 07 Jan 2008 10:06:00 -0800
Cc: Matthew Crocker <mcrocker@xxxxxxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx, Nico Kadel-Garcia <nkadel@xxxxxxxxx>, Jan Albrecht <jan.albrecht@xxxxxxxxx>
Delivery-date: Mon, 07 Jan 2008 10:06:59 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <200801041730.04306.mark.williamson@xxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <4D47FF57-0316-4049-9198-FC432FD0EDF1@xxxxxxxxxxx> <47750B5B.1060105@xxxxxxxxx> <200801041730.04306.mark.williamson@xxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 1.5.0.14 (Windows/20071210)
but what if the data disk is accessed via AoE mounts (semi equivalent to NFS mounts) and the swap disk is in the host machine itself? since in this case, the data disk is considered as an "in host" disk, is it possible to avoid the migration of data disk, and make the xm live migrate remount the appropriate AoE block in the transferred machine?
x

Mark Williamson wrote:
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


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>