I'm trying to test some KVM guest clustering w/GFS using iSCSI for the Shared Device.
I don't know if any of this plan will work.. but.. I did manage to figure out how to map the device directly to the guest.
<disk type='block' device='lun' sgio='unfiltered'>
<driver name='qemu' type='raw' cache='none'/>
<source dev='/dev/disk/by-path/ip-192.168.0.140:3260-iscsi-iqn.2014-08.private.matrix.rhel6a:target1-lun-1'/>
<target dev='vdb' bus='scsi'/>
<address type='drive' controller='4' bus='0' target='0' unit='0'/>
</disk>
Or.. using Multipath... (this doesn't seem to work, but I think the issue is with my VM, not this solution...)
<disk type='block' device='lun' sgio='unfiltered'>
<driver name='qemu' type='raw' cache='none'/>
<source dev='/dev/mapper/CAPELLA_0029'/>
<target dev='vdb' bus='scsi'/>
<address type='drive' controller='4' bus='0' target='0' unit='0'/>
</disk>
/dev/mapper/CAPELLA_0029
I don't know if any of this plan will work.. but.. I did manage to figure out how to map the device directly to the guest.
<disk type='block' device='lun' sgio='unfiltered'>
<driver name='qemu' type='raw' cache='none'/>
<source dev='/dev/disk/by-path/ip-192.168.0.140:3260-iscsi-iqn.2014-08.private.matrix.rhel6a:target1-lun-1'/>
<target dev='vdb' bus='scsi'/>
<address type='drive' controller='4' bus='0' target='0' unit='0'/>
</disk>
Or.. using Multipath... (this doesn't seem to work, but I think the issue is with my VM, not this solution...)
<disk type='block' device='lun' sgio='unfiltered'>
<driver name='qemu' type='raw' cache='none'/>
<source dev='/dev/mapper/CAPELLA_0029'/>
<target dev='vdb' bus='scsi'/>
<address type='drive' controller='4' bus='0' target='0' unit='0'/>
</disk>
/dev/mapper/CAPELLA_0029
Comments
Post a Comment