HPE EVA Storage
1833792 Members
2235 Online
110063 Solutions
New Discussion

setup fca2214 with eva 6000 on linux

 
thedude_2
Occasional Advisor

setup fca2214 with eva 6000 on linux

Hi,
I am trying to connect some linux machines to my eva and have ran into a little problem. I am running RHEL4 on these machines with the latest drivers from hp. I installed the cards and software, zoned the servers, and finally created a vdisk and presented it to one. Here is where everything goes wrong. After I rebooted that server I had 4 device files that look like they are all pointing to the same vdisk (sdb,sdc,sdd,sde). I have been in SANsurfer and tried to setup everything as best as I could but I am still having difficulties and not finding much documentation. Do I need to install the
device-mapper-multipath package in order to obtain a single device file? Also when I go into the fiber utils lssd and lssg return nothing. adapter_info does return my WWN's of my cards and I also get the following output from hp_rescan

Sending rescan signal to /proc/scsi/qla2xxx/1...
Sending rescan signal to /proc/scsi/qla2xxx/2...
Scanning /proc/scsi/qla2xxx/2, target 1, LUN 32


scsi1 00 00 00 HP HSV200 5031 RAID
scsi1 00 00 01 HP HSV200 5031 Direct-Access
scsi1 00 01 00 HP HSV200 5031 RAID
scsi1 00 01 01 HP HSV200 5031 Direct-Access
scsi2 00 00 00 HP HSV200 5031 RAID
scsi2 00 00 01 HP HSV200 5031 Direct-Access
scsi2 00 01 00 HP HSV200 5031 RAID
scsi2 00 01 01 HP HSV200 5031 Direct-Access

Finally there are also a lot of qlogic devices in my /etc/modprobe.conf.

alias scsi_hostadapter1 qla2xxx_conf
alias scsi_hostadapter2 qla2xxx
alias scsi_hostadapter3 qla2300
alias scsi_hostadapter4 qla2400
alias scsi_hostadapter5 qla6312
options qla2xxx ConfigRequired=1 ql2xmaxqdepth=16 qlport_down_retry=64 ql2xlogi
nretrycount=16 ql2xfailover=1 ql2xlbType=0 ql2xautorestore=0x0
remove qla2xxx /sbin/modprobe -r --first-time --ignore-remove qla2xxx && { /sbin
/modprobe -r --ignore-remove qla2xxx_conf; }


Any help would be greatly appreciated.
Thanks.
3 REPLIES 3
Mark Poeschl_2
Honored Contributor

Re: setup fca2214 with eva 6000 on linux

Paul Henderson_2
Frequent Advisor

Re: setup fca2214 with eva 6000 on linux

Yes, you get four paths because the EVA has 4 controllers, and Linux scans it bus and thinks (understandably) "I see one disk, now I see another, and another, and another". Total: 4 disks when only 1 exists.

(Real OSes like Tru64 or VMS look at the WWID of the disk to find unique disks, so this problem doesn't occur.)

The problem stems from the fact that linux tries to use its own Qlogic driver instead of the one you loaded from the HP kit. You basically have to remove the default driver (qla*) and make sure only the HP driver (qlc*) is resident and active.

On my Linux servers I had to:
# lspci
# cd /lib/modules/'uname -r'
# cd drivers/xscsi
# modprobe qlfc_mod
# lsmod
# rmmod
# cd /opt/hp
reload the kit

We do NOT run the multipathing software, because we have only single port HBAs. You really don't need the software UNLESS you really want multipathing.

Steven Clementi
Honored Contributor

Re: setup fca2214 with eva 6000 on linux

Dude:

All you should need to do is re-install the qlogic driver package with the -f switch to enable multipath support.

Paul:

The EVA has only TWO controllers, not 4. Each controller has 2 or 4 paths to storage depending on your model (3/4/5/6 have 2 paths per controller and the 8000 has 4 paths per controller).


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)