Operations: Install SMI-S Provider in VMware
The default VMware driver does not have detailed information about the RAID device. To show more information in vCenter/vSphere, we need an extra tool – the SMI-S provider from LSI Megaraid. SMI-S is a protocol that allows VMware to communicate with the controller and query it for details. The provider will create a bridge between the controller itself and vCenter Web Client or vSphere desktop client.
- Download SMI-S Provider - required for vCenter and vSphere integration.
- Product site: http://www.avagotech.com/products/server-storage/raid-controllers/megaraid-sas-9341-4i#downloads
- Go to Management Software and Tools section and expand the section for Latest SMIS Provider for VMware 5.5/6.0
- Download the SMI-S provider to your local computer
- Extract the ZIP file to a local folder
-
In the extracted folder you will find several other ZIP files
For ESX 5.0 copy the
vmware-esx-provider-lsiprovider.vib
from the archive: VMW-ESX-5.x.0-lsiprovider-500.04.V0.57-0007-3096039.zip (last group of digits may differ) to the ESX of hyper-converged storage- For ESX 5.5 and 6.0 copy the
vmware-esx-provider-lsiprovider.vib
from the archive: VMW-ESX-5.5.0-lsiprovider-500.04.V0.57-0007-3096036.zip (last group of digits may differ) to the ESX of hyper-converged storage
- Copy driver to the right place
- SSH into your hyper-converged ESX server. The same you copied the files to in the step above.
- Change directory to where you copied the
.vib
file -
Move or copy the
.vib
file to the place whereesxcli
will look forcp ./vmware-esx-provider-lsiprovider.vib /var/log/vmware/vmware-esx-provider-lsiprovider.vib
-
Install the
lsiprovider.vib
usingesxcli
esxcli software vib install -v ./vmware-esx-provider-lsiprovider.vib
-
Verify it was installed. You should see an output like on below
Installation Result
Message: The update completed successfully, but the system needs to be rebooted
for
the changes to be effective.
Reboot Required:
true
VIBs Installed: LSI_bootbank_lsiprovider_500.
04
.V0.
57
-
0007
VIBs Removed:
VIBs Skipped:
- Note that it tells you what was installed, and the you need to reboot
- Reboot the ESX from its management interface (Vcenter of VSphere) or by issuing the
reboot
command in the CLI
User: Viewing a healthy RAID in VMware
In Vcenter the user will see the datastore as a single volume.
To consult the state of the RAID device, go to Monitor > Hardware Status.
In the image above all disks are healthy and the RAID's logical volume is healthy as well.
User: Viewing a Degraded RAID in VMware
When a disk is broken or a connection to a disk fails, the user will see both an error message in Vcenter / VSphere notifications, as well as a the RAID's logical volume state as degraded.
In the image above the cable to one of the disks was removed. As a consequence the port and physical disk associated with it disappeared from the RAID controller's details. The logical volume appears status Warning and at the end of its name it says "DEGRADED".
User: How to Set Up Notifications in ESXi/vCenter
Since the RAID is managed by ESX, we need to configure it to notify the storage administrator when the RAID health changes. The procedure is explained below.
Configure SMTP settings using the old vSphere Client
- Log into the vCenter Server using vSphere Client
- From the menu, select View / Administration / Server Settings...
- Click on "Mail" in the panel on the left
- Enter the name of the SMTP server and sender account (this is kind of lame - would be nice if we could specify a port to connect to, SSL, authentication etc.)
- Click OK
Configure SMTP settings using the new vCenter Web Client
- Log into the vCenter Server using the vCenter Web Client
- In the Navigator select Hosts and Clusters / <your vcenter server > / Manage / Settings / General
- Click on the Edit... button and fill in the details as exampelified below
- Click OK and make sure the changes are persisted
Configure the alarm to send email using the old vSphere Client
- From the menu, select View / Inventory / Hosts and Clusters
- In the tree view on the left, click on the object where you want to configure the alarm - either at the top level (which will affect all hosts) or an individual host
- Select the "Alarms" tab
- At the top of the list of alarms, make sure "View: Definitions" is selected
- Locate "Host storage status" in the list of alarms and double-click it
- Go to the "Actions" tab
- Add a new "Send a notification email" action
- In the "Configuration" column next to your new action, enter the email address you need the alarm sent to
- You probably also want to make sure "Once" is selected in each of the last 4 columns, so you'll be notified every time the status changes
Configure the alarm to send email using the new vCenter Web Client
- Log into the vCenter Server using the vCenter Web Client
- In the Navigator select Hosts and Clusters / <your vcenter server > / Manage / Alarm Definitions. In the filter list write
Host storage status
or locate the alarm definition by scrolling.
- Click Edit... , go to Actions and fill in the details as marked by the arrows in the image below
- Click Finish
- Verify all actions were set by expanding the Actions group of your Alarm definiton