HP 3PAR RedHat and Oracle Linux Implementation Guide

is running an older HP 3PAR OS version (one that is not HP 3PAR OS 3.1.1 or later), set the
lpfc_devloss_tmo setting to 1.
# cat /etc/modprobe.conf
alias eth0 e1000
alias eth1 e1000
alias scsi_hostadapter mptbase
alias scsi_hostadapter1 mptscsih
alias usb-controller ehci-hcd
alias usb-controller1 uhci-hcd
alias scsi_hostadapter2 lpfc
alias scsi_hostadapter3 lpfc
options lpfc lpfc_devloss_tmo=14 lpfc_lun_queue_depth=16
lpfc_discovery_threads=32
options scsi_mod max_luns=256
If a zoning-by-HBA configuration is used, where an HP 3PAR StoreServ Storage port is
connected to many hosts through a fabric, it is possible that the target port will run out of I/O
buffers and will result in the target port issuing a QUEUE FULL SCSI status message to any
new incoming I/O requests from any other hosts on that port. To prevent this event, you can
throttle the host port queue depth and LUN queue depth. For the Emulex driver, the port queue
depth is defined by driver parameter lpfc_hba_queue_depth, and the LUN queue depth
by lpfc_lun_queue_depth. Change the default values if any throttling is required.
Required
Storage administrators should carefully consider the number of hosts connected to an HP 3PAR
StoreServ Storage port and the number of LUN exports for calculating the throttling configuration
values. Performance degradation and SCSI timeout issues will result if the values are set too
high.
See the following white paper for a description of calculating queue depth and monitoring
port queues:
Host I/O Queues and HP 3PAR StoreServ Storage
NOTE: The ramdisk image needs to be rebuilt for any changes made to /etc/
modprobe.conf to be effective. The system will pick up the ramdisk changes on bootup.
4. Rebuild the ramdisk image.
For RHEL 4 or RHEL 5, rebuild the ramdisk image using the mkinitrd command:
# /sbin/mkinitrd -v -f /boot/<ramdisk image name> <kernel-version>
For Oracle UEK 5.7, add the following options to the mkinitrd command to rebuild
the kernel:
# /sbin/mkinitrd --builtin=ehci-hcd --builtin=ohci-hcd --builtin=uhci-hcd
-f -v /boot/initrd-2.6.32-200.13.1.el5uek.img 2.6.32-200.13.1.el5uek
For RHEL 6, rebuild the ramdisk image using the dracut command:
# /sbin/dracut -v -f /boot/<ramdisk image name> <kernel-version>
Installing the Emulex HBA 35