Sunday, November 6, 2022

EMC 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

• • • •

lscfg lscfg-v-lfcs*

the configuration you must carry out the following:

List HBA WWN and entry on system DeterminecodelevelofOSandHBA
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-viftheabovedoesnotworkreboot 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<SYMMID>-FAalllist(confirmthatthevolumesetaddressingissetto 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
HBAdrivermodifications
Persistentbinding(HBAandSDdriverconfigfile) EMCrecommendedchanges
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.
useadmintool"devicemanager"

To set the configuration you must carry out the following:

Registry edits
EMCrecommendedchanges 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

controlpanel->admintools->computermanagement->selectdiskmanagement- > (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

No comments:

Post a Comment