Diagnostique des HBA

mardi 15 novembre 2011
par  Jerome ROBERT
popularité : 6%

Connaître l’état de santé des cartes HBA de votre serveur Oracle/Sun :

 

Il est possible d’utilisé au moins deux commandes :

  • fcinfo hba-port -l
  • luxadm : 

for CTRL in $(luxadm -e port |cut -d ’ ’ -f1 )
do
 echo "######" 
 echo $CTRL
 luxadm -e rdls $CTRL 
done

 

 

 

Exemple :

 # fcinfo hba-port -l
HBA Port WWN : 2100001b32131fb4
 OS Device Name : /dev/cfg/c4
 Manufacturer : QLogic Corp.
 Model : 375-3356-02
 Firmware Version : 4.04.01
 FCode/BIOS Version : BIOS : 1.24 ; fcode : 1.24 ; EFI : 1.8 ;
 Serial Number : 0402R00-0821533940
 Driver Name : qlc
 Driver Version : 20080617-2.29
 Type : N-port
 State : online
 Supported Speeds : 1Gb 2Gb 4Gb
 Current Speed : 2Gb
 Node WWN : 2000001b32131fb4
 Link Error Statistics :
 Link Failure Count : 1
 Loss of Sync Count : 0
 Loss of Signal Count : 0
 Primitive Seq Protocol Error Count : 0
 Invalid Tx Word Count : 754974720
 Invalid CRC Count : 16
HBA Port WWN : 2101001b32331fb4
 OS Device Name : /dev/cfg/c5
 Manufacturer : QLogic Corp.
 Model : 375-3356-02
 Firmware Version : 4.04.01
 FCode/BIOS Version : BIOS : 1.24 ; fcode : 1.24 ; EFI : 1.8 ;
 Serial Number : 0402R00-0821533940
 Driver Name : qlc
 Driver Version : 20080617-2.29
 Type : N-port
 State : online
 Supported Speeds : 1Gb 2Gb 4Gb
 Current Speed : 2Gb
 Node WWN : 2001001b32331fb4
 Link Error Statistics :
 Link Failure Count : 1
 Loss of Sync Count : 0
 Loss of Signal Count : 0
 Primitive Seq Protocol Error Count : 0
 Invalid Tx Word Count : 0
 Invalid CRC Count : 0
 

# for var in $(luxadm -e port |cut -d ’ ’ -f1 ) ; do echo "######" ; echo $var ;luxadm -e rdls $var ; done
######
/devices/pci@3,700000/SUNW,qlc@0/fp@0,0:devctl

Link Error Status information for loop :
al_pa lnk fail sync loss signal loss sequence err invalid word CRC
666913 0 0 0 0 0 0
666213 1 0 0 0 805306368 18
NOTE : These LESB counts are not cleared by a reset, only power cycles.
These counts must be compared to previously read counts.
######
/devices/pci@13,700000/SUNW,qlc@0/fp@0,0:devctl

Link Error Status information for loop :
al_pa lnk fail sync loss signal loss sequence err invalid word CRC
661d13 0 0 0 0 0 0
666e13 0 0 0 0 0 0
661e13 1 0 0 0 0 0
NOTE : These LESB counts are not cleared by a reset, only power cycles.
These counts must be compared to previously read counts.
 

 


Navigation

Articles de la rubrique

Statistiques

Dernière mise à jour

mercredi 4 octobre 2023

Publication

273 Articles
Aucun album photo
Aucune brève
6 Sites Web
2 Auteurs

Visites

98 aujourd’hui
133 hier
827483 depuis le début
2 visiteurs actuellement connectés