How to find World Wide Name (WWN) for a Fibre Channel HBA

There are many ways to find the World Wide Name (WWN) of fibre channel HBA connected to server running windows server operating system.

Few model dependent utilities are:-
  1. HBAnyware/OneCommand utility (Emulex HBA only).
  2. SANsurfer utility (Qlogic HBA only).
  3. SAN switch’s name server output.
If none of the above mentioned tools are accessible you can try Fibre Channel Information Tool utility (FCINFO.EXE) available for download from Microsoft Download web site. It works on Windows Server 2003 and Windows server 2000 systems. However, Installation of the Fibre Channel Information Tool is not mandatory, but three core files (FCINFO.EXE, HBAAPI.DLL and HBATAPI.DLL) must be copied in a common folder in order to run the tool. For Windows 2008 R2, You can use Storage Explorer to see detailed information about the Fibre Channel host bus adapters (HBAs) on the server.

Fibre Channel Information Tool utility is also included in the Microsoft Product Support Reporting Tool and other vendors' reporting tools, such as EMC Grab Utilities (EMCReports), Hewlett Packard Services Reporting Tool (HPS Reports) etc. If you ever run one of those tools on your server, you would have FCINFO.EXE installed. 

Running the Fibre Channel Information Tool at a command line with no arguments will give basic information (including WWN) about the installed host bus adapters (HBAs):-
  


If you type FCINFO /? or FCINFO /?? you will get a long list of commands, many of which are very task specific and not necessary for information gathering.

On a Linux or UNIX system WWNN and WWPN are recorded in the messages log file when HBA driver is loaded during boot process. To find WWNN/WWPN search messages file for HBA driver name or “wwnn” pattern:-

$ cat messages | grep -i "wwnn"
May 17 15:24:19 sunserver1 qlc: [ID 657001 kern.info] Qlogic qlc(0) WWPN=210000e08b122275 : WWNN=200000e08b122275
May 17 15:24:21 sunserver1 qlc: [ID 657001 kern.info] Qlogic qlc(1) WWPN=210100e08b322275 : WWNN=200100e08b322275
May 17 15:24:32 sunserver1 qlc: [ID 657001 kern.info] Qlogic qlc(2) WWPN=210000e08b123372 : WWNN=200000e08b123372
May 17 15:24:33 sunserver1 qlc: [ID 657001 kern.info] Qlogic qlc(3) WWPN=210100e08b323372 : WWNN=200100e08b323372

No comments :