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

[Xen-devel] Re: xen device migration

To: "Mark Williamson" <mark.williamson@xxxxxxxxxxxx>
Subject: [Xen-devel] Re: xen device migration
From: Tej <bewith.tej@xxxxxxxxx>
Date: Thu, 31 Jul 2008 08:32:41 +0530
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 30 Jul 2008 20:03:04 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=NI02CksY/GYDImzCXScFuk6DcWSJJW45Kfn7+f7lVLI=; b=AQWgmxpusFmN6qwD0LKoMRKP4q9xkVCPqIjCMndbGOGujXzBio9uE+0riA3I98Mq0X 067c5GdBAJ7yyiAl9GwKPFBPa3I6Sgph7EvPBQCg9n0mDezNGC566f9xNJVhwKQ7GiBq 4l0lz/m7nACipjSODB4tbr+8khpo57DcFpyzU=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=OAER1sJKVyO7bVnEW3rNVqMVKt1jpVfLQqmUiYTLqkuraqWtZNu+U0MI7p8f8Yp02c cAvSKMmMA/2jBCgz1vrnCD8oz8n1qQQb+cmrmOfRGgshXx0PtVuZFynVjPBcDFi2p1Bu ZkqUpP7kkBeaGR7PXL332TVRsRntYpSE839QU=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <200807291946.31407.mark.williamson@xxxxxxxxxxxx>
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <f1c9d250807290603m3ee352c9mcdf548b88bbabd63@xxxxxxxxxxxxxx> <200807291946.31407.mark.williamson@xxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
On Wed, Jul 30, 2008 at 12:16 AM, Mark Williamson
<mark.williamson@xxxxxxxxxxxx> wrote:
> On Tuesday 29 July 2008, you wrote:
>> Hi Mark
>>
>> I have some queries on Xen Migration setup
>>
>> VM resource are provided using NFS, iSCSI, AoE. After following the
>> below article http://archive.netbsd.se/?ml=xen-users&a=2007-12&t=6000155.
>> It suggests that we can migrate the disk and swap images using
>> external-device-migration.
>
> Heh, well it looks like I suggested that but I've never done it myself!  I
> believe it may be possible but it won't necessarily be efficient.
>
>> So it means that if we use the external-device-migrate script then all
>> the shared reosurce methos are not required ?
>
> In *principle*, if I was right about the external device migration scripts
> then it might eliminate the need for shared resources.  But unless you added
> some clever tricks then it would make live migration slower because of the
> need to copy the data across.  I think a good network-based disk solution
> will perform better since the disk and swap will be available immediately
> after the memory migration has been performed.
>
>
>> How do i use this method (to migrate the machine with device
>> migration)?
>
> Sorry, I don't know the details.  I guess you'd have to write a script that
> would do the device migration somehow (e.g. copying files across a network)
> and get the migration system to call it.  Sorry I can't be more specific.
>
>> Does xm migrate take care of using the device migration
>> scripts if shared resource (NFS, AoE etc) are not used.
>
> Not automatically, you'd need to tell it to use the migration scripts.  There
> might be some example scripts in the Xen repository you could look at but
> you'd probably have to do some customisation or possibly write your own.
>
>> or Am i missing something important.
>
> It's easy to set up Xend to automatically connect to nbd devices when a
> migration occurs.  Maybe you should consider that?
>
> In any case, you should take care to separate the migration traffic from the
> VM's network somehow so that VMs can't snoop on the data transmitted by
> migrations.

thanks for all your helpful pointers.

>
> Cheers,
> Mark

-Tej
>
> --
> Push Me Pull You - Distributed SCM tool (http://www.cl.cam.ac.uk/~maw48/pmpu/)
>

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] Re: xen device migration, Tej <=