SAN Connected RedHat Server

I received 4 pre-loaded ready-to-go intel servers running RedHat Enterprise Linux 3 kernel version 2.6.9-22.18 build date june 29, 2006. They are equiped with QLOGIC 2400 dual-port HBA cards. I need to know what utilities or command-sets are available to check these cards out? How do I get their WWN's/port? I see they are connected to the SAN, but I want some sort of utilities on the server side to administer. ANy help is appreciated!

sa

Ok, I notice quite a few views, but no replies.

I know for a fact this info now. In the proc tables under the /proc/scsi/qla2300 directory there are directories for each HBA port of the two cards - 3, 4, 5, 6.

By performing cat on each subdir, I get the info that I can use to correlate with what is currently logged into my SAN Switch.

[root@thishost root]# cat /proc/scsi/qla2300/3

QLogic PCI to Fibre Channel Host Adapter for QLA2462:
Firmware version: 4.00.18, Driver version 7.07.04b6
Entry address = ffffffffa006d0c0

Request Queue = 0x6b0000, Response Queue = 0x6a0000
Request Queue count= 512, Response Queue count= 512
Total number of active commands = 0
Total number of interrupts = 35
Total number of active IP commands = 0
Total number of IOCBs (used/max) = (0/0)
Total number of queued commands = 0
Device queue depth = 0x20
Number of free request entries = 511
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= <READY>, flags= 0x70013
Dpc flags = 0x0
MBX flags = 0x0
SRB Free Count = 4096
Link down Timeout = 030
Port down retry = 030
Login retry count = 030
Commands retried with dropped frame(s) = 0
Configured data rate: 4 Gb/sec

SCSI Device Information:
scsi-qla0-adapter-node=2000001b320507ac;
scsi-qla0-adapter-port=2100001b320507ac;

SCSI LUN Information:
(Id:Lun) * - indicates lun is not registered with the OS.

If anyone has anything else to add, help me out! thanks!

A little bit confusing is your message. If you are using RH3 you should have kernel 2.4, if you have kernel 2.6 then you should have RH4 or RH5.

Actually all the information for Qlogic HBA you will find as you said in /proc/scsi/ directory. For Emulex it's split between two directories in kernel 2.6 (/proc/scsi and /sys/). Also messages files includes information about HBA card.

You can also use Qlogic utility that is available for download from Qlogic webside to query the information about the HBA.

Also if you are using different vendors Arrays you usualy shoud get software that will let you get more information about HBA eg. inq from EMC.

Hope this helps.
Regards,
-Oktawik.

1 Like

I prefer "scli" from qlogic, get it the same place you get drivers:

Support: Download Drivers / OS Detail

All good help!

I like the scli tools. Never was able to find them before now. Thanks!