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/
Home Products Support Community News


Re: [Xen-users] Live migration without stopping current VM

To: "chenping" <chenping19851@xxxxxxxxxxx>, <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-users] Live migration without stopping current VM
From: "Nick Couchman" <Nick.Couchman@xxxxxxxxx>
Date: Mon, 28 Dec 2009 11:12:52 -0700
Delivery-date: Mon, 28 Dec 2009 10:14:23 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
I think there are a couple of tools around that will do what you're
asking - essentially clone the VM on the fly on another host.  One thing
you need to be careful of here is that many of the attributes of the VMs
may be identical - for example, the MAC address of the cloned domU will
be the same on both hosts, meaning that, if the domUs share the same
network interface, you'll end up with a duplicate MAC and probably
duplicate IP addresses.  Also, the disk used by the domU will also be
exactly the same, which is very, very dangerous - this usually ends in
corruption of the filesystem on the domU disk.  Whatever tool you find
for this needs to change MAC addresses and needs to copy the disk or use
the disk device in such a way that does not affect the first one.

What, exactly, are you trying to accomplish in this scenario?


>>> On 2009/12/28 at 03:15, chenping <chenping19851@xxxxxxxxxxx>

> Hi all,
>     Currently, I am using "xm migration" to do live migration.
However, the 
> implementation should stop the current VM. Suppose there are two
hosts: A, B, 
> and one domain 1 running in A. When using xm migrate --live  1 B, it
will stop 
> 1 in A, and create domain in B. 
>      Any one know is there any available tool can live migrate the
domain to 
> B, and keep domain 1 running in A?
> Bests,
> Ping Chen
> _________________________________________________________________
> 立刻下载最新版 Windows Live Messenger!
> http://www.windowslive.cn

This e-mail may contain confidential and privileged material for the sole use 
of the intended recipient.  If this email is not intended for you, or you are 
not responsible for the delivery of this message to the intended recipient, 
please note that this message may contain SEAKR Engineering (SEAKR) 
Privileged/Proprietary Information.  In such a case, you are strictly 
prohibited from downloading, photocopying, distributing or otherwise using this 
message, its contents or attachments in any way.  If you have received this 
message in error, please notify us immediately by replying to this e-mail and 
delete the message from your mailbox.  Information contained in this message 
that does not relate to the business of SEAKR is neither endorsed by nor 
attributable to SEAKR.
Xen-users mailing list
<Prev in Thread] Current Thread [Next in Thread>