Host HBA installation and configuration

This document describes how to install a particular HBA on diffferent O/S.

AIX

To display what HBA's are installed

To set the configuration you must carry out the following:

To discover the SAN devices

HP

To display what HBA's are installed.

On a HP system there is no additional software to install.

The HP systems Volume address setting must be enabledon the SAN, you can check this will the following command.

To discover the SAN devices

SUN

To display what HBA's are installed.

To set the configuration you must carry out the following:

Changes to /etc/system

SCSI throttle set sd:sd_max_throttle=20
Enable wide SCSI set scsi_options=0x7F8
SCSI I/O timeout value

sd:sd_io_time=0x3c (with powerpath)
sd:sd_io_time=0x78 (without powerpath

Changes to HBA driver (/kernel/drv/lpfc.conf)

fcp-bind-WWNN=16
automap=2
fcp-on=1
lun-queue-depth=20
tgt-queue-depth=512
no-device-delay=1 (without PP/DMP) 0 (with PP/DMP)
xmt-que-size=256
scan-down=0
linkdown-tmo=0 (without PP/DMP) 60 (with PP/DMP)

Persistent Binding

Both the lpfc.conf and sd.conf files need to be updated. General format is

name="sd" parent="lpfc" target="X" lun="Y" hba="lpfcZ"

X is the target number that corresponds to the fcp_bindWWNID lpfcZtX
Y is the LUN number that corresponds to symmetrix volume mapping on the symmetrix port WWN or HLU on the clariion
Z is the lpfc drive instance number that corresponds to the fcp_bind_WWID lpfcZtX

To discover the SAN devices

Windows

To display what HBA's are installed.

To set the configuration you must carry out the following:

Registry changes

See the Host connectivity guide for windows or use the Emulex configuration tool to set the below registry settings.

Arbitrated loop without powerpath/ATF InitLinkFlags=0x00000000 (arbitrated loop, auto-link speed)
WaitReady=45
LinkDown=45
TranslateQueueFull=1
Arbitrated loop with powerpath/ATF InitLinkFlags=0x00000000 (arbitrated loop, auto-link speed)
WaitReady=10
LinkDown=10
Fabric without powerpath/ATF InitLinkFlags=0x00000002 (fabric, auto-link speed)
WaitReady=45
LinkDown=45
TranslateQueueFull=1
Fabric with powerpath/ATF InitLinkFlags=0x00000002 (fabric, auto-link speed)
WaitReady=10
LinkDown=10

Modifying the EMC environment

In the shortcut for the elxcfg add the "--emc" option to the target option.

To discover the SAN devices

Red Hat

  1. Install the EMC rpms
  2. echo "scsi-qlascan" > /proc/scsi/qla2300/[0,1]
  3. cd /apps/packages/EMC
  4. ./rescan-scsi-bus.sh --luns=[list,range-range]
  5. powermt config (to see the new lun[s] in Power Path)
  6. powermt -display dev=all