Monday, May 21, 2012

Check the HBA link status and wwn on esxi 5.0

To trouble storage path and link issue on esxi 5.0.


To list the available HBA ports and Link status use the following command.
~ # esxcli storage core adapter list
HBA Name Driver Link State UID Description
-------- ----------- ---------- ------------------------------------ ------------------------------------------------------------------------
vmhba0 qla2xxx link-up fc.208000e08b000162:218000e08b000162 (0:6:0.0) QLogic Corp ISP2532-based 8Gb Fibre Channel to PCI Express HBA
vmhba1 qla2xxx link-up fc.20000024ff390e11:21000024ff390e11 (0:6:0.1) QLogic Corp ISP2532-based 8Gb Fibre Channel to PCI Express HBA
vmhba32 usb-storage link-n/a usb.vmhba32 () USB

Ports that are able to see LUNs.

# esxcli storage core path list | grep -i vmhba*
Runtime Name: vmhba0:C0:T1:L0
Adapter: vmhba0
Runtime Name: vmhba0:C0:T1:L1
Adapter: vmhba0
Runtime Name: vmhba0:C0:T1:L2
Adapter: vmhba0
Runtime Name: vmhba0:C0:T1:L3
Adapter: vmhba0
Runtime Name: vmhba0:C0:T1:L4
Adapter: vmhba0
Runtime Name: vmhba0:C0:T1:L5
Adapter: vmhba0
Runtime Name: vmhba0:C0:T1:L6
Adapter: vmhba0
Runtime Name: vmhba0:C0:T1:L7
Adapter: vmhba0
Runtime Name: vmhba0:C0:T1:L8
Adapter: vmhba0
Runtime Name: vmhba0:C0:T1:L9
Adapter: vmhba0

Vmware powercli command to get esxi host wwn
 

No comments:

Post a Comment

Post a Comment