Jump to: navigation, search

Difference between revisions of "Nova/LibVirtVolumeMultipathiSCSI"

Line 27: Line 27:
 
* Should work if the storage provider doesn't support multipath.  
 
* Should work if the storage provider doesn't support multipath.  
  
=== Current Action Items: ===
+
=== Gerrit Review: ===
 
+
https://review.openstack.org/17946
# Open a Gerrit Review on the changes
 

Revision as of 16:11, 12 December 2012


Nova/LibVirtVolumeMultipathiSCSI

Time: <<DateTime(2012-12-11T11:24:27Z)>>

Contributor: erikzaadi

Summary

Currently iSCSI Volumes are connected in LibVirt as single path devices (/dev/disk/by-path/ip-IP:PORT-iscsi-IQN-lun-X).

Most storage vendors support multipath connections via iSCSI, allowing more robust and faster volumes.

The iSCSI target can be inquired with the 'sendtargets' discovery method which returns all the available iSCSI ports.

The LibvirtISCSIVolumeDriver class should then login to all the discovered iSCSI targets and use multipath to rescan multipath connections.

After that, a new device will be available (usually /dev/dm-X) which will be used as source device in LibVirt instead of /dev/disk/by-path/ip-IP:PORT-iscsi-IQN-lun-X

The scope of changes intended by this blueprint includes:

  • Altering nova/virt/libvirt/volume.py:LibvirtISCSIVolumeDriver's behaviour to deal with multipath if installed on the nova-compute node.
  • Should still work if multipath isn't installed
  • Should work if the storage provider doesn't support multipath.

Gerrit Review:

https://review.openstack.org/17946