Documente Academic
Documente Profesional
Documente Cultură
loaded, does not mean there is a HBA card installed in the system.
(A "forceload" in /etc/system will load the driver regardless if the hardware
is there or not).
#See the current OS levels
#OS Version and kernel patch
uname -a
#Maintenance level (based on month/year,
# i.e. "Solaris 8 2/02" is Feb/2002 code release)
grep Solaris /etc/issue
#List patches
showrev -p
#Get to latest OBP, go to sunsolve.sun.com, then to hardware, then model
prtconv -V
#See adapters, drivers, and microcode
#COMMON to VENDORS
vi /kernel/drv/lpfc.conf
log-verbose=0x10;
log-only=1;
fcp-bind-method=2;
# BEGIN: LPUTIL-managed Persistent Bindings
fcp-bind-WWPN="5006048acc18f567:lpfc0t0";
# "5006048acc18f547:lpfc1t1";
automap=2;
fcp-on=1;
lun-queue-depth=20;
tgt-queue-depth=512;
no-device-delay=1;
network-on=0;
xmt-que-size=256;
scan-down=1;
linkdown-tmo=60;
nodev-holdio=0;
nodev-tmo=60;
delay-rsp-err=0;
check-cond-err=0;
num-iocbs=2048;
num-bufs=1024;
topology=2;
ip-class=3;
fcp-class=3;
use-adisc=0;
extra-io-tmo=0;
post-ip-buf=128;
dqfull-throttle-up-time=1;
dqfull-throttle-up-inc=1;
zone-rscn=1;
ack0=0;
cr-delay=0;
cr-count=1;
discovery-threads=1;
class-code=0x00020000;
flow_control="duplx" queue="qfifo" disk="scdk" tape="sctp";
use-lomempages=0;
link-speed=0;
fdmi-on=0;
#If Qlogic/Sun, you will need to modify
vi /etc/system
set sd:sd_max_throttle=20
*for the Leadville Qlogic Sun driver (HBA)
set fcp:ssfcp_enable_auto_configuration=1
#PowerPath - 60 sec timeout
set sd:sd_io_time = 0x3c
#Non-PowePath - 120 sec timeout
set sd:sd_io_time = 0x78
#file it creates - no need to modify
/kernel/drv/md.conf,/kernel/drv/qlc.conf
/kernel/drv/fp.conf, vi /kernel/drv/scsi_vhci.conf
#Must do a reconfigure reboot
touch /reconfigure;init 6
If Emulex
#Persistent Binding
/usr/sbin/lpfc/lputil
=> 5. Persistent Bindings
=> 5. Bind Automapped Targets
Loop for each adapter
Yes to bind all auto-mapped targets
=> 2. Bind by port name
touch /reconfigure;init 6
When disks are presented:
Emulex
Solaris 2.6: drvconfig;disks
Solaris >=2.7: devfsadm -v -C -c disks OR devfsadm -v
If VxVM: vxdctl enable
Qlogic
#See devices on Qlogic
luxadm probe
#See devices HBA (WWN)
luxadm display 50060482c465135c
#See disk device
luxadm display /dev/rdsk/c3t50060482C465135Cd14s2
#See the configurable devices
# RUN AS ROOT (otherwise you don't see everything)
cfgadm -al | grep fc-fabric
#Configure "fc-fabric" items (output from cfgadm -al)
#Where '#' is the controller number
# RUN AS ROOT (otherwise you don't see everything)
luxadm -e port
#configure connected ports
cfgadm -c configure c# c#
#WWN
If Emulex
#Menu driven
/usr/sbin/lpfc/lputil
#Get WWN for each HBA
/usr/sbin/lpfc/lputil listhbas
#Get WWN for each HBA and LUNs on that HBA
/usr/sbin/lpfc/lputil fcpmap 0
#Get persistent binding WWN
/usr/sbin/lpfc/lputil shownodes 0
If QLogic
#See devices on Qlogic
luxadm probe
#See devices HBA (WWN)
luxadm display 50060482c465135c
#Load software, drivers and firmware
#NOTE: You may need to modify lines for the APPROPRIATE version
If Emulex
#Driver
cd /tmp
tar xvf /mnt/solaris/emulex_hba/602f/lpfc-6.02f-sparc.tar
pkgadd -d . lpfc.1
packages? all
man pages? yes
enable IP? no
conflicting files? yes
continue? yes
packages? q #You are back to the beginning
reboot
#Firmware
/usr/sbin/lpfc/lputil
3 - firmware maintenance
1 - load firmware image
filename? /mnt/solaris/emulex_hba/602f/cd392a3.awc
0 - exit
0 - exit
#Software - HBAnyware
#Must have Java 1.4 loaded
cd /tmp
gzip -dc /mnt/solaris/emulex_hba/602f/HBAnyware-2.1a18-sparc.tar.gz\
| tar xvf -
pkgadd -d . HBAnyware
reboot
#Persistent Binding
/usr/sbin/lpfc/lputil
=> 5. Persistent Bindings
=> 5. Bind Automapped Targets
Loop for each adapter
Yes to bind all auto-mapped targets
=> 2. Bind by port name
touch /reconfigure;init 6
If QLogic
#Drivers downloaded from www.sun.com/storage/san
#Driver
cd /tmp
zcat /mnt/solaris/sun_hba/SAN_4[1].4.6_install_it.tar.Z | \
tar xvf -
cd SAN_4.4.6_install_it
./install_it
install? y
Patchpro search? n
reboot
# RUN AS ROOT (otherwise you don't see everything)
cfgadm -al | grep fc-fabric
luxadm -e port
#configure connected ports
cfgadm -c configure c# c#
#EMC ECC package
cd /mnt/EMC/ECC/Control_Center_5.2
./install_master.sh `pwd`
/opt/ecc
n
ECC-servername
#default
#default
Y
Y
/opt/ecc/exec/start_master.csh
#Multipath
#EMC PowerPath
#Must have a valid PowerPath license for this host
cd /tmp
zcat /mnt/EMC/PowerPath/PowerPath4.4/solaris/EMCPower.SOLARIS.4.4.0.
tar.Z |\
tar xvf -
pkgadd -d . EMCpower
opt
y
/etc/emcpreg -install
/etc/powermt check_registration
devfsadm -v
/etc/powermt config
/etc/powermt save
iostat -En | grep EMC
#Install Veritas product now for DMP
# and/or Volume Mgt (if applicable)
#Enable Multipathing (MPXIO)
#enable MPXIO
vi /kernel/drv/scsi_vhci.conf
vi /kernel/drv/fp.conf
stmsboot -e
#update vfstab and dumpadm
stmsboot -u
luxadm -e port
#makes /dev/fc/fp#
#by all controllers
cfgadm -c
#by specific controllers
cfgadm -c configure c# [c#] ...
#enable MPXIO
stmsboot -e
#update MPXIO and reboot to configure
stmsboot -u
#disable MPXIO
stmsboot -d
#list devices on a controller
stmsboot -l c#
#list all paths
stmsboot -L
#SUN rebranded HBA Part numbers
#Must have a sunsolve account to see this information.
http://sunsolve.sun.com/handbook_private/Devices/Fibre_Channel/FIBRE_TOC.html
#Supported
http://www.emulex.com/products/fc/index.html
http://www.emulex.com/ts/index.html