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, https://support.citrix.com/article/CTX217604 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) :
To find the WWN numbers of the above ports :