HP 3PAR SUSE Linux Enterprise Implementation Guide

1. Before building the ramdisk, add the following required HBA parameters to the/etc/
modprobe.conf.local file when using the in-box driver if the HP 3PAR array is running
HP 3PAR OS 3.1.1 or later:
NOTE: If the HP 3PAR array is running an HP 3PAR OS version earlier than 3.1.1, then the
lpfc_devloss_tmo setting should be set to 1 instead of 14.
options lpfc lpfc_devloss_tmo=14 lpfc_lun_queue_depth=16 lpfc_discovery_threads=32
If a fan-out 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 LUN queue depth by
lpfc_lun_queue_depth. Change the default values if any throttling is required.
NOTE: 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 low.
NOTE: The ramdisk image needs to be rebuilt for any changes made to /etc/
modprobe.conf.local to be effective. The system will pick up the ramdisk changes on
bootup.
2. Rebuild the ramdisk image using the mkinitrd command:
# /sbin/mkinitrd
The following example shows a ramdisk build:
# /sbin/mkinitrd
Kernel image: /boot/vmlinuz-2.6.27.19-5-default
Initrd image: /boot/initrd-2.6.27.19-5-default
Root device: /dev/disk/by-id/cciss-3600508b100104a3953553431574c000d-part2 (/dev/cciss/c0d0p2) (mounted on / as
ext3)
Resume device: /dev/disk/by-id/cciss-3600508b100104a3953553431574c000d-part1 (/dev/cciss/c0d0p1)
Kernel Modules: scsi_mod cciss scsi_tgt scsi_transport_fc lpfc hwmon thermal_sys processor thermal dock libata
ata_piix ata_generic ide-core piix ide-pci-generic fan jbd mbcache ext3 edd usbcore ohci-hcd ehci-hcd uhci-hcd
ff-memless hid usbhid
Features: block usb
Bootsplash: SLES (1024x768)
17427 blocks
Kernel image: /boot/vmlinuz-2.6.27.19-5-xen
Initrd image: /boot/initrd-2.6.27.19-5-xen
Root device: /dev/disk/by-id/cciss-3600508b100104a3953553431574c000d-part2 (/dev/cciss/c0d0p2) (mounted on / as
ext3)
Resume device: /dev/disk/by-id/cciss-3600508b100104a3953553431574c000d-part1 (/dev/cciss/c0d0p1)
Kernel Modules: scsi_mod cciss scsi_tgt scsi_transport_fc lpfc hwmon thermal_sys processor thermal dock libata
ata_piix ata_generic ide-core piix ide-pci-generic fan jbd mbcache ext3 edd xennet cdrom xenblk usbcore ohci-hcd
ehci-hcd uhci-hcd ff-memless hid usbhid
Features: block usb
Bootsplash: No bootsplash for kernel flavor xen
17724 blocks
3. Reboot the host:
# reboot
4. When the host comes back up after a reboot, verify that the Emulex HBA driver parameter
changes have taken effect. Use one of the following commands for lpfc. Be sure to check both
Installing the Emulex HBA 25