BladeSystem - General
1748104 Members
4623 Online
108758 Solutions
New Discussion

Tool to find World-Wide Name (WWN) number of Fibre Channel (FC) cards

 
chuckk281
Trusted Contributor

Tool to find World-Wide Name (WWN) number of Fibre Channel (FC) cards

A question from Vijay on Fibre Channel:

 

**************

 

Is there any tool/third party software which can display the WWN of the FC cards present in the Proliant server for Windows and Linux?

 

*************

 

A variety of input for Vijay:

 

From Dave:

                If you are referring to the LOM CNA modules, you should be able to use the One Command tool. Here is the link for the Windows version:

http://h20566.www2.hp.com/portal/site/hpsc/template.PAGE/public/psi/swdDetails/?sp4ts.oid=5177950&spf_p.tpst=psiSwdMain&spf_p.prp_psiSwdMain=wsrp-navigationalState%3Dlang%253Den%257Ccc%253DUS%257CprodSeriesId%253D5177949%257CprodNameId%253D5177950%257CswEnvOID%253D4064%257CswLang%253D8%257CswItem%253Dco-103199-1%257Caction%253DdriverDocument&javax.portlet.begCacheTok=com.vignette.cachetoken&javax....

 

And from Walton:

OneCommand also works for the native Fibre Channel cards from Emulex.  QConvergeConsole is available for QLogic products.  Both are on hp.com under software and drivers for the respective products.

 

Input from Chris:

If these are blades, the OA will report what the WWN’s are for all models.  Gen8 iLO will display this information as well.  For Linux, you can can the device files under /proc/scsi/[module_name]/.  Windows, you can use PowerShell (from looking at the Microsoft TechNet ScriptCenter, http://gallery.technet.microsoft.com/scriptcenter/Find-HBA-and-WWPN-53121140):

 

Get-HBAWin -ComputerName xx.xxx.xx.xxx |Format-Table –AutoSize

 

Get-HBAWIN CMDLET:

function Get-HBAWin { 

param( 

[String[]]$ComputerName = $ENV:ComputerName  

  

$ComputerName | ForEach-Object { 

$Computer = $_ 

$Namespace = "root\WMI"  

Get-WmiObject -class MSFC_FCAdapterHBAAttributes -computername $Computer -namespace $namespace | 

ForEach-Object { 

$hash=@{ 

ComputerName     = $_.__SERVER 

NodeWWN          = (($_.NodeWWN) | ForEach-Object {"{0:x}" -f $_}) -join ":" 

Active           = $_.Active 

DriverName       = $_.DriverName 

DriverVersion    = $_.DriverVersion 

FirmwareVersion  = $_.FirmwareVersion 

Model            = $_.Model 

ModelDescription = $_.ModelDescription 

New-Object psobject -Property $hash 

}#Foreach-Object(Adapter)  

}#Foreach-Object(Computer)  

  

}#Get-HBAWin

 

 

 

*****************

 

Any other thoughts or suggestions?