How to confirm the status of HBA inserted into XenServer Host

How to confirm the status of HBA inserted into XenServer Host

book

Article ID: CTX217604

calendar_today

Updated On:

Description

Inorder for Storage repositories like LVMOBHA to connect properly, first step is to confirm if the HBA are connected properly to the Host. This article will help in confirming that.


Instructions

 

Run the following command to figure out if HBA is detected by XenServer

#lspci -vvv | grep -I HBA

We can see following entries in the output

03:00.1 Fibre Channel: QLogic Corp. ISP2432-based 4Gb Fibre Channel to PCI Express HBA (rev 03)
 

03:00.1 is the pci id and Qlogic is the vendor and model

To check the state and WWNN of the card , we can inspect the sys directory either running

#systool -v

Or

To check WWNN , run the following command

#cat /sys/class/fc_host/hostN/node_name

 

To check port state, run

#cat /sys/class/fc_host/hostN/port_state