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

  • lscfg
  • lscfg -v -l fcs*

To set the configuration you must carry out the following:

  • List HBA WWN and entry on system
  • Determine code level of OS and HBA
  • Download and install EMC ODM support fileset
  • run /usr/lpp/Symmetrix/bin/emc_cfgmgr (symmetrix) or /usr/lpp/emc/CLARiiON/bin/emc_cfgmgr (clariion)

To discover the SAN devices

  • /usr/lpp/EMC/Symmetrix/bin/emc_cfgmgr -v if the above does not work reboot server

HP

To display what HBA’s are installed.

  • /opt/fcms/bin/fcmsutil /dev/td# (A5158A HBA)
  • /opt/fc/bin/fcutil /dev/fcs# (A6685A HBA)

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.

  • symcfg -sid <SYMM ID> -FA all list (confirm that the volume set addressing is set to yes)

To discover the SAN devices

  • ioscan -fnC disk (scans hardware busses for devices according to class)
  • insf -e (install special device files)

SUN

To display what HBA’s are installed.

  • prtdiag -v
  • dmesg
  • cat /var/adm/messages | grep -i wwn | more

To set the configuration you must carry out the following:

  • changes to the /etc/system file
  • HBA driver modifications
  • Persistent binding (HBA and SD driver config file)
  • EMC recommended changes
  • Install the Sun StorEdge SAN Foundation package

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

  • disk;devlinks;devalias (solaris 2.6)
  • devfsadm (solaris 2.8)
  • /usr/sbin/update_drv -f sd (solaris 2.9 >)

Windows

To display what HBA’s are installed.

  • use admin tool “device manager”

To set the configuration you must carry out the following:

  • Registry edits
  • EMC recommended changes
  • Install emulex exlcfg utility

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

  • control panel -> admin tools -> computer management -> select disk management -> (top menu)action -> rescan tools

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

 

Leave a Reply

Your email address will not be published. Required fields are marked *

CAPTCHA * Time limit is exhausted. Please reload the CAPTCHA.

This site uses Akismet to reduce spam. Learn how your comment data is processed.