Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 4

How to check HBA wwn number in solaris 10 ?

January 10, 2011 Lingeswaran Leave a comment Go to comments How you will check WWN number in solaris 10? root@ sunserver:/root# fcinfo hba-port | grep WWN HBA Port WWN: 2100001b32xxxxxx Node WWN: 2000001b32xxxxxx HBA Port WWN: 2101001b32yyyyyy Node WWN: 2001001b32yyyyyy root@sun0001 [/root] # prtconf -vp | grep -i wwn node-wwn: 20000024.ff303afc port-wwn: 21000024.ff303afc root@sun0001 [/root] # prtpicl -v | grep wwn :port-wwn 50 00 cc a0 0a 9f ce e9 :port-wwn 50 00 cc a0 0a a2 25 89 :port-wwn 50 00 cc a0 0a a2 21 fd root@sun0001 [/root] # luxadm -e port /devices/pci@400/pci@0/pci@9/SUNW,qlc@0/fp@0,0:devctl NOT CONNECTED /devices/pci@400/pci@0/pci@9/SUNW,qlc@0,1/fp@0,0:devctl NOT CONNECTED root@sun0001 [/root] # fcinfo hba-port HBA Port WWN: 21000024ff303bf2 OS Device Name: /dev/cfg/c4 Manufacturer: QLogic Corp. Model: 371-4325-02 Firmware Version: 05.01.02 FCode/BIOS Version: BIOS: 2.02; fcode: 2.03; EFI: 2.01; Serial Number: 0402H00-1027850116 Driver Name: qlc Driver Version: 20090929-2.32 Type: unknown State: offline Supported Speeds: 2Gb 4Gb 8Gb Current Speed: not established Node WWN: 20000024ff303bf2 HBA Port WWN: 21000024ff303bf3 OS Device Name: /dev/cfg/c5 Manufacturer: QLogic Corp. Model: 371-4325-02

Firmware Version: 05.01.02 FCode/BIOS Version: BIOS: 2.02; fcode: 2.03; EFI: 2.01; Serial Number: 0402H00-1027850116 Driver Name: qlc Driver Version: 20090929-2.32 Type: unknown State: offline Supported Speeds: 2Gb 4Gb 8Gb Current Speed: not established Node WWN: 20000024ff303bf3 HBA Port WWN: 21000024ff303afc OS Device Name: /dev/cfg/c2 Manufacturer: QLogic Corp. Model: 371-4325-02 Firmware Version: 05.01.02 FCode/BIOS Version: BIOS: 2.02; fcode: 2.03; EFI: 2.01; Serial Number: 0402H00-1027850042 Driver Name: qlc Driver Version: 20090929-2.32 Type: unknown State: offline Supported Speeds: 2Gb 4Gb 8Gb Current Speed: not established Node WWN: 20000024ff303afc HBA Port WWN: 21000024ff303afd OS Device Name: /dev/cfg/c3 Manufacturer: QLogic Corp. Model: 371-4325-02 Firmware Version: 05.01.02 FCode/BIOS Version: BIOS: 2.02; fcode: 2.03; EFI: 2.01; Serial Number: 0402H00-1027850042 Driver Name: qlc Driver Version: 20090929-2.32 Type: unknown State: offline Supported Speeds: 2Gb 4Gb 8Gb Current Speed: not established Node WWN: 20000024ff303afd For Emulex HBA cards: You have to have installed the emulex utilities. Change to directory /usr/sbin/lpfc, and run lputil64 to find the WWN: root@somehost{/usr/sbin/lpfc}#./lputil64 LightPulse Common Utility for Solaris/SPARC. Version 1.5a0 (12/18/2002). Copyright (c) 2002, Emulex Network Systems, Inc.

Emulex Fibre Channel Host Adapters Detected: 1 Host Adapter 0 (lpfc0) is an LP9K (Ready Mode) MAIN MENU 1. List Adapters 2. Adapter Information 3. Firmware Maintenance 4. Reset Adapter 5. Persistent Bindings 0. Exit Enter choice = 2 ADAPTER INFORMATION MENU 1. PCI Configuration Parameters 2. Adapter Revision Levels 3. Wakeup Parameters 4. IEEE Address 5. Loop Map 6. Status & Counters 7. Link Status 8. Configuration Parameter 0. Return to Main Menu Enter choice => 4 IEEE Address for Adapter 0: 10000000 C93A181A QLOGIC (qlogic 2200): You need the qlogic utilities installed aswell. Change to the installation directory: root@somehost{/}#cd /opt/QLogic_Corporation/drvutil/qla2200 Youll see some utilities there. root@somehost{/opt/QLogic_Corporation/drvutil/qla2200}#ls qldriverop qlfwdmp_readme.txt qlreconfig qldriverop_readme.txt qlogic_adapters qlreconfig_readme.txt qlfwdmp qlogic_adapters_readme.txt readme.txt Next step is to find the control devices of the qlogic cards: root@somehost{/opt/QLogic_Corporation/drvutil/qla2200}#find /devices -name QLGC*:devctl /devices/pci@13c,600000/QLGC,qla@1:devctl /devices/pci@13d,600000/QLGC,qla@1:devctl /devices/pci@15c,600000/QLGC,qla@1:devctl /devices/pci@15d,600000/QLGC,qla@1:devctl With this information, run the following command of the desired control device: ./qldriverop -d /devices/pci@13c,600000/QLGC,qla@1:devctl -c fcid

And finally go to the /var/adm/messages and take a look: Jun 4 13:00:20 somehost qla2200: ID 670390 kern.info hba1: driverop fcdisplay Jun 4 13:00:20 somehost qla2200: ID 568177 kern.info hba1-adapter-nodename=200000e08b0b973f;

You might also like