Bug 438037

Summary: [RFE] Include mpath_prio_hp_sw in device-mapper-multipath
Product: Red Hat Enterprise Linux 4 Reporter: Bryn M. Reeves <bmr>
Component: device-mapper-multipathAssignee: Dave Wysochanski <dwysocha>
Status: CLOSED ERRATA QA Contact: Corey Marthaler <cmarthal>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.6CC: agk, bmarzins, bmr, christophe.varoqui, dwysocha, edamato, egoggin, heinzm, junichi.nomura, kueda, lmb, mbroz, prockai, tao, tranlan
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: RHBA-2008-0764 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-07-24 20:03:12 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 195685    
Bug Blocks:    
Attachments:
Description Flags
Patch against RHEL4_FC5 sourceware.org cvs tree - applied/built also against the latest rhel4.7 userspace (-30).
none
patch to rhel4 spec file
none
Updated patch that includes "make install" none

Description Bryn M. Reeves 2008-03-18 19:21:44 UTC
+++ This bug was initially created as a clone of Bug #434988 +++

Description of problem:
RHEL4.7 is scheduled to support the kernel hardware handler for the HP MSA/HSV
active/passive storage controllers (bug 195685). Upstream multipath-tools now
has a path prioritiser for these arrays as well.

This was merged in this commit:

http://git.kernel.org/gitweb.cgi?p=linux/storage/multipath-tools/.git;a=commit;h=682d66d9fd97cc3b821bfe390c34f6ea5717c14b

    "All paths from a controller with HP Active/Standby firmware
    should really be grouped according to their status; otherwise
    the path switching will not work properly or you can use only
    one path to that array.
    This patch adds a new priority checker 'mpath_hp_sw' which
    will allow these paths to be grouped accordingly."

Version-Release number of selected component (if applicable):
device-mapper-multipath-0.4.5-24.RHEL4

How reproducible:
100%

Steps to Reproduce:
1. # rpm -ql device-mapper-multipath | grep mpath_prio_hp_sw
  
Actual results:
No path prioritiser for these SANs.

Expected results:
/sbin/mpath_prio_hp_sw

Additional info:

Comment 2 Dave Wysochanski 2008-04-10 14:08:03 UTC
Working on this now.

Comment 3 Dave Wysochanski 2008-04-11 16:14:48 UTC
For some reason my reliable test machine is now sporting a machine check on CPU0
and I cannot get it to boot.  Perhaps it has succumbed to the repeated on-off
power glitches of the lab its in...

Comment 4 Dave Wysochanski 2008-04-15 14:07:24 UTC
Created attachment 302457 [details]
Patch against RHEL4_FC5 sourceware.org cvs tree - applied/built also against the latest rhel4.7 userspace (-30). 

Spec file update to follow (needed for installation of binary).

Comment 6 Dave Wysochanski 2008-04-15 14:54:52 UTC
Created attachment 302466 [details]
patch to rhel4 spec file

I did not actually test this

Comment 7 Dave Wysochanski 2008-04-15 15:03:10 UTC
Created attachment 302469 [details]
Updated patch that includes "make install"

Comment 8 Dave Wysochanski 2008-04-15 15:04:11 UTC
I looked at the spec file and all it does is a "make install" so the patch in #7
should be the full fix.

Comment 11 errata-xmlrpc 2008-07-24 20:03:12 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2008-0764.html