Wednesday, 22 August 2012

Indentifying HBA card on Solaris servers

Installing and configuring a HBA on the server rather i would say configuring multiple HBA is a very common task of Unix Administrator. There are two major manufacturer of HBA card 
1. Emulex
2. Qlogic


Sun-branded Qogic and Emulex card for which driver is  provided by Sun and support as well. Now the difficult task is how do we identify a card which is installed on the server is a Sun-branded or non Sun-branded.

There are few commands given below by which you can determine the type of the card and the WWPN no .

To display the connected card

#luxadm -e port

To display the wwn and wwpn details

#luxadm -e dump_map /devices/pci@23d,600000/SUNW,qlc@1/fp@0,0

prtpicl command is very powerful command which can be used to display the complete PCI hierarchy . 

Prtpicl command usage

#prtpicl -v -c scsi-fcp#
#prtpicl -v -c scsi-fcp | /usr/xpg4/bin/grep -e port-wwn -e devfs-path

For solaris 10

#fcinfo hba_port

No comments:

Post a Comment