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] [PATCH] Blktap: Userspace file-based image support.(RFC)

To: "Harry Butterworth" <harry@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] Blktap: Userspace file-based image support.(RFC)
From: "Andrew Warfield" <andrew.warfield@xxxxxxxxxxxx>
Date: Tue, 4 Jul 2006 12:39:07 -0700
Cc: Ian Pratt <m+Ian.Pratt@xxxxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, Julian Chesterfield <julian.chesterfield@xxxxxxxxxxxx>, NAHieu <nahieu@xxxxxxxxx>, Dan Smith <danms@xxxxxxxxxx>
Delivery-date: Tue, 04 Jul 2006 12:39:31 -0700
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=ZHZqdkCnD36YboWZc8Jq0mmQpK5sYPQMY3NYnaEV4o42LDoC5yp1AphFC2BLolmt1J5XaOsXOGYnvUa5QNzAKSWDjjUBoi9cZrmZkPynDE9nsChnPf4oMsDfGncMJgzjyid3CeWKggxylyLEW50exDEzGPhPFPX5H9t1Jc0nYX4=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <1151941231.7699.18.camel@xxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <A95E2296287EAD4EB592B5DEEFCE0E9D4BAB1A@xxxxxxxxxxxxxxxxxxxxxxxxxxx> <m3psh3pm7t.fsf@xxxxxxxxxxxxxxxxxxxxxxxxxxx> <1151674861.7893.5.camel@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> <m3hd22ramh.fsf@xxxxxxxxxxxxxxxxxxxxxxxxxxx> <1151696271.7893.21.camel@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> <1151928154.7699.3.camel@xxxxxxxxxxxxxxxxxxxxx> <1151938599.4785.14.camel@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> <1151941231.7699.18.camel@xxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
(Reordering quotes from these last two replies:)

From Stephen:
> Conversely, for users with SANs already, whether running over iSCSI or
> FC or whatever, block-level migration will be needed.  It's a matter of
> being able to use existing solutions rather than mandating a new storage
> configuration.

If you have location transparency between the VM and the storage then
NFS and SANs should both work just wine without block migration.
Aside from some minor reconfig in dom0 as part of the movement, I
don't see why you think it's going to be needed here -- I've done this
with both GNBD and iSCSI just fine.  At least insofar as I'm reading
"block-level" migration to mean "copying the blocks over to the new
physical host" -- this is how I took dan to mean this initially.

Now, in situations where the disk is fate-sharing with the CPU that
the VM is running on (e.g. you are using a local disk and want to
migrate VMs to turn the physical machine off for service), then it
seems like some form of block migration is obviously required.
Something along the lines of DRDB would seem to do a good job of
mirroring the disk to a second location in advance of migrating.

I don't think that I see the immediate benefit of the lazy (migrate
and fault blocks across on demand) block migration.  It doubles your
exposure to failure (at least) and adds overhead.  The only possible
example I can think of is to very temporarily offload a VM that's gone
heavily CPU bound onto an unloaded host.  Is there a more obviously
useful situation that I'm missing?

> In principle, with the right software, and configuring your entire
> infrastructure from scratch, this sort of device-based mechanism may
> work very well.

Yes. It does. Here's one we prepared earlier:
http://www-03.ibm.com/press/us/en/pressrelease/19705.wss

I rather doubt that anyone who happens to have purchased SVC as an
image store is terribly concerned about the ability to lazily copy VM
images from one local disk to another.

a.

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