[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] Safe iSCSI & Live Migrations



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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.