How to make ESXi 5.0 recognize an LSI 9265-8i RAID controller

LSI 9265-8i Amazon product view

LSI 9265-8i

LSI 9266-8i Amazon product view

LSI 9266-8i

Oct 15 2012 Update:
With the release of ESXi 5.1 and it’s included native LSI drivers, it’s continuing to get easier, read these far newer articles that really replace most of my original articles:
How to make ESXi 5.1 see the health of an LSI 9265-8i RAID controller and array
(above article works with 9266, and probably all other 92xx controllers, including Dell, HP, IBM, Intel, and Fujitsu variants)
ESXi 5.1 host with LSI 92xx RAID adapter can run a VM with fully functional MegaRAID Storage Manager UI, here’s how

April 04 2012 Update:
With the release of ESXi 5.0 Update 1, available for anybody, you will have native LSI 9265.8i controller support built in, once you apply the patch and reboot using the fairly simple procedure outlined in detail over here:
tinkertry.com/vsphere-5-0-update-1-released

Dec 17 2011 Update:
With the recent release of vSphere Hypervisor ESXi 5.0 Driver Rollup 1 downloaded from here, the entire LSI driver install step outlined below is no longer required, for those installing new, since native 9265-8i driver support now built-in. The catch is you need to be an enterprise customer to get access to the rollup for now, strange that the public free hypervisor is still the original August release.
Alternatively, for those who installed ESXi on another drive (not attached to their 9265-8i directly), anybody can download from the direct download link for ESXi500-201111001.zip, and patch your existing install to achieve the same end-results, but with admittedly having to do a bit more work to get there.


 

These instructions may be helpful for users trying to find step-by-step instructions on how to get the 9265-8i working under ESXi 5.0. After all, the 9260-8i works out of the box with ESXi 5.0, with native drivers built right in, so you may have assumed the 9265-8i would as well. I know I did, but I was wrong. I  require the 9265-8i’s unique upcoming read/write caching feature called CacheCade 2.0 that the 9260-8i won’t be able to handle:

tinkertry.com/goodraidcontrollerswithssdcachingandesxsupport

With the 9265-8i’s dual cores, it should also be better able to keep up with latest 6Gbps SSDs, and more 8 drives, should I buy a drive expander some day.

Well, turns out that once you’ve done a driver install on ESXi once, and figure out all the little steps, it’s not hard really.  You should be able to complete these steps in about 10 minutes yourself, assuming you have a bit of familiarity with WinSCP and PuTTY.  I couldn’t find all this info in one place anywhere, so I wrote this up.  This write-up is partially my own reference, as this was my last significant hurtle in the way of finalizing my  vZilla build process, and I’ll need to be doing this procedure again on my “production” install.

Part I:  How to make ESXi 5.0 see an LSI 9265-8i RAID controller

1)  Start at the VMware Compatibility Guide
Filter the results, by choosing ESXi 5.0, I/O Controllers, LSI, then scrolling until you find Model Detail for the MegaRAID SAS 9265-8I” device VID 1000 DID 005B

2)  Download the zip
At the Model Detail page (step 1 above), you’re directed to a general link for VMware driver downloads

So after a bit of detective work (ehem, also known as trial and error), I discovered if I search for “megaraid_sas version” I get two results.

And there it is, it’s the 2nd result you want, LSI_5_34-455140.zip , direct link listed here:
VMware vSphere > Drivers & Tools > VMware ESXi 5.0 Driver for LSI MegaRAID SAS Controller

which, as of Sep 24 2011, looks exactly like this:

Download VMware ESXi 5.0 Driver for LSI MegaRAID SAS Controller
Description The ESXi 5.0 driver includes LSI MegaRAID SAS driver version 5.34. The LSI MegaRAID driver (megaraid_sas) supports products based on the 2108 and 2208 SAS ROC family.
Version 5.34
Build Number 455140
Release Date 2011/08/22
Type Drivers & Tools
Components This download contains the following components. Hide Details

LSI MegaRAID SAS Driver
File size: 1
File type: zip
Version: 5.34
MD5SUM: 651ea62a5093d0f52bfed359eff7adbc
SHA1SUM: 99d0d5793c01fd82e7b561a13bde4eb5ca05e9d0

3)  Now unzip it
Now that you’ve obtained the file bundle, unzip the archive, and the only 2 files you actually really care about (unless you’re using VUM) is:
\LSI_5_34-455140.zip\scsi-megaraid-sas-5.34-1vmw.500.0.0.406165.x86_64.vib
\LSI_5_34-455140.zip\doc\README.txt

4)  Enable SSH on ESXi 5.0
It’s quite easy with the ESXi vSphere client, step by step found here.  You can do this for each time you boot, not leaving it enabled at start time (security consideration).

5)  Move it
I happened to use freeware WinSCP and it’s an easy GUI, but using Linux will do nicely too.  Point WinSCP to your ESX host IP, drag and drop
scsi-megaraid-sas-5.34-1vmw.500.0.0.406165.x86_64.vib
into the ESXi 5.0 hosts /tmp directory

6)  Put ESXi into Maintenance Mode
Shutdown or suspend all your active VMs on that host, then right-click on ESXi host, and choose Enter Maintenance Mode” as recommended by LSI technical support.

7)  Patch it
Then, at PuTTY (SSH for Windows) session on the ESXi 5.0 host, I do the following 2 commands (as you get to the part where you type scsi, hit tab for auto-completion to kick in):

cd /usr/bin

esxcli software vib install -v /tmp/scsi-megaraid-sas-5.34-1vmw.500.0.0.406165.x86_64.vib

And after a few seconds, it’ll confirm it worked, and prompt you to reboot.  Go ahead and close the PuTTY session window and reboot now.

That’s it, you’ll now “see” the “MegaRAID SAS Fusion Controller” listed on the vSphere Client’s UI, under the ESXi 5.0 host, Storage Adapters, Configuration, Storage Adapters page, ready for you to format the RAID array with VMFS and get started using your new big/fast/redundant storage pool.  Nice that there’s no more 2TB limits anymore either, you can just make it one big VMFS 5 filesystem.

You can also see the driver that is loaded over here:

 

 

Part II:  How to see health info of an LSI 9265-8i RAID controller

Basically, it’s the same basic tools you use to move files to ESXi, then tell it to use them on the next reboot.

1)  Start at the VMware Compatibility Guide
Filter the results, by choosing ESXi 5.0, I/O Controllers, LSI, then scrolling until you find Model Detail for the MegaRAID SAS 9265-8I” device VID 1000 DID 005B

2)  Download the zip
At the Model Detail page (step 1 above), you’re directed to a general link for VMware drivers.

I discovered if I search for “500.04.V0.24-261033-456178″ I get one results.

And there it is, direct link listed here:
VMware vSphere > Drivers & Tools > MegaRAID SAS VMWare SMIS Provider VIB, Version 00.24.V0.03

which, as of Sep 29 2011, looks exactly like this:

MegaRAID SAS VMWare SMIS Provider VIB, Version 00.24.V0.03
Miscellaneous
VMWare SMIS Provider VIBCertified
OS: VMWare ESX 5.x
Version: 00.24.V0.03
Readme Link: VMW-ESX-5.0.0-LSIProvider-500.04.V0.24-261033-456178.txt
Download VMware ESXi 5.0 Driver for LSI MegaRAID SAS Controller
Description The ESXi 5.0 driver includes LSI MegaRAID SAS driver version 5.34. The LSI MegaRAID driver (megaraid_sas) supports products based on the 2108 and 2208 SAS ROC family.
Version 5.34
Build Number 455140
Release Date 2011/08/22
Type Drivers & Tools
Components This download contains the following components. Hide Details

LSI MegaRAID SAS Driver 
File size: 1
File type: zip
Version: 5.34
MD5SUM: 651ea62a5093d0f52bfed359eff7adbc
SHA1SUM: 99d0d5793c01fd82e7b561a13bde4eb5ca05e9d0

3)  Now unzip it
Now that you’ve obtained the file bundle, unzip the archive, and the only 2 files you actually really care about (unless you’re using VUM) is:
\VMW-ESX-5.0.0-LSIProvider-500.04.V0.24-261033-456178.zip\vmware-esx-provider-LSIProvider.vib
\VMW-ESX-5.0.0-LSIProvider-500.04.V0.24-261033-456178.zip\vmware-esx-provider-LSIProvider.vib\doc\README.txt

4)  Enable SSH on ESXi 5.0
(you may have done this step already, in the steps above that instruct you on how to install the driver)
It’s quite easy with the ESXi vSphere client, step by step found here.

5)  Move it
I happened to use freeware WinSCP and it’s an easy GUI, but using Linux will do nicely too.  Point WinSCP to your ESX host IP, drag and drop
vmware-esx-provider-LSIProvider.vib
into the ESXi 5.0 hosts /tmp directory

6)  Put ESXi into Maintenance Mode
Shutdown or suspend all your active VMs on that host, then right-click on ESXi host, and choose Enter Maintenance Mode” as recommended by LSI technical support.

7)  Patch it
Then, at PuTTY (SSH for Windows) session on the ESXi 5.0 host, I do the following 2 commands:

cd /usr/bin
esxcli software vib install -v /tmp/vmware-esx-provider-LSIProvider.vib
And after a few seconds, it’ll confirm it worked, and prompt you to reboot.  Go ahead and close the PuTTY session window and reboot now.

You’ll now “see” the health of the 9265-8i:


Indended below, for archival purposes, you’ll see my ill-fated attempt to run MegaRAID from within a VM (added May 5 2013, I later got this working, seen here)

Now you are ready to get MegaRAID to see this LSI 9265-8i from inside a VM, LSI has outlined the steps in this KB article:

http://kb.lsi.com/KnowledgebaseArticle16438.aspx?Keywords=CIMwhere the instructions at the above KB article states:

It takes a while to discover the CIMOM servers. If you start the MegaRAID Storage Manager client immediately after you install the MegaRAID Storage Manager (or restart Framework service), you will not be able to discover any hosts in the network.

So, instead, I just edited the hosts file according to the instructions, then rebooted the VM.

While that was rebooting, I then tweak the ESXi host to allow remote CIM, not sure yet if this step was absolutely essential, but I suspect it is:

and now I  instaled thel latest MegaRAID 11.06.00.0300, which I just noticed finally has CacheCade 2.0 support for models that currently offer this, see readme (you no longer need to go back to version 8.33).

Here’s the 9265-8i support site:
http://www.lsi.com/support/products/Pages/MegaRAID%20SAS%209265-8i.aspx

Here’s the direct link for the MegaRAID 11.06.00.0300 Windows download:
http://www.lsi.com/downloads/Public/MegaRAID%20Common%20Files/11.06.00-03_Windows_MSM.zip

But unfortunately, I’m still having trouble getting my non-DNS environment to see the ESXi 5.0 host, in the process of ruling out prerequisite ESXi changes I may have missed (such as firewall rules, etc.)…stay tuned!

If I login to the local VM which is Windows, it shows the LSI virtual adapter that VMware tools installs.  If I choose the only thing it finds, which is loopback 127.0.0.1, I get
“Login failed : Unable to connect to CIMOM server!” which makes sense because it’s not even hitting the ESXi 5.0 host, pictured below:

 


Dollar SignThis green button is not a tip jar to influence future posts, it’s for already published work you appreciate. Helps with recurring web hosting fees and global CDN, for improved site performance.


written by

The author didn‘t add any Information to his profile yet.
  • Funditus

    I have a RAID with LSI 2108 chipset. Everything works fine. Even no need to install driver as you said, but the is no any status about disks in RAID in ESXi 5.0. I expect to see it in  Configuration -> Health Status -> or in CLI somehow.
    Do you have the same problem with your RAID adapter?

    • dresner

      I have tried everything to get my Host 5.0u1 to see my 9265-8i to no avail. I do believe that in some cases the motherboard prevents this from happening. I have the latest firmware, latest SMIS and driver and still nothing. I left to reboot every month to see if the health of my arrays is “good” – otherwise, I’m very happy with my setup.

  • Funditus

    I found the solution. It was neccesary to install http://www.lsi.com/downloads/Public/MegaRAID%20Common%20Files/VMW-ESX-5.0.0-LSIProvider-500.04.V0.24-261033-456178.zip
    to ESXi 5.0 and Storage status in  “Health status” is available.
     

  • tinkererguy

    Is this the instructions you followed to get it working?
    http://blog.rebelit.net/?category_name=vmware

    I was planning on next testing this CIM provider:
    http://www.lsi.com/channel/products/storagecomponents/Pages/MegaRAIDSAS9265-8i.aspx

    Here’s the description:
    MegaRAID SAS VMWare SMIS Provider VIB, Version 00.24.V0.03
    Miscellaneous VMWare SMIS Provider VIBCertified
    OS: VMWare ESX 5.x
    Version: 00.24.V0.03
    Readme Link: VMW-ESX-5.0.0-LSIProvider-500.04.V0.24-261033-456178.txt

    here’s the readme
    http://www.lsi.com/downloads/Public/MegaRAID%20Common%20Files/VMW-ESX-5.0.0-LSIProvider-500.04.V0.24-261033-456178.txt
    =========
    SAS MegaRAID VMWare SMIS Provider VIB (Certified) for ESXi 5.0 (VMware MN)
    Release date: 08/03/11

    Then trying to get MegaRAID working inside an ESXi 5.0 over IP.

    Seems this person is in the same spot as I:
    http://www.mikcx.com/vmware-esxi-5-0-whitebox-server-build-%E2%80%93-part-2/

    Here’s a video I watched, next was going to be testing it, there doesn’t seem to be a good write on this quite yet:
    http://www.youtube.com/watch?v=mEBwt6Q_diU

    Here’s an aging write up by LSI:
    http://www.google.com/url?sa=t&source=web&cd=5&ved=0CEQQFjAE&url=http%3A%2F%2Fkb.lsi.com%2FExportPDF16438.aspx&rct=j&q=megaraid%20vmware%20esxi%205&ei=CCuDTvPjH8LH0AG07vywAQ&usg=AFQjCNGkBoXa8BGHyeE7OlU7nIjNr0I4EA&sig2=nQepnGUBhfWlQx6Sr3eASg

  • Funditus

    No, I just did the way I wrote without instructions.

  • bsa

    As far as you know is there a method to replace a driver on ISO ?
    I have a LSI megasas 9240. ESXi 5 installation CD stop during scan and I have to:
    1)remove card
    2)install ESXi on USB stick
    3)upgrade driver using esxcli software vib install
    4)instal card
    5) ok now it recognize CARD
    As I would like to install sys & data on RAID,
    what is the best way?

    Thanks

  • tinkererguy

    I’ve never tried this, but I did spot this post that seems promising:
    http://communities.vmware.com/thread/336077

    • bsa

      Thanks,
      I updated the post.

      Bsa

  • Kris

    For the CIM provider; use MSM 9.x, it works nicely; I tried with 11.x and it never really worked.

  • tinkererguy

    Kris, just to be sure I got this right:  are you saying that you actually got MSM 9.00-01 to “see” the 9265-8i from inside a virtual machine, in an ESXi 5.0 environment (not using passthru mode)?

    In other words, you can manage your 9265-8i controlled shared ESXi 5.0 pool from within a VM, using MSM 9?

    • Kris

      My setup: 

      MSM 9.00-01 on a Windows7 VM + ESX 4.1 U2 + LSI 9260-4i + LSI updated CIM + megaraid drivers for ESX 4i.

      I was going to be on the ESX 5.0 track until I discovered that the VMware’s HCL doesn’t reflect the total reality of things, so I opted for 4.1 U2 in the meanwhile.   

      I did find MSM 11.x to have a lot of problems in terms of communicating with it’s own service. I never was able to succesfully logon to the local service.  However, with 9.0, I was able to do so, and when you configure the service to discover its neigubours, it will list you the service console of ESX, and at that point, you can login with your service console ID.

    • Funky D

      I’ve been trying to get MSM working in SBS 2011, and I’m convinced it doesn’t support 2011 in an ESXi environment.  Clicking the “Configure Hosts” button doesn’t do anything half the time.  Restarting the MSM services and program sometimes fixes that issue, but then it doesn’t find any hosts (not even the local MSM host).

      I was able to get it working in a Win7 VM after adding the full hostname of both the Win7 machine and ESXi 5 host to the Win7′s hosts file.  The Win7 machine had no win updates installed, so not sure if that made a difference or not.  Unfortunately a flakey program though!

      • tinkererguy

        Funky D, thank you so much for the info, and glimmer of hope!  Which version of MSM did you have some success with?  And which Windows 7, was it x64 with SP1 (not that it should matter, but just in case)?

        • Funky D

          Both version 9 and 11 seemed to work.  Win7 x64 with SP1.  Interestingly enough, I could get the SBS box to work when I pointed it to the Win7 MSM IP (after dinking around with the MSM services, etc).

  • GWizz

    I have found MSM to way more stable when installed on a server distro.
    On Win7 it works when we have a full moon and the wind is from the east. On a VM wint Server 2008 R2 it works almost every time.

  • Gl2k000

    FYI, VMWare relased a 5.0 ISO with driver rollup package 1.0 which now comes with the LSI drivers.

  • tinkererguy
  • tinkererguy

    Kind of strange how the usual free hypervisor download site doesn’t show this rollup ISO:
    http://www.vmware.com/tryvmware/p/activate.php?p=free-esxi5&lp=default
    yet anyway.

  • tinkererguy

    Alternative approach outlined here, with good info on the state of free hypervisor versus driver roll-up 1:
    http://blog.rebelit.net/?p=283

  • http://xkyle.com Kyle Anderson

    Yes, it sounds like this method is only for installing the driver *after* ESXi is installed. How do you add this driver at installation time?

    • tinkererguy

      This looks promising, but I haven’t tested it:
      http://v-front.blogspot.com/p/esxi-customizer.html
      The reason I didn’t test it is because
      a)  I already figured out how to add LSI support after the install, and
      b)  I found that the Driver Rollup from here (if you have a license for this limited access download)
      http://downloads.vmware.com/d/details/rollupiso_50_1/dCV0YnRoJSpidGVkZA==
      then you can “Download vSphere Hypervisor ESXi 5.0 Driver Rollup 1″ and have LSI 9265-8i support built in, automatically.

      • http://xkyle.com Kyle Anderson

        Awesome! That Driver Rollup ISO is exactly what I needed. Thanks!

  • Josh

    Hello, I got this going for my card but…this is kind of useless. How do you manage the card?

    • tinkererguy

      Dual boot to Windows with MegaRAID, or use WebBIOS to configure card using this procedure
      http://www.tinkertry.com/webbios

      Hopefully MegaRAID will someday work (again) under ESXi 5.0 VM, as it (sometimes) did under ESX 4.1, I’m doing everything I can to facilitate that actually happening…

      • Josh

        Yes but doesn’t that require you to reboot to get into the BIOS? That’s not really acceptable, IMO, especially with SSDs (which fail relatively often).

        • tinkererguy

          Fair enough, looking forward to full MegaRAID support myself, someday. I keep plugging away at convincing LSI this needs their development effort, especially since it seems it used to sort-of-work under ESX/ESXi 4.1.  Perhaps HP or IBM or Dell or some other LSI OEM partner (who sells re-branded LSI RAID controllers) will beat them to it?  Probably wishful thinking.

  • Anonymous

    I have an Intel RS2BL040.+ ESXi 5.0 + two “vib” files installed,
    vmware-esx-provider-LSIProvider.vib and scsi-megaraid-sas-5.34-1vmw.500.0.0.406165.x86_64.vib.
    I have RAID Web Console 2 version 11.06.00.0300 running on a Windows Vista system.  The Vista system can ping the ESXi system, and vice-versa.   RWC2 gives the message “Servers could not be found …”.

    is the LSI updated CIM, referenced in earlier posts, included in the vibs I installed? 
    Any other suggestions for debugging the RWC2 problem?

    Earlier posts hint that I should remove RWC2 v11 and use MSM 9.  
    RS2BL040 is the same as LSI 9260-4i.

    • tinkererguy

      As far as this question:
      “is the LSI updated CIM, referenced in earlier posts, included in the vibs I installed?”
      I’m honestly not sure, especially since you have a different chipset and driver family.

      I never got MSM working, and have never tried RAID Web Console 2 myself (good idea though, as a potential workaround), and am still struggling to work with LSI and VMware to get this resolved. MSM was said to work on ESXi 4.1, and it’s gotten very tough to get working with ESXi 5.0, so I’m just hoping that proper fixes are made so it’d just work, without any special fiddling. Meanwhile, I use WebBIOS, not a big problem:
      http://www.tinkertry.com/webbios

  • Anonymous

    Qapla’, sort
    of.   

    The GUI is
    still failing but I have found an acceptable workaround with the CLI.

    The GUI
    products from LSI and Intel, “MSM” and “RWC2″, cannot find
    the host system. The documentation from LSI and Intel is vague regarding GUI
    support for ESXi 5.0. 

    LSI provides
    a command line interface called MegaCli. 
    I downloaded  MegaCLI 8.03.16
    (which lists  ESXi 5.0 as a supported OS)
    and copied MegaCli to my VMware host system. 
    On the host, $PATH is /bin:/sbin, and when MegaCli is copied (no vib
    install required) to either of these directories, it works.  For example

    # MegaCli -adpCount

    Controller Count: 1.

    Exit Code: 0×01

     

    I have not
    yet found the User Guide for MegaCli on the LSI website, but I expect LSI
    support will respond to my help request. Hopefully, a future release of the GUI
    will work too.

    So, I have a
    working remote management solution for the LSI/Intel RAID card for ESXi 5.0.
    Note:  the two LSI “vib” files
    that I indentified earlier,  vmware-esx-provider-LSIProvider.vib
    and
    scsi-megaraid-sas-5.34-1vmw.500.0.0.406165.x86_64.vib, are required.

    I’d like to know if the CLI is working for others with either the LSI
    branded card or the Intel card. And if someone discovers a release of the GUI
    that works reliably.  In the meantime,
    the following command shows the image versions in flash.  Do these image versions for the Intel controller match those on the LSI controllers?

    MegaCli AdpAllInfo aAll | more

    Adapter #0

    ==============================================================================

                       
    Versions

                   
    ================

    Product Name    : Intel
    (R) RAID Controller RS2BL040

    Serial No       :
    SV13414702

    FW Package Build: 12.7.0-0007

                        Mfg.
    Data

                   
    ================

    Mfg. Date       : 08/17/11

    Rework Date     : 00/00/00

    Revision No     : 67C

    Battery FRU     : N/A

                       Image
    Versions in Flash:

                   
    ================

    BIOS Version       :
    3.13.00

    FW Version         :
    2.70.03-0862

    Preboot CLI Version: 04.04-001:#%00008

    WebBIOS Version    :
    6.0-9-e_5-Rel

    NVDATA Version     : 2.04.03-0002

    Boot Block Version : 2.02.00.00-0000

    BOOT Version       :
    01.250.04.219

  • tinkererguy

    Thank you mr furious, wow!  I should be able to try this on a extra ESXi 5.0 USB key I have (once I finish a 5TB data migration underway, that’ll be done in a day or two).

    We look forward to hearing how your experience with LSI technical support goes!

  • Richard_roloff

    Do you run thin clients or zero clients on the desktop that connect to ESXi guest systems? 
    I want to replace all of my home desktop systems with, e.g. Dell FX130s.  It appears as if the FX130 can make a remote desktop connection to a VMware Windows guest, but what about a Linux guest? 

    Any advice would be appreciated.

     

    • tinkererguy

      I may try thin clients, now that I’ve finally got my final build configuration completed for vZilla (photos and videos to be posted soon).  I’ve got some old thin client hardware that you just reminded me of, that I may dust-off and give a try. Meanwhile, I find using Remote Desktop Connection to my VMs to be rather handy and speedy. And I frankly haven’t even tried Linux thin clients, but I do have Linux (and even OS/2) VMs from VMware Workstation laying around, that I’ll want to bring into ESXi soon (using free VMware Converter tools).

  • LTB

    Did you ever find a solution on how to manage the LSI RAID adapter without booting into Windows? Occasionally mine works. But most of the time I get an error. MSM finds the ESX host, but trying to connect give me the error: “Unable to connect to CIMOM server!”

  • lunadesign

    ESXi newbie here with a question for the experts:

    Once you get ESXi 5 to recognize your controller, what kind of health info can you get on individual drives?  IE, can you drill down to the drive level and see the individual SMART values?  If so, can someone please provide a screen capture of what that screen looks like?

    Thanks!

    • tinkererguy

      Well, with an LSI RAID array (supported RAID adapter), you can get basic health info, but not SMART data, see sample screenshots here:
      http://www.tinkertry.com/raidabuse

      • lunadesign

        Thanks for the info….it was really helpful to see that although I was definitely hoping for more.

        Have you tried MegaCLI?  According to http://serverfault.com/questions/73244/lsi-megaraid-get-hdd-temperature, you can get some SMART attributes by using
        megacli -PDInfo -aALL

        • tinkererguy

          Thank you lunadesign!  I’ve just resorted to dual booting to Windows 7 with MegaRAID drivers and UI, so I don’t have to go learning the MegaCLI, but yeah, it’d sure be better if MegaRAID could run inside a VM.  At least I have battery charge state and RAID array state shown in ESXi health however, so I’m good for what I need.

  • Dresner

    Hi Paul,

    Getting around to all the finer points of my setup and wanted to see the health status.  Seeing as tho I started with update 1, my driver was baked in, but the offline .vib was not and so I followed your instructions to get the health status up and running and while the install went smoothly, the health status is not showing up.  Even after 2 reboots.  Wondering if that .vib is not working in update 1.  Any suggestions?

    • tinkererguy

      Just double checked, and yes, I’m on ESXi 5.0.0 623860 still (update 1), and under Health Status, “To Be Filled By O.E.M. To Be Filled By O.E.M.”, Storage, I see “Controller 500605B00336A700 (LSI MegaRAID SAS 9265-8i) with “Normal” health, adn Battery 9535 also showing normal.  So I would agree, there must be some subtle difference between how you installed the VIB versus how I installed the VIB file.

  • Dark-lord

    how can i do this with the lsi 9266?

  • frolic78

    Thx for your excellent howto.
    Since the v5.0 update 1 my ServeRAID M5014 is fading away from the health status, after a few days 1st the disks, then the controller.
    Repeating Step 1 from above solved it just for a week or so…
    Any idea?
    Your link “April 04 2012 Update” at the top deoes not work.

    • tinkererguy

      I fixed the broken link (I’m usually alerted to those automatically, so sorry about that). I don’t have a M5014, but given the similarities, there should be some commonality with experiences I have.
      I did have my entire adapter drop from ESXi 5.0 Update 1′s view (loosing the array visibility until reboot). It actually happened while recording a video, I will be publishing more about that at some point, but it hasn’t happened again with the latest Adaptec firmware on my 9265-8i either.
      I assume you probably got your M5014 at a reasonable price point, since the OEM variants seem to be less than LSI models. I went with LSI directly, hoping for better support, and faster support for CacheCade 2.0.
      Frolic78, I hope this info helps a little?

      • David Kings

        Im running an LSI 9260-8i with 4 x1TB in RAID10, CacheCade2 with 240 GB SSD + BBU on an AsRock Z77 Professional board and ESX 5.0 update 1
        After running fine for 3 weeks straight, I had my 9260 appear to drop off the PCI bus twice in one day. No alarms sounded from the 9260, so the disks and volumes were always in tact. After checking the status of the board, drives, volumes and BBU on 2nd reboot via MegaCLI, I noticed the BBU temp. was higher than normal.
        I have adjsuted my cooling fans to provide more airflow over the BBU and the 9260 heatsink (which is partly shielded by the onboard BBU) and havent had a repeat of this issue now for 5 days. BBU temp is now back down to a reasonable value (25 deg C). Im hoping Ive identified my problem and resolved it, as there is nothing worse than an unstable and unpredictable server platform.
        David – Australia

      • tinkererguy

        Working to rule out overheating possibility (using Antec spot cooling fan http://www.tinkertry.com/vzilla to help)

    • frolic78

      Thank you for the info.

      Maybe there would be a newer firmware for the M5014 too, but for now I have enough touching a running system…
      IBM’s latest driver scsi-megaraid-sas-5.34-1vmw.500.0.0.406165.x86_64.vib
      is a joke, it is from July 2011.

      It was a bad idea to upgrade my perfect running ESXi 4.1 to 5.x

  • alex s.

    thanks for all the help. i am just starting out and having difficulty with ESXi 5.1 “seeing” my lsi 9260-8i controller. as i understand all the drivers have to be there and should not have to go through extra steps to achieve that. may you can point out what i am doing wrong… thanks in advance

  • Alex smith

    Using you method I have updated drivers from lsi website. But i am still having the same issue of not seeing my controller under congig/storage adapters. The only one that it recognizes is the onboard lsi 1068 controller… Any thoughts?

    • tinkererguy

      Hey Alex, sorry but I need a bit more detail, and since it worked so smoothly in my situation, it’s going to be tough to really know about the 9260-8i (that I no longer own), which should behave the same. Let me just start with the basic follow-on questions:
      1) have you seen this behavior with the exact same software? In other words, what exact version of VMware ESXi 5.x are you on, and what patches?

      2) have you read this newer article, just in case it gives you some insight?
      http://www.tinkertry.com/lsi92xx-health-under-esxi-51/

      3) do you know what version of the firmware you have running on the 9260 card itself?
      This is now easier to see under VMware if you have ESXi 5.1, described here:
      http://www.tinkertry.com/lsi92xx-health-under-esxi-51/

      • alex s.

        thanks for responding to my issue. many thanks.
        1. vmware esxi 5.1.0 build 799733
        2. this is the firmware i downloaded and flashed 9260-8i :
        merged_12.12.0-0111_sas_2108_fw_image_2.130.353-1663
        and the drivers for raid card are as follows:
        scsi-megaraid-sas-6.504.51.00-1vmw.500.0.0.472560.x86_64.vib

        • alex s.

          i am not sure if this shows any problems….

      • alex s.

        is there a possiblity that my hardware is not compatible? i have supermicro mb x9sra, 32gb of ecc memory by samsung approved by supermicro to be compatible, and e5-1660 cpu…

      • Alex s.

        Now, that i am thinking about, could it be that running esxi host as a virtual machine under workstation is the problem? The host only sees virtual scsi adapter..it seens to me that i have to boot directly to esxi, and not run the installation in vm workstation.. What are your thoughts on this?

        • tinkererguy

          Indeed, that is very likely the issue. It’ll only see the LSI adapter that VMware tools (from VMware Workstation) installs, not the actual underlying hardware. VMware tools has been showing an LSI adapter in Device Manager for years, and there’s nothing to configure on that.

          You have many layers of software between you and the hardware, Windows 7 running VMware Workstation running ESXi 5.1 running Windows 7 running MegaRAID Storage Manager.

          Sorry I don’t have better news for your situation, but if you have VMware Workstation running under something like Windows 7, then can’t you just install MegaRAID Storage Manager under Windows 7 itself and see the RAID health and configure it from there?

      • alex s.

        is it possible to install and run esxi 5.1 on windows 7 and still be able to access raid controllers? as i have found out, installing esxi as a virtual machine on vmware wokrstation leaves me without being able to manage storage off of lsi 9260 card… thanks for further input…

      • Peter K.

        Hi Paul. Thanks for a very nice site you have.

        I have problem with a Fujitsu RX300
        S3 server and i cant enable WriteCache and are in desperate need of a
        working lsi 1068 driver for ESXi 5.1 with CIM

        • http://TinkerTry.com/about Paul Braren

          Thank you for the flattery Peter!

          Unfortunately, I cannot say it will work, this is tricky stuff. You have a different brand of card, different motherboard, etc., so I cannot say for sure. But consider the technique in this article that a lot of folks have had luck with, over on 5.1:
          http://TinkerTry.com/lsi92xx-health-under-esxi-51
          but admittedly this firmware and driver set is getting rather old at this point, not sure the best path today.

          • Peter K.

            Thanx Paul. I Will try to see if it’s working.

            If it does, i’ll inform you to help other !!

          • Peter K.

            Yepp, it’s working on fujitsu RX300 S3.
            When i use version 13 on MSM, theres no need for our russian friend Alex php hack, but i’ll thanks him also anyway.

            Thanks again Paul

          • http://TinkerTry.com/about Paul Braren

            Awesome, glad to hear Fujitsu is one of the LSI OEM products where this works!
            See also:
            http://TinkerTry.com/esxi-5-1-can-run-lsi-megaraid-in-a-vm

            where I admit the php hack is no longer needed.

  • http://www.eoptionsonline.com/ Albert Gray

    Thanks for posting this…nice .