Friday, March 26, 2010

How to Find out HAB Firmware and Driver version in Linux server

We can use scli command to find out the HBA Information if the SANsurferCLI? is installed on the system. =======================================================================================================



suselinux10:~ #/opt/QLogic Corporation/SANsurferCLI/scli

Searching for QLogic FC HBA(s) and attached device(s) ...


SANsurfer FC HBA CLI

v1.7.0 Build 12


Main Menu


1: Display System Information

2: Display HBA Settings

3: Display HBA Information

4: Display Device List

5: Display LUN List

6: Configure HBA Settings

7: Boot Device Settings

8: HBA Utilities

9: Flash Beacon

10: Diagnostics

11: Help

12: Quit


Enter Selection: 3

SANsurfer FC HBA CLI

v1.7.0 Build 12

HBA Information Menu

1: Information

2: VPD


Note: 0 to return to Main Menu

Enter Selection: 1

SANsurfer FC HBA CLI

v1.7.0 Build 12

Information Menu

HBA Model QMH2562:

1: Port 1: WWPN: 50-01-43-80-06-2F-A2-28 Online

HBA Model QMH2562:

2: Port 2: WWPN: 50-01-43-80-06-2F-A2-2A Online

3: All HBAs

4: Return to Previous Menu

Note: 0 to return to Main Menu

Enter Selection: 3


Host Name : suselinux10

HBA Model : QMH2562

HBA Alias :

Port : 1

Port Alias :

Node Name : 50-01-43-80-06-2F-A2-29

Port Name : 50-01-43-80-06-2F-A2-28

Port ID : 07-CE-80

Serial Number :

Driver Version : 8.02.00-k6-SLES10-05

BIOS Version : N/A

Firmware Version : 4.03.02 [Multi-ID]

HBA Instance : 0

HBA ID : 0-QMH2562

Actual Connection Mode : Point to Point

Actual Data Rate : 4 Gbps

PortType? (Topology) : NPort

Total Number of Devices : 1

PCI Bus Number : 6

PCI Device Number : 0

HBA Status : Online



Hit to continue:


Host Name : suselinux10

HBA Model : QMH2562

HBA Alias :

Port : 2

Port Alias :

Node Name : 50-01-43-80-06-2F-A2-2B

Port Name : 50-01-43-80-06-2F-A2-2A

Port ID : 08-CE-80

Serial Number :

Driver Version : 8.02.00-k6-SLES10-05

BIOS Version : N/A

Firmware Version : 4.03.02 [Multi-ID]

HBA Instance : 1

HBA ID : 1-QMH2562

Actual Connection Mode : Point to Point

Actual Data Rate : 4 Gbps

PortType? (Topology) : NPort

Total Number of Devices : 1

PCI Bus Number : 6

PCI Device Number : 0

HBA Status : Online



Hit to continue:

============================================================================================================

We can collect the HBA information directly from OS in case scli (qlogic) & linlpcfg (Emulex) not installed

================================================================================================================



suselinux10:~ # cat /sys/class/scsi_host/host2/fw_version



4.03.02 [Multi-ID]



suselinux10:~ # cat /sys/class/scsi_host/host2/driver_version



8.02.00-k6-SLES10-05



suselinux10:~ # cat /sys/class/scsi_host/host2/model_name



HPAJ764A



suselinux10:~ # cat /sys/class/fc_host/host2/node_name



0x50014380062c94b1



suselinux10:~ #



suselinux10:~ # cat /sys/class/fc_host/host2/port_name



0x50014380062c94b0



suselinux10:~ #



suselinux10:~ # cat /sys/class/fc_host/host2/port_type



NPort (fabric via point-to-point)



suselinux10:~ #



suselinux10:~ # cat /sys/class/fc_host/host2/speed



4 Gbit



suselinux10:~ #