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

[Xen-users] Safe iSCSI & Live Migrations

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Safe iSCSI & Live Migrations
From: Simon Capstick <simon@xxxxxxxxxxxxxxxx>
Date: Thu, 09 Aug 2007 23:52:04 +0100
Delivery-date: Thu, 09 Aug 2007 15:52:23 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: IceDove 1.5.0.12 (X11/20070607)
I'm currently playing with iSCSI and Xen (exporting individual DomU block devices as individual iSCSI disks) and wanted to find a safe way to use iSCSI. i.e. I want to prevent the accidental mounting of an iSCSI disk from two or more machines. Using IET as an iSCSI target I can set MaxConnections=1 in the config. This ensures that no accidental filesystem corruption happens due to two or more simultaneous mounts. However live migration is out of the question. To move a DomU from one box to another with the MaxConnections=1 safeguard I have to;

Box 1:
Shutdown the DomU.
Perform an iSCSI logout.

Box 2:
Perform an iSCSI login.
Start the DomU.

Is there any way to perform a live migration of the above by getting Xen to run iSCSI logout/login scripts as the DomU pauses in the middle of the live migration? Are there any software hooks that can be used to do this?

Or are there simpler methods to guarantee the safe/single use of iSCSI disks that still allow Xen's live migration?

Simon

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

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