I ran into various problems while deploying a new server in an ESX cluster and I hope this post will help anyone who might run into the same problem.
Specifications:
Server: HP ProLiant DL360 G6
BIOS: ProLiant System BIOS – P64 (03/30/2010)
CPU: 2 x Intel CPU X5550 @ 2.67GHz
QPI: Speed: 6.4 GT/s
Onboard NIC: PCI Embedded HP NC382i PCIe DP Multifunction 1GB Adapter Port 1, 2 (IRQ 7, 11)
HBA (Host bus adapter): HP StorageWorks 42B PCI Fibre Channel Adapter IRQ 7, 11
Additional NIC: NC375T PCIe Quad Port Gigabit Server Adapter (IRQ: 7)
------------------------------------------------------------------------------------------------------------------------------------------
Other than having incorrect memory ordered and some other issues, I was unable to have ESXi 4.0.0 see the HP StorageWorks 42B HBA.
As shown in the screenshot below, I was unable to have ESXi 4.0.0 build 261974 see the vmhba after a fresh install.
After doing a few searches on Google and finding various posts about people having problems with installing 2 of the quad port cards but managed to get it going after upgrading the drivers or ESXi, I decided to try upgrading ESXi from 4.0.0 to 4.1.0 (http://terenceluk.blogspot.com/2010/09/updating-vsphere-esxi-from-40-to-41.html) assuming that the newer ESXi would may have the right drivers for the HBA.
The upgrade went without a hitch but I was still unable to see the HBA after getting ESXi to version 4.1.0 so I went back to the internet to do some searches and found that there were ways to install additional drivers for ESXi and coincidentally, you use the VMware vSphere CLI to do it (see my previous post about why this was coincidental). The next step I did was to try and find the HBA drivers. Through reviewing the description the BOM, I find the description:
StorageWorks 42B - Host bus adapter - PCI Express low profile - 4Gb Fibre Channel (SW) - fiber optic - 2 ports
… which lead me to the following page on the HP site @:
The driver I thought would work was the:
VMware and Host Connectivity Manager (HCM) Installation Kit
…so I went ahead and downloaded this package:
brocade_driver_esx40_v2-1-1-0.tar.gz
I went ahead to try and execute the package with the command:
C:\Program Files\VMware\VMware vSphere CLI\bin>vihostupdate.pl -server 172.20.70.13 -username root -install -bundle c:\brocade_driver_esx40_v2-1-1-0.tar.gz
…but got the following message:
Please wait patch installation is in progress …
Failed to download metadata.Error extracting metadata.zip from /tmp/updatecache/brocade_driver_esx40_v2-1-1-0.tar.gz: File is not a zip
Seeing how it doesn’t look like the update is expecting a tar.gz file, I tried to extra the .tar.gz file into a folder, then zipping it back up to try again:
Unfortunately, that didn’t work either:
Please wait patch installation is in progress …
Failed to download metadata.Error extracting metadata.zip from /tmp/updatecache/brocade_driver_esx40_v2-1-1-0.zip: “There is no item named ‘metadata.zip’ in the archive”
This was when I went back to the package I downloaded for the ESXi 4.0.0 update to 4.1.0 and found that the package indeed had a metadata.zip package:
Browsing around the package I downloaded from the HP site and not finding a metadata.zip file made me suspect that I probably downloaded some other package that was not meant for ESXi updates.
Realizing that perhaps I should first try to ensure that this HBA was on the HCL list, I went ahead to try and find it on VMware’s HCL:
http://www.vmware.com/resources/compatibility/detail.php?device_cat=io&device_id=16075&release_id=24
http://www.vmware.com/resources/compatibility/detail.php?device_cat=io&device_id=16075&release_id=24
Based on what I found on the HCL, it does look like it’s supported so I went back to the VMware downloads section to try and find drivers offered directly from that site. What I found was the following:
http://downloads.vmware.com/d/info/datacenter_downloads/vmware_vsphere_4/4#drivers_tools
I was a bit confused as to which one to download because I was not able to find a 4Gb Fibre Channel HBA option and the only option close to it was the:
VMware ESX/ESXi 4.X Driver CD for Brocade 8Gb Fibre Channel HBA
Since I wouldn’t know if I don’t try, I went ahead to download that package:
http://downloads.vmware.com/d/details/esx_4x_brocade_bfa2111_dt/ZHcqYmRAZCpiZHdlZQ==
Download
VMware ESX/ESXi 4.X Driver CD for Brocade 8Gb Fibre Channel HBA
Description
This driver CD release includes support for version 2.1.1.1 of the Brocade BFA driver on ESX/ESXi 4.0. This BFA driver supports products based on the Brocade 825, 815, 425, and 415 Fibre Channel host bus adapters (HBA).
Version
2.1.1.1
Build Number
285864
Release Date
2010/08/23
Type
Drivers & Tools
Language Support
English
Components
This download contains the following components. Hide Details
ESX/ESXi 4.X Brocade bfa 2.1.1.1 Driver
File type: iso
English
The download gave me the following ISO package:
vmware-esx-drivers-scsi-bfa_400.2.1.1.1-1OEM.285864.iso
I opened the package with WinRAR and found the following:
..
.rpm
doc
offline-bundle
drivers.xml
TRANS.TBL
Looking into the offline-bundle folder, I found the following package:
BRCD-bfa-2.1.1.1-00000-offline_bundle-285864.zip
Drilling into that .zip package showed that it contains the following:
metadata.zip
vmware-esx-drivers-scsi-bfa-400.2.1.1.1-1OEM.x86_64.vib
This was when I was sure that this package was the one I wanted so i went ahead and extracted the BRCD-bfa-2.1.1.1-00000-offline_bundle-285864.zip package then went back to vSphere CLI to try and update the drivers with it:
C:\Program Files\VMware\VMware vSphere CLI\bin>vihostupdate.pl -server 172.20.70
.13 -username root -install -bundle c:\vmware-esx-drivers-scsi-bfa_400.2.1.1.1-1
OEM.285864\offline-bundle\BRCD-bfa-2.1.1.1-00000-offline_bundle-285864.zip
Enter password:
Please wait patch installation is in progress ...
The update completed successfully, but the system needs to be rebooted for the c
hanges to be effective.
C:\Program Files\VMware\VMware vSphere CLI\bin>
Success!
Once the update completed, I went and fired up VI Client, connected to the host, navigated to the storage adapters section and now I can see the vmhba listed!
Now that I got the HBA to show up on the host, I knew I needed to do one last step and that was to ensure that I did use the right driver because once this goes into production, we won’t be able to do any more testing with it.
Within the storage adapters section, ESXi lists the adapters as Brocade-425/825:
… so I went ahead to look up the reference guide on the Brocade site to determine if there was a cross reference guide available and indeed there was:
http://www.brocade.com/downloads/documents/reference_guides/Brocade_HBA_Cross_Reference_01.pdf
As indicated on the guide in the above screenshot, the Brocade 425 actually corresponds to the StorageWorks 42B HP model.
--------------------------------------------------------------------------------------------------------------------------------------------------
I’m surprised that the ESXi 4.1.0 package did not seem to load this driver during the install so I hope this helps anyone out there that may run into this or a similar problem in the future.