[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • To: "Jeff Lane" <sundowner225@xxxxxxxxx>, "xen-users" <xen-users@xxxxxxxxxxxxxxxxxxx>
  • 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
  • Importance: normal
  • List-id: Xen user discussion <xen-users.lists.xensource.com>
  • Priority: normal
  • 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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.