Operating System - Linux
1847176 Members
6007 Online
110263 Solutions
New Discussion

Re: Redhat, QLogic QLA2340 HBAs and EVA5000 and EVA8000 LUNs

 

Redhat, QLogic QLA2340 HBAs and EVA5000 and EVA8000 LUNs

The following existing set up is linked to HP EVA SAN:
DL585 running Redhat 4 U4; kernel version 2.6.9-34.0.1
Two QLogic QLA2340 HBAs
Two EVA5000s, each presenting 4 LUNs each.

Adding EVA8000 to SAN, upgraded HP QLogic driver to 8.01.03p5-21

Two new LUNs presented from the EVA8000 are not listed by lssd. EVA8000 controllers are seen by hp_rescan -a. Details of lssd and config files below.


*********/etc/hp_qla2x00.conf********
qdepth = 16
port_down_retry_count = 30
login_retry_count = 16
failover = 1
load_balancing = 1
excludemodel = 0x0
auto_restore = 0x80


*******/etc/modprobe.conf*************
alias eth0 e1000
alias eth1 e1000
alias eth2 e1000
alias eth3 e1000
alias eth4 e1000
alias eth5 e1000
alias eth6 tg3
alias eth7 tg3
alias bond0 bonding
options bond0 mode=1 miimon=500
alias scsi_hostadapter cciss
alias usb-controller ohci-hcd
install vxportal /sbin/modprobe --ignore-install vxportal; /sbin/start_udev
alias char-major-10-32 vxportal
remove qla2xxx /sbin/modprobe -r --first-time --ignore-remove qla2xxx && { /sbin/modprobe -r --ignore-remove qla2xxx_conf; }
alias scsi_hostadapter1 qla2xxx_conf
alias scsi_hostadapter2 qla2xxx
alias scsi_hostadapter3 qla2300
alias scsi_hostadapter4 qla2400
alias scsi_hostadapter5 qla6312
options qla2xxx ql2xmaxqdepth=16 qlport_down_retry=30 ql2xloginretrycount=16 ql2xfailover=1 ql2xlbType=1 ql2xautorestore=0x80



***************Portion of /etc/rc.d/rc.sysinit*****************



# PROBE-LUNS install begin -- Do Not Edit

echo "Running probe-luns"

if [ -f /sbin/probe-luns ] ; then
/sbin/probe-luns -d >/dev/null 2>&1
fi

# PROBE-LUNS install end -- Do Not Edit



************* lssd *********************

sda 0,0,0,1 COMPAQ HSV110 (C)COMPAQ 3028
sdb 0,0,0,2 COMPAQ HSV110 (C)COMPAQ 3028
sdc 0,0,0,3 COMPAQ HSV110 (C)COMPAQ 3028
sdd 0,0,0,4 COMPAQ HSV110 (C)COMPAQ 3028
sde 0,0,2,1 COMPAQ HSV110 (C)COMPAQ 3028
sdf 0,0,2,2 COMPAQ HSV110 (C)COMPAQ 3028
sdg 0,0,2,3 COMPAQ HSV110 (C)COMPAQ 3028
sdh 0,0,2,4 COMPAQ HSV110 (C)COMPAQ 3028



****************** hp_rescan -a *****************
Sending rescan signal to /proc/scsi/qla2xxx/0...
Sending rescan signal to /proc/scsi/qla2xxx/1...
scsi0 00 02 01 COMPAQ HSV110 3028 Direct-Access
scsi0 00 02 02 COMPAQ HSV110 3028 Direct-Access
scsi0 00 02 03 COMPAQ HSV110 3028 Direct-Access
scsi0 00 02 04 COMPAQ HSV110 3028 Direct-Access
scsi0 00 03 00 COMPAQ HSV110 3028 RAID
scsi0 00 04 00 HP HSV210 5110 RAID
scsi0 00 05 00 HP HSV210 5110 RAID
scsi0 00 06 00 HP HSV210 5110 RAID
scsi0 00 07 00 HP HSV210 5110 RAID
scsi1 00 00 00 COMPAQ HSV110 3028 RAID
scsi1 00 02 00 COMPAQ HSV110 3028 RAID
scsi1 00 04 00 COMPAQ HSV110 3028 RAID
scsi1 00 06 00 COMPAQ HSV110 3028 RAID
scsi1 00 08 00 HP HSV210 5110 RAID
scsi1 00 09 00 HP HSV210 5110 RAID
scsi1 00 10 00 HP HSV210 5110 RAID
scsi1 00 11 00 HP HSV210 5110 RAID

3 REPLIES 3
Steven Clementi
Honored Contributor

Re: Redhat, QLogic QLA2340 HBAs and EVA5000 and EVA8000 LUNs

Are you sure your host designation/cigufartion on the EVA8000 is correct? Do the ports match the config on the EVA5000?

Not a zoning issue since.... well... you can "see' the EVA8k


Steven
Steven Clementi
HP Master ASE, Storage, Servers, and Clustering
MCSE (NT 4.0, W2K, W2K3)
VCP (ESX2, Vi3, vSphere4, vSphere5, vSphere 6.x)
RHCE
NPP3 (Nutanix Platform Professional)
David Child_1
Honored Contributor

Re: Redhat, QLogic QLA2340 HBAs and EVA5000 and EVA8000 LUNs

I'm not sure if HP has fixed 'lssd', but I've found it quite buggy and not very reliable. I ended up changing the following line in 'lssd' from;

LETT_LIST=" a b c d e f g h i j k l m n o p q r s t u v w x y z aa ab ac ad ae af ag ah ai aj ak al am an ao ap aq ar as at au av aw ax ay az ba bb bc bd be bf bg bh bi bj bk bl bm bn bo bp bq br bs bt bu bv bw bx by bz ca cb cc cd ce cf cg ch ci cj ck cl cm cn co cp cq cr cs ct cu cv cw cx cy cz da db dc dd de df dg dh di dj dk dl dm dn do dp dq dr ds dt du dv dw dx "

to;

LETT_LIST=`ls /dev/sd* | sed -e 's/\/dev\/sd//' -e 's/[1-9]$//' | uniq`

This fixed most of the problems where 'lssd' didn't always show everything.

That being said, I would double-check to verify that the Qlogic HBAs see the new luns;

cat /proc/scsi/qla2xxx/* (note: it might not be qla2xxx for your HBAs, but it will be something like it).

If you see it at this level, then check /proc/scsi/scsi.

David

Re: Redhat, QLogic QLA2340 HBAs and EVA5000 and EVA8000 LUNs

Presentation and Zoneing issue. Resolved. Thanks all.