Operating System - Linux
1829584 Members
1175 Online
109992 Solutions
New Discussion

Finding 'failover drivers' for Qlogic 2300 on RHEL 3.0

 
SOLVED
Go to solution
Chris_557
Occasional Advisor

Finding 'failover drivers' for Qlogic 2300 on RHEL 3.0

I have a pair of Qlogic 2300 series HBAs installed on a Proliant with RHEL 3.0 AS.
I can see and use the LUNs with these HBAs fine.
Persistent binding is in use.
I can not get automatic failover to work, it claims I am missing a failover driver.
I have 6 LUNs total, but the system sees them as 12 LUNs, and if you try to access the twin of the other it obviously writes to the first.
I installed all the qlogic stuff I had, and I am not sure what I am lacking.
Could anyone point this out for me?
8 REPLIES 8
Vitaly Karasik_1
Honored Contributor

Re: Finding 'failover drivers' for Qlogic 2300 on RHEL 3.0

You should download & install hp_qla2x00 driver from HP site.

JAVAUX
Occasional Advisor
Solution

Re: Finding 'failover drivers' for Qlogic 2300 on RHEL 3.0

You must install the package hp_qla2x00src-7.05.00-9...
In the installation procedure you must to choose the mode "Qlogic Failover"...
And If you have one EVA for the san you must present the LUN "FAILOVER only" path A ou Path B...
In last your host on the EVA must be declared "SUN SOLARIS" for O.S.

Normaly you have in the file /etc/modules.conf :
alias scsi_hostadapter2 qla2200
alias scsi_hostadapter3 qla2300_conf
alias scsi_hostadapter4 qla2300
alias scsi_hostadapter5 sg
options qla2200 ql2xmaxqdepth=16 qlport_down_retry=3 qlogin_retry_count=16 ql2xfailover=1
options qla2300 ql2xmaxqdepth=16 qlport_down_retry=3 qlogin_retry_count=16 ql2xfailover=1
post-remove qla2300 rmmod qla2300_conf


And in the file /etc/hp_qla2x00.conf :
qdepth = 16
port_down_retry_count = 3
login_retry_count = 16
failover = 1

After the reboot you cat see your disk with the command "cat /proc/partitions"
Olivier JAVAUX
David Spencer_1
Advisor

Re: Finding 'failover drivers' for Qlogic 2300 on RHEL 3.0

I had the same problem and here is what fixed it.
Hopefully you have already downloaded the hp_fibreutils. If not, go to the HP website and download them.
After getting the utilities, run the following script:
/opt/hp/src/hp_qla2x00src/set_parms
Choose option 1 for "XP/MSA/EVA failover"
then "y" to rebuild the initrd file.
After a reboot the system should be in the failover mode and the paths properly filtered.
Chris_557
Occasional Advisor

Re: Finding 'failover drivers' for Qlogic 2300 on RHEL 3.0

Ok, quick question then.
I am using an IBM Shark for the SAN disks.
Will this affect things at all?
The hp qla rpm file said it didn't like seeing the IBM there, so I am figuring it must matter, but it also tells me how to force the install.
David Spencer_1
Advisor

Re: Finding 'failover drivers' for Qlogic 2300 on RHEL 3.0

Chis, the hp_fibreutils are for the Qlogic interface. The script:
/opt/hp/src/hp_qla2x00src/set_parms should resolve your 12 LUN problem. The system needs to see it only as 6 LUNS for everything to be correct with the failover.
JAVAUX
Occasional Advisor

Re: Finding 'failover drivers' for Qlogic 2300 on RHEL 3.0

Chris,

Your Qlogic card is provided by HP... The best driver for this cards is from fp_fibreutils...

You can chosse :
1) Uninstall driver and reinstall driver with option "Qlogic failover" (I think this is the best way..)
2) Execute the shell /opt/hp/src/hp_qla2x00src/set_prms and set option "failover"

If you driver is already installed you must uninstall this.. I have this problem and I have remove the driver and reinstall this driver... for use the qlogic failover...
Olivier JAVAUX
Chris_557
Occasional Advisor

Re: Finding 'failover drivers' for Qlogic 2300 on RHEL 3.0

As far as I can tell, thigns are working as exected after installing the HP drivers.
There were a few odd messages here and there, but I now have 6 LUNs and they aren't moving around on me. Thanks for the help.
Chris_557
Occasional Advisor

Re: Finding 'failover drivers' for Qlogic 2300 on RHEL 3.0

Installing HP Drivers as suggested seemed to do the trick.