Documente Academic
Documente Profesional
Documente Cultură
________________________________________________________________________________
____
Installing HBA in 4.x
-----------------------
Run lspci | grep QLA to determine which Qlogic cards you have installed, common
values are QLA2200 or QLA2312 the corresponding driver would be either qla2200 o
r qla2300.
Once you have determined the current model, add the appropriate driver /etc/modu
les.conf similar to:
alias scsi_hostadapter1 qla2300
alias scsi_hostadapter2 qla2300
Run modprobe qla2300 where qla2300 is the driver module you added to modules.con
f. This will load the driver and should discover any already zoned storage.
Verify your storage is visible by cat /proc/scsi/qla2300/0, at the bottom of the
output is your SCSI Lun information similar to:
SCSI LUN Information:
(Id:Lun) * - indicates lun is not registered with the OS.
(0: 0): Total reqs 811, Pending reqs 0, flags 0x0, 1:0:81,
( 0: 1): Total reqs 11781944, Pending reqs 0, flags 0x0, 1:0:81,
( 0: 2): Total reqs 11709746, Pending reqs 0, flags 0x0, 1:0:81,
( 0: 3): Total reqs 5542, Pending reqs 0, flags 0x0, 1:0:81,
( 0: 4): Total reqs 5360, Pending reqs 0, flags 0x0, 1:0:81,
On a dual path system check both 0 and 1 HBA instances. If storage has not been
zoned the LUN Information section will be empty.
Create a new ramdisk image for preloading the qlogic modules:
cp /boot/initrd-`uname -r`.img /boot/initrd-`uname -r`.img.nosan
mkinitrd -f /boot/initrd-`uname -r`.img `uname -r`
Reboot the machine with the qlogic modules preloaded and verify you can see the
storage with fdisk -l if it has been already zoned.
sudo yum groupinstall EMC-SAN-support ---> for powerpath installtion
________________________________________________________________________________
___________
Installing HBA in 5.x
-----------------------
The system administrator should use these instructions when there is no SAN stor
age at all on the host.
You must contact the Storage Team to request the proper Qlogic host bus adapters
for your server. You should also submit a storage request for your devices to b
e allocated here:Storage Request. After installing the HBA's and the devices hav
e been allocated, configure the kernel to support the new cards as follows:
Run /sbin/lspci | grep QLA to determine which Qlogic cards you have installed. T
he most common value is QLA2312 (for the QLA2340 card), and the output would loo
k something like this (for 2 1-port cards):
05:0d.0 Fibre Channel: QLogic Corp. QLA2312 Fibre Channel Adapter (rev 02)
06:0e.0 Fibre Channel: QLogic Corp. QLA2312 Fibre Channel Adapter (rev 02)
A single two-port card would look like this (note the slot and card numbers are
the same, i.e. "07" and "03", but the instance numbers are different, i.e. "0" a
nd "1"):
07:03.0 Fibre Channel: QLogic Corp. QLA2312 Fibre Channel Adapter (rev 02)
07:03.1 Fibre Channel: QLogic Corp. QLA2312 Fibre Channel Adapter (rev 02)
The corresponding driver would be qla2300 (which depends on another module calle
d qla2xxx with generic functionality for multiple cards).
1:0:0:1
^ ^ ^ ^
| | | |
| | | + - LUN (in decimal)
| | +---- Target
| +------ Channel (always 0)
+-------- Host (HBA driver instance number); usually 0 or 1 (see NOTE).
NOTE: the HBA instance number but can vary, depending on other SCSI drivers pres
ent and the number of times the qla2300 and qla2xxx modules are reloaded.