EMC Client installation and checking

This web page is a quick guide on what to install and how to check that EMC SAN is attached and working


Install Emulex driver/firmware, san packages (SANinfo, HBAinfo, lputil), EMC powerpath
Use lputil to update firmware
Use lputil to disable boot bios
Update /kernel/drv/lpfc.conf
Update /kernel/drv/sd.conf
Install ECC agent


Note: when adding disks on different FA had to reboot server?

List HBA’s /usr/sbin/hbanyware/hbacmd listHBAS   (use to get WWN’s)

/opt/HBAinfo/bin/gethbainfo           (script wrapped around hbainfo)

grep ‘WWN’ /var/adm/messages
HBA attributes /opt/EMLXemlxu/bin/emlxadm

/usr/sbin/hbanyware/hbacmd HBAAttrib 10:00:00:00:c9:49:28:47
HBA port /opt/EMLXemlxu/bin/emlxadm

/usr/sbin/hbanyware/hbacmd PortAttrib 10:00:00:00:c9:49:28:47
HBA firmware /opt/EMLXemlxu/bin/emlxadm
Fabric login /opt/HBAinfo/bin/gethbainfo           (script wrapped around hbainfo)
Adding Additional Disks cfgadm -c configure c2
Disk available cfgadm -al -o show_SCSI_lun


inq                                    (use to get serial numbers)
Labelling format
Partitioning vxdiskadm



Filesystem newfs or mkfs



Install Emulex driver, san packages (saninfo, hbanyware), firmware (lputil)
Configure /etc/modprobe.conf
Use lputil to update firmware
Use lputil to disable boot bios
Create new ram disk so changes to modprobe.conf can take affect.
Install ECC agent

List HBA’s

/usr/sbin/hbanyware/hbacmd listHBAS             (use to get WWN’s)

cat /proc/scsi/lpfc/*

HBA attributes /usr/sbin/hbanyware/hbacmd HBAAttrib 10:00:00:00:c9:49:28:47

cat /sys/class/scsi_host/host*/infoHBA port/usr/sbin/hbanyware/hbacmd PortAttrib 10:00:00:00:c9:49:28:47HBA firmwarelputilFabric logincat /sys/class/scsi_host/host*/stateDisk availablecat /proc/scsi/scsi

fdisk -l |grep -I Disk |grep sd

inq                                  (use to get serial numbers)
 Labellingparted -s /dev/sda mklabel msdos     (like labelling in solaris)
parted -s /dev/sda printPartitioningfdisk

Filesystemmkfs -j -L <disk label> /dev/vx/dsk/datadg/vol01


HBA Info /etc/powermt display 
Disk Info /etc/powermt display dev=all
Rebuild /kernel/drv/emcp.conf /etc/powercf -q
Reconfigure powerpath using emcp.conf /etc/powermt config
Save the configuration /etc/powermt save
Enable and Disable HBA cards used for testing /etc/powermt display (get card ID)

/etc/powermt disable hba=3072
/etc/powermt enable hba=3072

Solaris : Emulex Firmware Upgrade

You will require the following files before you begin the upgrade:


  • solaris-2.1a18-6.02f-1a.tar
  • lpfc-6.02f-sparc.tar
  • EmlxApps300a39-Solaris.tar
1.Copy configuration files
# cp -p /kernel/drv/lpfc.conf /kernel/drv/lpfc.conf.date
# cp -p /kernel/drv/sd.conf /kernel/drv/sd.conf.date
# cp -p /kernel/drv/st.conf /kernel/drv/st.conf.date
# cp -p /etc/path_to_inst /etc/path_to_inst.date

2.Copy Driver / Firmware updates from shared area to local disk
# mkdir /var/tmp/emulex
# cp –p /proj/gissmo/HBA/EMC/Emulex/* /var/tmp/emulex/

3.Shutdown server to single user mode
# reboot — -rs

4.Remove the HBAnyware package
# pkgrm HBAnyware

5.Remove the lpfc driver
# pkgrm lpfc

6.Copy back the saved path_to_inst file
 # cp –p /etc/path_to_inst.date /etc/path_to_inst

7.Untar the file containing the driver, apps, driver and the Emulex Application Kit
# tar xvf solaris-2.1a18-6.02f-1a.tar
# tar xvf lpfc-6.02f-sparc.tar
# pkgadd –d .
# tar xvf EmlxApps300a39-Solaris.tar
# gunzip HBAnyware-*-sparc.tar.gz
# tar xvf HBAnyware-*-sparc.tar
# pkgadd –d .                      Note: Select the package for HBAnyware

8.Revert sd.conf file
# cp –p /kernel/drv/sd.conf /kernel/drv/sd.conf.post_upgrade
# cp –p /kernel/drv/sd.conf.date /kernel/drv/sd.conf

9.Convert lpfc.conf file from version 5 to version 6
# /usr/sbin/lpfc/update_lpfc /kernel/drv/lpfc.conf.date /kernel/drv/lpfc.conf >      /kernel/drv/lpfc.conf.updated
# cp -p /kernel/drv/lpfc.conf /kernel/drv/lpfc.conf_post_upgrade
# cp /kernel/drv/lpfc.conf.upgrated /kernel/drv/lpfc.conf

10.Reboot system back into single user mode
# reboot — -rs

11.Copy firmware into /usr/sbin/lpfc
# cd /var/tmp/emulex
# unzip cd392a2.zip
# cp –p cd392a3.awc /usr/sbin/lpfc/

12.Update firmware
# cd /usr/sbin/lpfc
# ./lputil
> Select option 3 for – Firmware Maitenance
> Select adaptor number to update
> Select option 1 for – Load Firmware Image
> Type in the full name of the image : – cd392a3.awc

Repeat above steps for all Emulex HBA’s

13.Reboot into Single user mode and ensure that devices can been seen
# reboot — -rs
# /etc/powermt display

14.Reboot server
# reboot