[libvirt] ISCSI Live Migration with LUN backed VMs

I am using iscsi backed VMs which use a separate LUN for each VM. This is all good until I try to live migrate because the LUN is not logged into on the new machine. Does anyone have a way of handling logging into and out of iscsi luns during the migration ? Tim Hughes mailto:thughes@thegoldfish.org

On Thu, 7 Aug 2008, Tim Hughes wrote:
I am using iscsi backed VMs which use a separate LUN for each VM. This is all good until I try to live migrate because the LUN is not logged into on the new machine. Does anyone have a way of handling logging into and out of iscsi luns during the migration ?
There are patches floating on this list to make that possible. My own Xen based solution involves a block script for Xen, but the current libvirt solution should work too. Stefan

On Thu, Aug 07, 2008 at 12:19:01PM +0100, Tim Hughes wrote:
I am using iscsi backed VMs which use a separate LUN for each VM. This is all good until I try to live migrate because the LUN is not logged into on the new machine. Does anyone have a way of handling logging into and out of iscsi luns during the migration ?
In general its the responsibility of the application/admin triggering the migration to ensure that the destination host has the same storage and network configuration. There's nothing special about iSCSI in this regard really - FibreChannel/NFS/Cluster-LVM/etc all have the same core requirements. If you have a bunch of hosts you wish to migrate between, then you need to configure them all to have matching resources Daniel -- |: Red Hat, Engineering, London -o- http://people.redhat.com/berrange/ :| |: http://libvirt.org -o- http://virt-manager.org -o- http://ovirt.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: GnuPG: 7D3B9505 -o- F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|

On Thu, 7 Aug 2008, Daniel P. Berrange wrote:
On Thu, Aug 07, 2008 at 12:19:01PM +0100, Tim Hughes wrote:
I am using iscsi backed VMs which use a separate LUN for each VM. This is all good until I try to live migrate because the LUN is not logged into on the new machine. Does anyone have a way of handling logging into and out of iscsi luns during the migration ?
In general its the responsibility of the application/admin triggering the migration to ensure that the destination host has the same storage and network configuration. There's nothing special about iSCSI in this regard really - FibreChannel/NFS/Cluster-LVM/etc all have the same core requirements. If you have a bunch of hosts you wish to migrate between, then you need to configure them all to have matching resources
The fact that libvirt still doesn't automatically uses the result of send targets won't make it more easy for its users :) ...but we also had this discussion before. Stefan
participants (3)
-
Daniel P. Berrange
-
Stefan de Konink
-
Tim Hughes