STK / LSI Multipath Support
Hello,
The multipath code seems to support STK D280 (active / passive) disk arrays, but with one exception. It doesn't seem to be able to query the priorities of the luns properly. For example, I create four luns on a D280 and assign two luns to controller A and two to controller B. When the system (which has dual hbas) boots they all end up on one controller and multipathd never switches to the primary paths even though they are available.
I am guessing this is because "prio_callout" is set to "/bin/true" so it defaults to the first path in the list. Is there a prio_callout that works with lsi branded arrays? I run SLES 9 and I see there are mpath_prio_{emc,tpc,alua}, but none (somewhat obviously) don't work. I was able to write a perl script that simply took a device arguement and looked up a priority in a table and it appears to work, but it's obviously a nasty hack and doesn't automatically detect the proper path (which would be necessary in the case of a manual failover).
Thanks,
Chris Penney
[email protected]
Quoted 20 lines · Chris Penney
Hello,
The multipath code seems to support STK D280 (active / passive) disk arrays, but with one exception. It doesn't seem to be able to query the priorities of the luns properly. For example, I create four luns on a D280 and assign two luns to controller A and two to controller B. When the system (which has dual hbas) boots they all end up on one controller and multipathd never switches to the primary paths even though they are available.
I am guessing this is because "
prio_callout" is set to "/bin/true" so it defaults to the first path in the list. Is there aprio_calloutthat works with lsi branded arrays? I run SLES 9 and I see there are mpath_prio_{emc,tpc,alua}, but none (somewhat obviously) don't work. I was able to write a perl script that simply took a device arguement and looked up a priority in a table and it appears to work, but it's obviously a nasty hack and doesn't automatically detect the proper path (which would be necessary in the case of a manual failover).
Quoted 4 lines
Thanks,
Chris Penney
[email protected]
After some experimentation and looking at the defaults for the SGI 9500 (which is the same hardware as the STK D280 with only some firmware differences) I found that I could use mpath_prio_tpc with the STK array. Is this a reasonable solution?
Chris
Quoted 4 lines
I am guessing this is because "
prio_callout" is set to "/bin/true" so it defaults to the first path in the list. Is there aprio_callout
silly question: is the path_grouping_policy set to "group_by_prio"?
Quoted 2 lines
that works with lsi branded arrays? I run SLES 9 and I see there are
mpath_prio_{emc,tpc,alua}, but none (somewhat obviously) don't work.
fwiw, I've used multipath with an active/passive box and prio_callout set to "/sbin/mpath_prio_alua -d/tmp %d" successfully with paths properly grouped active/passive.
cheers,
Brian