Skip to main content

How to identify HBA and WWN for Citrix Hypervisor

Working on a project for a client, I accidentally found out that Citrix not done the greatest job documenting how to get HBA and WWN informations for Citrix Hypervisor (Aka XenServer).

Citrix have writing this article, but there is a much simpler way.

Connect first to your host either with XenCenter or putty, then run command:

To find the HBA cards installed on your system use :

lspci -nn | grep -i hba

Now you should get your HBA:

Check the available HBA ports:

ls -l /sys/class/fc_host

To find the state of HBA ports (online/offline) :

more /sys/class/fc_host/host?/port_state

To find the WWN numbers of the above ports :

more /sys/class/fc_host/host?/port_name

Leave a Reply

Your email address will not be published. Required fields are marked *

Turn on pictures to see the captcha *