Operating System - Linux
1823731 Members
2733 Online
109664 Solutions
New Discussion юеВ

Need Help - Installing HP AK344A or Qlogic QLE2560 HBA in SLES 10 SP2 server

 
SOLVED
Go to solution
Greg Taylor
Advisor

Need Help - Installing HP AK344A or Qlogic QLE2560 HBA in SLES 10 SP2 server

I am installing a Qlogic HP AK344A, also referred to as QLE2560 (HP-Compaq StorageWorks Single channel PCI-E 8 GB Fibre Channel Host us Adapter) in a HP DL380 G5 running SLES 10 SP2, OES 2 SP1, with kernel 2.6.16.60-0.42.9-bigsmp.

The installation instructions indicate I need to install the "Linux Fiber Channel Enablement Kit" but I cannot find one for SLES 10 SP2. The only one I can find is for SLES 10 SP3 or later.

Can anyone point me in the right direction?
9 REPLIES 9
KuehnUl
Advisor
Solution

Re: Need Help - Installing HP AK344A or Qlogic QLE2560 HBA in SLES 10 SP2 server

Hello Greg,

until SLES10-SP2, HP recommend to use hp-qlogic driver located in "Linux Driver Kit for HP Qlogic HBAs and mezzanine HBAs".

With SP3 it changed to the distribution driver in combination with the "Linux Fibre Channel Enablement Kit".

Best regards, Uli

Greg Taylor
Advisor

Re: Need Help - Installing HP AK344A or Qlogic QLE2560 HBA in SLES 10 SP2 server

Thank you so much for your reply...

I found the HBA driver software here:
http://h20000.www2.hp.com/bizsupport/TechSupport/SoftwareIndex.jsp?lang=en&cc=us&prodNameId=3662827&prodTypeId=12169&prodSeriesId=3662826&swLang=13&taskId=135&swEnvOID=2065

There are three versions available of the "Linux Driver Kit for HP Qlogic HBAs and mezzanine HBAs"

8.03.00.13.10.3-k4, 24 May 2010, 0.16 MB
8.02.23, 18 Sep 2009, 7.6 MB
8.02.11-1, 2 Jul 2008, 7.1 MB

The installation instructions for Linux in the release notes for all three versions refer to installing the HP Fibre Channel Enablement Kit (which we know is only available for SLES with SP3 or later)

Another driver available there, the "Linux Driver Kit for the HP branded Qlogic 81Q HBA", version 8.02.03, 26 Feb 2008, 7.7 MB does not mention the HP Fibre Channel Enablement Kit. (And the AK344A card I am installing is also referred to as the 81Q.)

Outside of the reference to the HP Fibre Channel Enablement Kit, all four of the driver's release notes follow a similar procedure for installation and refer to checking installed driver versions via "rpm -q hp_qla2x00src" and "rpm -q fibreutils". Because of previous installation attempts, when I run those commands on my server I get the following output:

rpm -q hp_qla2x00src

hp_qla2x00src-8.02.23-1

rpm -q fibreutils

fibreutils-3.1-2

When I previously tried to install the HP Fibre Channel Enablement Kit part of it failed because the server did not meet the SP3 requirement, but part of it succeeded (the fibreutils). That is why fibreutils-3.1-2 is indicated as being installed already. Also I previously installed the Linux Driver Kit for HP Qlogic HBAs and mezzanine HBAs, so we see hp_qla2x00src-8.02.23-1 as having been installed too. So maybe I have all the software/drivers installed that I need...?

Also, the system does seem to recognize the HBA card. Here is some additional output that may be helpful in clarifying the problem I am having.

Output from: "more /proc/scsi/qla2xxx/*"

QLogic PCI to Fibre Channel Host Adapter for HPAK344A:
Firmware version 4.06.03 , Driver version 8.02.23
BIOS version 2.00
FCODE version 2.00
EFI version 2.00
Flash FW version 4.02.01 0080
ISP: ISP2532, Serial# MXK82140MX
Request Queue = 0x37900000, Response Queue = 0x378b0000
Request Queue count = 4096, Response Queue count = 512
Total number of active commands = 0
Total number of interrupts = 36289
Device queue depth = 0x10
Number of free request entries = 3809
Number of mailbox timeouts = 0
Number of ISP aborts = 0
Number of loop resyncs = 0
Number of retries for empty slots = 0
Number of reqs in pending_q= 0, retry_q= 0, done_q= 0, scsi_retry_q= 0
Host adapter:loop state = , flags = 0x185a43
Dpc flags = 0x0
MBX flags = 0x0
Link down Timeout = 060
Port down retry = 064
Login retry count = 016
Commands retried with dropped frame(s) = 0
Product ID = 0000 0000 0000 0000

SCSI Device Information:
scsi-qla0-adapter-node=50014380016963f1;
scsi-qla0-adapter-port=50014380016963f0;
scsi-qla0-target-0=50060e8005bd6b75;

FC Port Information:
scsi-qla0-port-0=50060e8005bd6b75:50060e8005bd6b75:0a000b:81;

SCSI LUN Information:
(Id:Lun) * - indicates lun is not registered with the OS.
( 0: 0): Total reqs 256, Pending reqs 0, flags 0x0, Dflags 0x0, 0:0:81 00


Output from "rescan-scsi-bus.sh -w -l"

Host adapter 0 (qla2xxx) found.
Scanning SCSI subsystem for new devices
Scanning host 0 for SCSI target IDs 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15, LUNs 0 1 2 3 4 5 6 7
Scanning for device 0 0 0 0 ...
OLD: Host: scsi0 Channel: 00 Id: 00 Lun: 00
Vendor: HITACHI Model: OPEN-V Rev: 6006
Type: Direct-Access ANSI SCSI revision: 03
0 new device(s) found.
0 device(s) removed.


Output from "lsscsi"

[0:0:0:0] disk HITACHI OPEN-V 6006 /dev/sda

So it appears to see the card but not the LUN being presented to the server. Is that correct? Do you think things are good on the server side? If so, what do you suggest I try next? I will contact the SAN Administrators and have them double check how they presented the LUN.

Thanks so much for your help!
Michael Leu
Honored Contributor

Re: Need Help - Installing HP AK344A or Qlogic QLE2560 HBA in SLES 10 SP2 server

Hi Greg

It all looks good to me, your LUN from the XP seems to be available as /dev/sda.

By default with the 'old' HP Driver Kit the multipathing is done by the driver. That is why you only see a single /dev/sd device.

If you want to use the software based multipath (AFAIK the way forward with SLES 10 SP3) you can turn it off with '/opt/hp/src/hp_qla2x00src/set_parm -s'.
Then you can start to fiddle around in /etc/multipath.conf :-)
Greg Taylor
Advisor

Re: Need Help - Installing HP AK344A or Qlogic QLE2560 HBA in SLES 10 SP2 server

Thanks so much for your help. I was treading in unfamiliar territory and your support was appreciated very much. I was able make use of the LUN after you got me going in the right direction. THANKS!!!
KuehnUl
Advisor

Re: Need Help - Installing HP AK344A or Qlogic QLE2560 HBA in SLES 10 SP2 server

Hello Greg,

I am wondering about this output:

Output from: "more /proc/scsi/qla2xxx/*"

QLogic PCI to Fibre Channel Host Adapter for HPAK344A:
Firmware version 4.06.03 , Driver version 8.02.23

What is the output from lssg and lssd?

If you want use the driver in the qlogic multipath failover mode, it should have the -fo ending "Driver version 8.02.23-fo". (set_parm -x)

Best regards,

Uli
Greg Taylor
Advisor

Re: Need Help - Installing HP AK344A or Qlogic QLE2560 HBA in SLES 10 SP2 server

We are using a single fiber connection, so no multipath needed (at least for now).
Greg Taylor
Advisor

Re: Need Help - Installing HP AK344A or Qlogic QLE2560 HBA in SLES 10 SP2 server

FYI:

lssg

sg0 0,0,0,0 HITACHI OPEN-V 6006

lssd

sda 0,0,0,0 HITACHI OPEN-V 6006
Michael Leu
Honored Contributor

Re: Need Help - Installing HP AK344A or Qlogic QLE2560 HBA in SLES 10 SP2 server

If you want to use dm-multipath on this LUN in the future I would highly recommend to set it up *now*. Going from /dev/sd to /dev/mapper with the disk in use is quite complex and probably not even possible without downtime...
KuehnUl
Advisor

Re: Need Help - Installing HP AK344A or Qlogic QLE2560 HBA in SLES 10 SP2 server

Hi Greg,

the lssg output show, that you have no redundancy. Your device is only visible over one path. For a real check if your multipathing is working right, you should have more path.

br uli