Start a Conversation

Unsolved

This post is more than 5 years old

2074

February 8th, 2007 11:00

rhel4 powerlink qla2xxx HBAs not detected

Hi,

I ran through a procedure script that was generated to install my Emulex QLA-2340s on a RHEL4 box (Linux rh-linx2 2.6.9-42.0.8.ELsmp #1 SMP Tue Jan 23 13:01:26 EST 2007 i686 i686 i386 GNU/Linux). Everything seems to have gone in well, I updated the HBA firmware, installed the qla2xxx-8.01.06-1dkms rpms successfully, sansurfer is installed and appears to be working, PowerPath is installed and the licenses have "Capabilties: All" set.

But cat /proc/scsi/scsi doesn't show anything other than the onboard HDDs, and the lun-scan.sh script I downloaded from emcpower gives: "ls: /sys/bus/pci/drivers/lpfc/*/host*: No such file or directory"

I see qla2xxx & qla2300 entries in lsmod as well as a bunch of emcp* entries. The PowerPath, qlremote, and naviagent are all starting from init.d.

I don't really know what I'm missing to make the connection between all this software and the hardware on the system.

Thanks for any pointers.

Dave

1 Rookie

 • 

20.4K Posts

February 8th, 2007 12:00

do you have "/proc/scsi/lpfc" directory ?

1 Rookie

 • 

20.4K Posts

February 8th, 2007 12:00

looks you are using Qlogic and not Emulex ..you should have /proc/scsi/qlaXXX ..or something of that nature

1 Rookie

 • 

20.4K Posts

February 9th, 2007 05:00

what storage array are you connecting to ?

February 9th, 2007 05:00

Hi, thanks for the reply. You're right, I do have QLogic joints and I do have a /proc/scsi/qla2xxx/2 and /proc/scsi/qla2xxx/3 which have a bunch of info like:

QLogic PCI to Fibre Channel Host Adapter for QLA2340:
        Firmware version 3.03.19 IPX, Driver version 8.01.06
ISP: ISP2312, Serial# J81445
Request Queue = 0x17bc0000, Response Queue = 0x17ba0000
Request Queue count = 2048, Response Queue count = 512
Total number of active commands = 0
Total number of interrupts = 73
    Device queue depth = 0x10
Number of free request entries = 2046
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 = 0x1a03
Dpc flags = 0x4000000
MBX flags = 0x0
Link down Timeout = 045
Port down retry = 045
Login retry count = 045
Commands retried with dropped frame(s) = 0
Product ID = 4953 5020 2020 0002
 
 
SCSI Device Information:
scsi-qla1-adapter-node=200000e08b8ec5f9;
scsi-qla1-adapter-port=210000e08b8ec5f9;
 
FC Port Information:
 
SCSI LUN Information:
(Id:Lun)  * - indicates lun is not registered with the OS.


I'm not sure if that last line means the Luns are not registered. Any idea how I need to register these Luns with RHEL4?

Thanks for any help.

Dave

February 9th, 2007 06:00

It's an EMC Clarion CX-700 OEM'ed through Dell. Our switch has these Qlogic HBA's worldwide names registered, but the SAN's connectivity status doesn't detect them, but I'm sure that rhel's not properly configured, otherwise something like `powermt display dev=all` would give something other than `Device(s) not found.`

1 Rookie

 • 

20.4K Posts

February 9th, 2007 07:00

ok, so you have gone through these steps:

1) connected HBAs to the switch.
2) created new zones on the switch and activated the zoneset.

1 Rookie

 • 

20.4K Posts

February 9th, 2007 11:00

powerpath will not show HBAs until there are devices presented to them. So when you look in Navisphere under connectivity status you do not see the WWNs of your HBAs correct ?

February 9th, 2007 11:00

Yes, Navisphere "connectivity status" fails to show the WWNs of the HBAs. But according to the instructions for installing the QLogic Drivers and PowerPath, it should detect them if everything went well with the installation of the drivers/agents/software.

February 9th, 2007 11:00

Yes, to both of your questions (zoning has been done and the HBAs are connected to the FC switch) Also, I'm under the impression that regardless of whether the HBAs are connected to anything PowerPath should see and acknowledge that the HBAs are on the server on which it's installed. Am I correct?

The reason I ask is that I opened a support incident with Dell over this issue today and I was asked the same thing ---almost as if PowerPath won't see the HBAs before the zoning has been done. One of our SAN admin seems to think that it doesn't matter.

Regardless, the zoning has been done.

Thanks again.

Dave

1 Rookie

 • 

20.4K Posts

February 9th, 2007 12:00

yep ..usually it does work without problems. I have run into instances where the host was properly zoned but it still would not show up under connectivity status. So what i had to do was manually register the HBAs. On your linux box go to /proc/scsi/qlaXXX and run ls ...you will see a few hostX entries. Run cat hostX for each of them and post output here.

147 Posts

February 11th, 2007 16:00

I'm not sure if that last line means the Luns are not
registered. Any idea how I need to register these
Luns with RHEL4?


Under "FC Port Information" you are meant to see the Clariion SP WWPNs. You aren't seeing anything so its not logging into the Clariion. You will not see luns if you aren't logged into the Clariion.

You can ignore that lun registration legend at the bottom, you aren't seeing any luns let alone luns with an asterisk next to them.

You should check your switch zoning, and if that checks out, poke the linux host somehow to retry logging into the Clariion.

Here is an example of what the driver should look like:

QLogic PCI to Fibre Channel Host Adapter for QLA2340:
        Firmware version 3.03.15 IPX, Driver version 8.01.00
ISP: ISP2312, Serial# N27528
Request Queue = 0x274c0000, Response Queue = 0x27b70000
Request Queue count = 2048, Response Queue count = 512
Total number of active commands = 0
Total number of interrupts = 604
    Device queue depth = 0x20
Number of free request entries = 1522
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 = 0x1803
Dpc flags = 0x4000000
MBX flags = 0x0
Link down Timeout = 000
Port down retry = 045
Login retry count = 045
Commands retried with dropped frame(s) = 0
Product ID = 4953 5020 2020 0002
 
 
SCSI Device Information:
scsi-qla1-adapter-node=200000e08b14a841;
scsi-qla1-adapter-port=210000e08b14a841;
scsi-qla1-target-0=50060482b82eae4c;
scsi-qla1-target-1=5006048accc832c0;
scsi-qla1-target-2=500601600d01306e;
 
FC Port Information:
scsi-qla1-port-0=5006048accc832c0:5006048accc832c0:621713:81;
scsi-qla1-port-1=500601601a01306e:500601600d01306e:6f0513:82;
 
SCSI LUN Information:
(Id:Lun)  * - indicates lun is not registered with the OS.
( 1: 0): Total reqs 2, Pending reqs 0, flags 0x0*, 1:0:81 00
( 1: 1): Total reqs 153, Pending reqs 0, flags 0x0, 1:0:81 00
( 2: 0): Total reqs 325, Pending reqs 0, flags 0x0, 1:0:82 00

February 12th, 2007 11:00

Jason,

Sorry if my terminology was confusing, we're not even seeing the HBA's locally on the Linux box, so logging into the Clarion's not going to happen without that, I'm afraid. The local Linux PowerPath install can't see the HBAs that are installed on that box.

Thanks for the reply.

Dave

1 Rookie

 • 

20.4K Posts

February 12th, 2007 11:00

dont worry about hba now showing up under PP ..they will once the box can see the luns. like Jason suggested can you run fdisk -l or bounce the box to see if that would force it to log in to the array. if that still does not work we can manually register host initiator. can you tell us if each hba is zoned to spA and spB ?

February 12th, 2007 11:00

Thanks for the replies. Dynamox, here is the output of cat'ing the devices:

cat /proc/scsi/qla2xxx/2 
QLogic PCI to Fibre Channel Host Adapter for QLA2340:
        Firmware version 3.03.19 IPX, Driver version 8.01.06
ISP: ISP2312, Serial# J99132
Request Queue = 0x17b00000, Response Queue = 0x17b40000
Request Queue count = 2048, Response Queue count = 512
Total number of active commands = 0
Total number of interrupts = 73
    Device queue depth = 0x10
Number of free request entries = 2046
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 = 0x1a03
Dpc flags = 0x4000000
MBX flags = 0x0
Link down Timeout = 045
Port down retry = 045
Login retry count = 045
Commands retried with dropped frame(s) = 0
Product ID = 4953 5020 2020 0002
 
 
SCSI Device Information:
scsi-qla0-adapter-node=200000e08b8fdc3e;
scsi-qla0-adapter-port=210000e08b8fdc3e;
 
FC Port Information:
 
SCSI LUN Information:
(Id:Lun)  * - indicates lun is not registered with the OS.


cat /proc/scsi/qla2xxx/3
QLogic PCI to Fibre Channel Host Adapter for QLA2340:
        Firmware version 3.03.19 IPX, Driver version 8.01.06
ISP: ISP2312, Serial# J81445
Request Queue = 0x17bc0000, Response Queue = 0x17ba0000
Request Queue count = 2048, Response Queue count = 512
Total number of active commands = 0
Total number of interrupts = 73
    Device queue depth = 0x10
Number of free request entries = 2046
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 = 0x1a03
Dpc flags = 0x4000000
MBX flags = 0x0
Link down Timeout = 045
Port down retry = 045
Login retry count = 045
Commands retried with dropped frame(s) = 0
Product ID = 4953 5020 2020 0002
 
 
SCSI Device Information:
scsi-qla1-adapter-node=200000e08b8ec5f9;
scsi-qla1-adapter-port=210000e08b8ec5f9;
 
FC Port Information:
 
SCSI LUN Information:
(Id:Lun)  * - indicates lun is not registered with the OS.


I'll have a look at what I can do regarding Jason's reply and post back shortly.

147 Posts

February 12th, 2007 13:00

we're not even
seeing the HBA's locally on the Linux box, so logging
into the Clarion's not going to happen without that,
I'm afraid. The local Linux PowerPath install can't
see the HBAs that are installed on that box.


wrong way around :-)
Powerpath won't see HBAs / Luns if you aren't logged into the Clariion. Also it looks like the Qlogic driver is installed and has attached to the adapters fine.
No Events found!

Top