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-devel

Re: [Xen-devel] disks under migration

To: David Becker <becker@xxxxxxxxxxx>
Subject: Re: [Xen-devel] disks under migration
From: Ian Pratt <Ian.Pratt@xxxxxxxxxxxx>
Date: Thu, 19 Aug 2004 19:16:29 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxxxx, Ian.Pratt@xxxxxxxxxxxx
Delivery-date: Thu, 19 Aug 2004 19:29:00 +0100
Envelope-to: steven.hand@xxxxxxxxxxxx
In-reply-to: Your message of "Thu, 19 Aug 2004 12:39:50 EDT." <20040819163950.GZ1989@xxxxxxxxxxx>
List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=xen-devel>
List-help: <mailto:xen-devel-request@lists.sourceforge.net?subject=help>
List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
List-post: <mailto:xen-devel@lists.sourceforge.net>
List-subscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=subscribe>
List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=unsubscribe>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
> How does live (or normal) migration handle the disks involved?
> Are they transfered, or does the xfrd keep some sort of channel open?

xend currently doesn't give you any help and do this
automatically, but its something we might add in the future.

For most of our VMs we either use NFS root to a central server,
or iscsi direct to a SAN, so there's no block device as such to
migrate.[*]

If you do want to access back to a local drive, then you'll need
to set this up yourself. There are a bunch of network block
device options available, all of which should work: iscsi, NBD,
ENBD, GNBD. 

We could add the equivalent of the vif-bridge script to xend for
block devices. This would provide simple hooks to enable the
block device export/import to be set up.  However, chances are
we'd want this to be stateful and smarter, so its probably best
to do a xend plugin rather than just use scripts. 
 
> And I assume a saved domain that is restored on another host must have
> all its disk and swap space transfered to the new host as well, correct?

Yep. No auto magic, not yet ;-)

Ian

[*] Even using iscsi, there are some situations where you'd
prefer to have the iscsi driver in domain 0 and export the disk
as a block device to other domains. For example, if you have a
hardware iscsi initiator in the machine. In this instance, you'd
prefer to move the iscsi disk as part of the migrate. 


-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel

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