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

Solaris

Installing
==========================================================
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
Reboot
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

echo|format


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

format

 

Filesystem newfs or mkfs

Linux

Installing
==========================================================

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.
Reboot
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

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

PowerPath

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

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.