This morning I got an email from the datacenter that informed me of a loud alarm coming from one of my servers. I knew right away it was the LSI card sounding off due to a hard drive failure. Since I almost always use RAID 10 in critical arrays, I was more annoyed than concerned. So, off to the datacenter I went, new drive in hand. While diagnosing the issues, I realized there is no out-of-the-box way to be notified of a drive failure within ESXi. As far as I could tell, everything was fine, except for an audible alarm I would have never heard.
The RAID card in this particular server is an LSI 9260-8i, however this guide is the same for all of the 92xx series cards, like the 9265-8i, or 9265-16i. VMware includes drivers for these cards, starting in ESXi 5.1 if I remember correctly. However, there is no health data for drives and no management interface for arrays. After a couple google searches, I quickly found that there is a lot of conflicting information and tons of problems that go along with installing the LSI MegaRAID Manager, MSM, on ESXi. I also ran into some problems. So, I thought I would put together a quick, easy, clear guide to save others the hassle of going through what I went through. So, here we go.
How to install MSM on ESXi 5.5
To complete this process, you will have to put your ESXi host into maintenance mode, and you will have to reboot. So make sure your VMs are all shut down before proceeding.
You will need to have the following items:
- Latest SMIS Provider from LSI (it’s under Management Software and Tools
- Latest MegaRAID Storage Manager (MSM)(Also under Management Software and Tools)
- An SCP client – WinSCP for Windows or Cyberduck for OSX
- An SSH client – Putty for Windows, or terminal for OSX
- Windows 7/8 or Server 2008/2012 Virtual Machine on ESXi host (to install and use MSM)
The process is pretty straight forward. In a nutshell, here are the steps we will take:
- Enable SSH on ESXi Host.
- Copy LSI SMIS Provider to ESXi Host via WinSCP.
- Configure Host and Install SMIS Provider.
- Install MegaRAID Storage Manager on VM
Log into your host using the vSphere client, or the web interface, then go to the configuration tab and select Security Profile.