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: Ian Pratt <Ian.Pratt@xxxxxxxxxxxx>, David Becker <becker@xxxxxxxxxxx>
Subject: RE: [Xen-devel] disks under migration
From: James Harper <JamesH@xxxxxxxxxxxxxxxx>
Date: Fri, 20 Aug 2004 13:11:29 +1000
Cc: <xen-devel@xxxxxxxxxxxxxxxxxxxxx>, <Ian.Pratt@xxxxxxxxxxxx>
Delivery-date: Fri, 20 Aug 2004 04:14:17 +0100
Envelope-to: steven.hand@xxxxxxxxxxxx
In-reply-to: <E1BxrSg-0001i6-00@xxxxxxxxxxxxxxxxx>
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>
References: <E1BxrSg-0001i6-00@xxxxxxxxxxxxxxxxx>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
Thread-index: AcSGY2MBB8qrufFuTKe0Rs8lkN24hw==
Thread-topic: [Xen-devel] disks under migration
Lots of questions here...
 
On the subject of network block devices (iSCSI, NBD, ENBD & GNBD), do you have any recommendations?
 
How should it be set up for migration purposes? Should dom0 be the initiator and export it to the other domains, or should each domain be the client directly? I'd expect the latter but am unfamiliar with how migration should work.
 
Assuming the latter, are any of the nbd technologies available bootable without using initrd's? I don't have any particular problem with initrd, but it's just an extra thing to set up...
 
How does swap work over the nbd's?
 
Is there any way of providing high availability with any nbd devices, so that if one target goes down it can seamlessly failover to another? Maybe raid1 over iSCSI? A really nice xen setup would be:
Machine A hosting iSCSI devices
Machine B hosting iSCSI devices
Machine C hosting xen domains
Machine D hosting xen domains
 
Raid1 over iSCSI would ensure that one of A or B could be down without affecting availability.
Xen domains can wander between C & D easily using migration.
A & C could be the same physical machine, as could B & D.
 
lots of possibilities... wish I had time to play with them all...
 
James


From: Ian Pratt
Sent: Fri 20/08/2004 4:16 AM
To: David Becker
Cc: xen-devel@xxxxxxxxxxxxxxxxxxxxx; Ian.Pratt@xxxxxxxxxxxx
Subject: Re: [Xen-devel] disks under migration

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