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

RE: [Xen-users] Live migration not permanent?

To: "Jeff Lane" <sundowner225@xxxxxxxxx>, "xen-users" <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-users] Live migration not permanent?
From: "Ross S. W. Walker" <rwalker@xxxxxxxxxxxxx>
Date: Mon, 19 May 2008 10:28:49 -0400
Delivery-date: Mon, 19 May 2008 07:29:58 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
Importance: normal
In-reply-to: <6025df6b0805190705u724ca4f8mec3a69b94834129d@xxxxxxxxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Priority: normal
References: <908141.77365.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxx><001001c8b7a5$a01b9c30$c801a8c0@localnet> <6025df6b0805190705u724ca4f8mec3a69b94834129d@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Aci5uWoBDaKMrIcQScuMFoJE3Z1JEQAAh9qA
Thread-topic: [Xen-users] Live migration not permanent?
Jeff Lane wrote:

> On Fri, May 16, 2008 at 6:38 PM, [STD]Ein <ein@xxxxxxxxxxxxxx> wrote:
> > It is the expected behaviour.  It's your responsibility to ensure that the
> > domain isn't started on more than one host at a time (this may be enforced
> > by your shared storage solution).
> 
> Yep.  The only thing live migration does is move the running domU from
> its current memory location on Host A, to a new memory location in
> Host B.  It does not move any config files, and you MUST use shared
> storage to have a working domU on Host B after migration.  You CAN
> migrate a domain that has storage local to Host A but not Host B,
> however, what happens is that on Host B, you get a running guest that
> can not access its filesystem, and much hilarity ensues when you try
> to do anything that involves accessing the filesystem.
> 
> So, the requirements are:
> 
> Host A --|
>           ----- Shared Storage (I use Fiberchannel storage for this)
> Host B --|
>
> And, if you want to permenantly move the domU from host A to host B,
> you need to move the domU config file from hostA to hostB as well.
> 
> Also, you could have Host A be a mirror of Host B (failover scenario)
> so if Host A bites the dust, you can run the domU to your heart's
> content on Host B, since B has the config file too...
> 
> YMMV, of course...

Now I believe if you add your domU to the xenstore with 'xm new <config>'
and work completely out of the xenstore then after migration the domU
in the xenstore will be in Host B and not Host A so there should be
no chance of starting a duplicate unless you do a 'xm create <config>'.

-Ross

______________________________________________________________________
This e-mail, and any attachments thereto, is intended only for use by
the addressee(s) named herein and may contain legally privileged
and/or confidential information. If you are not the intended recipient
of this e-mail, you are hereby notified that any dissemination,
distribution or copying of this e-mail, and any attachments thereto,
is strictly prohibited. If you have received this e-mail in error,
please immediately notify the sender and permanently delete the
original and any copy or printout thereof.


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

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