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>
Subject: Re: [Xen-users] Live migration not permanent?
From: Rudi Ahlers <Rudi@xxxxxxxxxxx>
Date: Mon, 19 May 2008 16:11:57 +0200
Cc: xen-users <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Mon, 19 May 2008 07:14:34 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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>
Organization: SoftDux
References: <908141.77365.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxx> <001001c8b7a5$a01b9c30$c801a8c0@localnet> <6025df6b0805190705u724ca4f8mec3a69b94834129d@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.14 (Windows/20080421)
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...

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

So, how does one move a domU from one physical server to another physical server if there's no shared storage in between?

--

Kind Regards
Rudi Ahlers
CEO, SoftDux

Web:   http://www.SoftDux.com
Check out my technical blog, http://blog.softdux.com for Linux or other 
technical stuff, or visit http://www.WebHostingTalk.co.za for Web Hosting stuff


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