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 moving the disk image. Is is supposed

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Live migration not moving the disk image. Is is supposed to?
From: Mark Williamson <mark.williamson@xxxxxxxxxxxx>
Date: Mon, 19 May 2008 19:11:03 +0100
Cc: 'Stefan de Konink' <skinkie@xxxxxxxxx>, "Jamie J. Begin" <begin@xxxxxxxxxxxxxxx>
Delivery-date: Mon, 19 May 2008 11:11:41 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <E1JwmwT-0002nF-1r@host-192-168-0-1-bcn-london>
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: <E1JwmwT-0002nF-1r@host-192-168-0-1-bcn-london>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.9.9
> > From: Stefan de Konink [mailto:skinkie@xxxxxxxxx]
> > Sent: Thursday, May 15, 2008 7:28 PM
> > To: Jamie J. Begin
> > Cc: xen-users@xxxxxxxxxxxxxxxxxxx
> > Subject: Re: [Xen-users] Live migration not moving the disk image. Is is
> > supposed to?
> >
> > On Thu, 15 May 2008, Jamie J. Begin wrote:
> > > >From my reading, it looks like performing "xm migrate -live domU
> > >
> > > target_server" ought to also copy the disk image.  Am I right?
> > >
> > > When I attempt this procedure, everything looks to work except for the
> >
> > image
> >
> > > file getting moved.  The command takes about 30 seconds to complete and
> >
> > then
> >
> > > "xm list" shows the domU to be gone from the old host and running on
> > > the
> >
> > new
> >
> > > host.  The SSH connection to the domU also continues to function
> > > without
> >
> > a
> >
> > > hiccup. However, the disk image isn't located anywhere on the new
> >
> > server.
> >
> > > Also, the xen log on the new server lists the following error:
> > >
> > > [2008-05-15 19:10:21 xend 3790] ERROR (XendCheckpoint:275) Device 51712
> > > (tap) could not be connected.
> > >
> > > /virt/myserver.img does not exist
> >
> > That sounds pretty much like expected behavior. This is why you require
> > something like NFS, DRBD, iSCSI to have the storage available over more
> > than one machine at a time.
> >
> >
> > Stefan
>
> Ok, thanks. I just wanted to make sure that this was expected behavior.
> Yeah, iSCSI is forthcoming for the production environment.  I'm just
> testing a few things here.

You do need to have the storage accessible from multiple machines in order to 
support live migration.  You can either do this by having dom0 access the 
storage (e.g. over SAN or network) and export it to the domU as a VBD (I 
recommend this, it's more transparent) or by setting up the domU to access 
its storage directly over the network (e.g. using iSCSI root or NFS root).

Xen includes some NBD-aware block scripts to make it easy to handle NBD-based 
block devices in an automated way.  Stefan has, I believe, published some 
iSCSI (and Netapp filer specific) block scripts on these mailing lists, which 
may also prove useful.

Cheers,
Mark

-- 
Push Me Pull You - Distributed SCM tool (http://www.cl.cam.ac.uk/~maw48/pmpu/)

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

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