Using KVM for testing multipath storage in Fedora 21
Using KVM for testing multipath storage in Fedora 21
https://sharkcz.livejournal.com/12846.html
Having multipathed storage is quite common in the server world. Multipath means that a storage device is accessible for the host via multiple paths, usually via Fibre Channel links. But who has a FC array at home :-) Good thing is that this kind of setup can be tested also on your local host using a guest under KVM. I will now describe how this can be done using virt-manager.
I have started by updating my Fedora 20 system to the latest and greatest QEMU and libvirt from http://fedoraproject.org/wiki/Virtualization_Preview_Repository
then I created a empty guest
then added first disk with SCSI (virtio-scsi) type and set its serial number in “Advanced Options” pointing to a logical volume, see http://fedora.danny.cz/kvm-mpath-1.png
then I added second disk of the same type, pointing to the same logical volume (will work with disk image too) , you have to ignore the warning virt-manager gives you, and set the same serial number
as last step I updated the boot options so the guest would first boot from the disks, then from PXE
This is how the multipathed disk looks in libvirt’s XML guest description: …