From mboxrd@z Thu Jan 1 00:00:00 1970 From: Shriram Rajagopalan Subject: Re: Xen 4.3 xl migrate " htree_dirblock_to_tree" on second host Date: Tue, 4 Feb 2014 11:19:21 -0800 Message-ID: References: <1391422624.10515.27.camel@kazak.uk.xensource.com> <17ef2b9f-3d57-4909-be94-4c560c3dfc57@email.android.com> <1391513622.10515.75.camel@kazak.uk.xensource.com> <08b36658-42d4-4dbd-8637-179a14541fa2@email.android.com> <1391528110.6497.32.camel@kazak.uk.xensource.com> Reply-To: rshriram@cs.ubc.ca Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============5458616034061950372==" Return-path: In-Reply-To: <1391528110.6497.32.camel@kazak.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: "Mike C." Cc: "xen-devel@lists.xensource.com" , Ian Campbell List-Id: xen-devel@lists.xenproject.org --===============5458616034061950372== Content-Type: multipart/alternative; boundary=90e6ba3fcf8f3d81d204f19987ba --90e6ba3fcf8f3d81d204f19987ba Content-Type: text/plain; charset=ISO-8859-1 On Tue, Feb 4, 2014 at 7:35 AM, Ian Campbell wrote: > > > >> I have a host where what I need is to move it from host1 to host2, or > > >> reverse if needed, there's no problem stopping it first, but I guess > > >> this is not what the "migrate" command is used for! > > >> > If you just need to migrate an entire VM (memory & disk) from one host to another, without using shared storage, then there are several alternatives. One way is to use DRBD based disk backends (yes they can run on top of a LVM) and use protocol C (synchronous disk replication) to keep the disks at both hosts synchronized. Since the disk is always synchronized, you can just use the xl migrate command to migrate the memory state from one host to another, with very little downtime. I would suggest reading up on the DRBD documentation regarding xen live migration. IIRC, their current example is based on xend, but it applies equally well to xl, as xl also supports drbd based disk backends. shriram --90e6ba3fcf8f3d81d204f19987ba Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
On Tue, Feb 4, 2014 at 7:35 AM, Ian Campbell <Ian.C= ampbell@citrix.com> wrote:

> >> I have a host where what I need is to move it from host1 to h= ost2, or
> >> reverse if needed, there's no problem stopping it first, = but I guess
> >> this is not what the "migrate" command is used for!=
> >>
=A0
If you just need to = migrate an entire VM (memory & disk) =A0from one host to another,
=
without using shared storage, then there are several alternatives.
One way is to use DRBD based disk backends (yes they can run on top of= a LVM)
and use protocol C (synchronous disk replication) to keep= the disks at both hosts synchronized.

Since the d= isk is always synchronized, you can just use the xl migrate command to migr= ate
the memory state from one host to another, with very little downtime.<= /div>

I would suggest reading up on the DRBD documentati= on regarding xen live migration. IIRC,
their current example is b= ased on xend, but it applies equally well to xl, as xl also supports drbd b= ased
disk backends.

shriram
--90e6ba3fcf8f3d81d204f19987ba-- --===============5458616034061950372== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel --===============5458616034061950372==--