[dm-devel] Different Path priorities for iSCSI and FC paths toa combination lun.

Srinivas Ramani sramani at pillardata.com
Thu May 1 22:39:03 UTC 2008


Thanks Tore .
I plan to add mpath_prio_alua_pillar to the code base to return different priorities for iSCSI and FC paths for
combination luns .
 
 
With Regards
Srini

________________________________

From: dm-devel-bounces at redhat.com on behalf of Tore Anderson
Sent: Tue 4/29/2008 1:06 PM
To: device-mapper development
Subject: Re: [dm-devel] Different Path priorities for iSCSI and FC paths toa combination lun.



Hi,

* Srinivas Ramani

> I would be grateful to learn from this forum on how one would be able
> to have different path priorities for a FC / iSCSI  paths to a
> multiprotocol FC/iSCSI combination lun using device mapper . The
> intention is that a  FC path should have a higher priority than an
> iSCSI path to the same lun. Is it possible to do it with a
> configuration change or would one need to  add this feature to the
> mpath_prio_alua  code.

Make a small wrapper script that invokes mpath_prio_alua and also checks
if the path is to a iSCSI volume or not (you can probably determine this
by looking somewhere beneath /sys/block/$dev/).  If it is, add 100 to
whatever mpath_prio_alua returned, and print the sum.

Regards
--
Tore Anderson

--
dm-devel mailing list
dm-devel at redhat.com
https://www.redhat.com/mailman/listinfo/dm-devel


-------------- next part --------------
A non-text attachment was scrubbed...
Name: winmail.dat
Type: application/ms-tnef
Size: 4729 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/dm-devel/attachments/20080501/7c234d9d/attachment.bin>


More information about the dm-devel mailing list