Monday, August 17, 2009

How to find out which HBA is connected on ESX host

I wanted to figure out how to find out which HBA is connected /cabled. I had been using Qlogic QLE406X and usually I used to press Ctrl + S to configure using BIOS. This way I use to ping the target to find out which port has been cabled.

Reason is we don’t cable all the available port and ESX is not kind enough to tell you which port is what. It does select randomly vmhba 0,1,2,3,4

I asked the same question to Vmware support but could not find any clue. Finally I found answer on Qlogic download site. Next go to http://www.qlogic.com downloads section, select your iSCSI HBA and choose Linux Red Hat (32-bit) from the select menu.


Download the SANsurfer iscli (x86/Intel 64) file (Latest available from the site) to your local machine. Unzip the file to a folder. Browse the datastore and upload the entire folder



SSH into the box and CD to the location where the folder has been uploaded . You will find following files under it



We have to install “iscli-1.2.00-15_linux_i386.rpm ”. To install this use following command

[root@xxxx]# rpm -ivh iscli-1.2.00-15_linux_i386.rpm

Preparing... ########################################### [100%]

1:iscli ########################################### [100%]

Installation completed successfully.

Now type command iscli , this will start nice interactive menu to configure/troubleshoot/update firmware for HBA


From the menu select the option 7 and then choose HBA which are detected by ESX host. Which ever HBA has been cabled ,link will show as UP. Select that HBA and configure it for IP and perform the ping test.

No comments: