Retrieving storage adapter WWN on esxi 6.5

Submitted by cliff on Thu, 15/03/2018 - 11:03

I recently added some fibrechannel cards to my personal vmware server, but was unable to find the WWN's using the esxi webclient. A quick google showed me that the easiest way is to use the cli.

[root@vmoisecnet:~] esxcli storage core adapter list
HBA Name  Driver      Link State  UID                                   Capabilities         Description                                                                  
--------  ----------  ----------  ------------------------------------  -------------------  -----------------------------------------------------------------------------
vmhba0    nhpsa       link-n/a    sas.50014380263d5e20                                       (0000:02:00.0) HPE Smart Array P420i                                         
vmhba1    vmkata      link-n/a    sata.vmhba1                                                (0000:00:1f.2) Intel Corporation Patsburg 4 port SATA IDE Controller         
vmhba2    qlnativefc  link-up     fc.5001438006321df7:5001438006321df6  Second Level Lun ID  (0000:07:00.0) QLogic Corp ISP2432-based 4Gb Fibre Channel to PCI Express HBA
vmhba3    qlnativefc  link-n/a    fc.5001438005677b49:5001438005677b48  Second Level Lun ID  (0000:0a:00.0) QLogic Corp ISP2432-based 4Gb Fibre Channel to PCI Express HBA
vmhba4    qlnativefc  link-up     fc.500143800567153b:500143800567153a  Second Level Lun ID  (0000:24:00.0) QLogic Corp ISP2432-based 4Gb Fibre Channel to PCI Express HBA
vmhba64   vmkata      link-n/a    sata.vmhba64                                               (0000:00:1f.2) Intel Corporation Patsburg 4 port SATA IDE Controller         
vmhba5    qlnativefc  link-n/a    fc.50060b000065b3f3:50060b000065b3f2  Second Level Lun ID  (0000:27:00.0) QLogic Corp ISP2432-based 4Gb Fibre Channel to PCI Express HBA
vmhba32   vmkusb      link-n/a    usb.vmhba32                                                () USB