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-devel

Re: [Xen-devel] XEN migration architecture question

To: xen-devel@xxxxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] XEN migration architecture question
From: Mark Williamson <Mark.Williamson@xxxxxxxxxxxx>
Date: Thu, 20 Jan 2005 21:10:05 +0000
Cc: Eric Tessler <maiden1134@xxxxxxxxx>
Delivery-date: Thu, 20 Jan 2005 21:18:38 +0000
Envelope-to: xen+James.Bulpin@xxxxxxxxxxxx
In-reply-to: <20050120204440.26397.qmail@xxxxxxxxxxxxxxxxxxxxxxx>
List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=xen-devel>
List-help: <mailto:xen-devel-request@lists.sourceforge.net?subject=help>
List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
List-post: <mailto:xen-devel@lists.sourceforge.net>
List-subscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=subscribe>
List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=unsubscribe>
References: <20050120204440.26397.qmail@xxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.7.1
> I have an important question about XEN's migation operation related to the
> XEN block and network back/front drivers.  If I migrate a domain from one
> machine to another in the middle of heavy disk/network activity, what
> happnens to the back/front end XEN drivers?

First of all, bear in mind that Xend doesn't migrate storage for you, so the 
backend on the destination machine needs to somehow be able to access the 
original VBD.

Assuming you have that, the migration works in the same way as a backend 
restart: messages sent by Xend allow it to detect the broken device channel 
connection, reinitiate a connection with the new backend and resend all 
requests that were pending in the ring to make sure they complete.

> (I see they have suspend/resume 
> operations but I don't believe they are being used)  I see that the front
> end drivers are passing machine addresses to the back-end drivers - are
> these pointers somehow still valid when a domain is moved to another
> machine?  Shouldn't the drivers wait until there is no I/O activity before
> being migrated?

The old suspend / resume functionality used to require a domain to stop doing 
IO before it was suspended.  Since the backend restart support was developed 
for the driver domains project, it has been adopted instead as it's a more 
general mechanism.

HTH,
Mark


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel