Monday, January 25, 2010

AIX LINUX SOLARIS

AIX LINUX SOLARIS















































Task (Device management)

          
AIX                                           


Linux                                    


Solaris                     


HP-UX                           


List devices


llsdev -Cc adapter -spci



for hot plug slots

lsslot -c pci


lsdev (SUSE only)

lspci

dmidecode










Devices  properites


lscfg -vl


hal-device

lshal -l -t

haldaemon should be running for above commands.

dmidecode -t

or
lscfg
lsvpd
Install IBM devloped utils from
http://linux-diag.sourceforge.net/








Finding HBA Info


















List HBA devices



































List WWN number

firmware etc










































lsdev -Cc adapter -spci | grep fcs







































#Micorcode

lsmcode -cd fcs0




lscfg -vl fcs0



#Firmware

lscfg -vl fcs0 | grep Z9









#Driver

lsdev -C -Ftype,name | grep -i fcs

















use fcstat

for speed and link status


systool -c fc_host -A node_name

systool -av -c fc_host



lspci |grep -i -e fib -e hba

















For firmware revision



cat /sys/class/scsi_host/host0/fwrev



For WWN

cat /sys/class/scsi_host/host0/port_name



For drive version

cat /sys/class/scsi_host/host0/lpfc_drvr_version





cat /sys/class/scsi_host/host0/serialnum

cat /sys/class/scsi_host/host0/speed



cat /sys/class/scsi_host/host0/state



systool -p -c fc_host





or

Emulex suppied

lputil



Install lputil.tar from Emulex corp

for QLOGIC use
./ql-dynamic-tgt-lun-disc.sh



luxadm probe

luxadm -e port



















luxadm -e dump_map /devices/ssm@0,0/pci@18,700000/SUNW,qlc@2/fp@0,0:devctl

















Solaris 10



fcinfo hba-port -l





fcinfo remote-port -sl -p <WWN>

for which Luns

are seen by FC adapter.






or

Emulex suppied

lputil



Install lputil.tar from Emulex corp.







































No comments:

Post a Comment