To find the HBA cards installed on your system RedHat

# lspci -nn | grep -i hba

>> To 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

>>Reset HBA
#echo 1 > /sys/class/fc_host/host3/issue_lip