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 not permanent?

To: xen-users <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-users] Live migration not permanent?
From: "Jeff Lane" <sundowner225@xxxxxxxxx>
Date: Mon, 19 May 2008 10:05:14 -0400
Delivery-date: Mon, 19 May 2008 07:05:43 -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:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=vE+zILlIh5XnLQkPKak5KlnoX5zTqJvTlM4W9iLHxOc=; b=V4fdh/lMyDRlMoJiWkT87vw6wH3WZ4GqN/Y98n8z79wkWFlQ0exc0WuyhCPmlSJmBqCPcMvdmhG4PwKIAVoYkHCeJCgcKfiOwgYl8mse2m+F/4Lt/Sy82nqO79BAKPvsv9/wP9iS+1KS7jQ6oPHgNfeWnxc+AlvbuTn8NB1RxMY=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=apEZyBitwiGthcyIuNqG5vgqvDr72kQHjIKeEt6RHCHEgGriP5JvSXxQ+ZQcZ/sA09o206T5EAF8iKEAGPU0bhkfYGVS8piRnCW7+Xu9GOzkpXgG9nWvxLL0zP6PNL4h7VtQtLW++5DJnia3P6x0rZNqqrAZA1xrKaXHCBoL5UA=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <001001c8b7a5$a01b9c30$c801a8c0@localnet>
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>
References: <908141.77365.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxx> <001001c8b7a5$a01b9c30$c801a8c0@localnet>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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