VMware

Installing Avago LSI StorCLI VMware ESXi

Installing Avago LSI StorCLI VMware ESXi allows you to interact with your Avago LSI RAID controller from the command line in VMware ESXi.
In our previous post on how to update Avago SMIS provider in VMware ESXi, we discussed how to upgrade your Avago/LSI SMIS provider that allows you to interact with your Avago/LSI card with the Avago Storage Manager utility. However, may not have installed the Avago/LSI SMIS provider on your VMware ESXi host and you may need visibility into a RAID operation or to silence the alarm on your VMware ESXi host running an Avago/LSI RAID controller. What are your options here? Do you have to schedule a maintenance period to shutdown your VMs (if standalone host, lab environment, etc), install the vib, and reboot? Thankfully, there is another utility that can come in handy in these cases when you need to interact with your Avago/LSI RAID controller and you can’t schedule a maintenance period. For these situations, we can use Avago LSI StorCLI, so let’s look at Installing Avago LSI StorCLI VMware ESXi.

Installing Avago LSI StorCLI VMware ESXi

Similar to installing the Avago/LSI SMIS provider, the process to install the StorCLI is straightforward and simply includes copying the .vib file to the ESXi host and then installing using theย esxcli software vib install -v command pointed to the .vib. ย The nice difference in installing StorCLI from installing the SMIS provider is that the StorCLI does not require a reboot.

storcli01

After installation, we need to change our working directory to /opt/lsi/storcliย where we can then run theย storcliย command. ย Below we are running theย storecli show command.

storcli02

Silence Alarm Avago LSI StorCLI

If you are not able or have not installed the SMIS provider, you can using the StorCLI, silence an alarm that is sounding due to a failure of a drive, etc. ย To silence the alarm, we enter the controller number and the corresponding command for interacting with the alarm:

./storcli /c0 set alarm=silence
./storcli /c0 set alarm=disable
./storcli /c0 set alarm=enable

storcli03

Avago LSI StorCLI check status of copyback or rebuild operation

To check a copyback operation, we simply enter the command:

./storcli /c0 /eall /sall show copyback

storcli04

For rebuilds:

./storcli /c0 /eall /sall show rebuild

storcli05

Avago LSI StorCLI change rebuild rate

To set the rebuild rate of the controller, we can use the following command:

./storcli /c0 set rebuildrate=30

storcli06

Thoughts

I like the tools that are provided by Avago/LSI to interact with the RAID controllers and affect change to the controller while booted into an operating system. ย The VMware SMIS provider is a great way to remotely monitor an Avago/LSI system remotely. ย If you don’t have the luxury of a maintenance period to reboot a host, the StorCLI is a nice alternative to using the Storage Manager application. ย The StorCLI is all command line driven, however, has most if not all of the functionality of the Storage Manager application. ย Installing Avago LSI StorCLI VMware ESXi can provide a great alternative to having a maintenance period and needing a reboot to interact with the Avago/LSI RAID controller.

Subscribe to VirtualizationHowto via Email ๐Ÿ””

Enter your email address to subscribe to this blog and receive notifications of new posts by email.



Brandon Lee

Brandon Lee is the Senior Writer, Engineer and owner at Virtualizationhowto.com, and a 7-time VMware vExpert, with over two decades of experience in Information Technology. Having worked for numerous Fortune 500 companies as well as in various industries, He has extensive experience in various IT segments and is a strong advocate for open source technologies. Brandon holds many industry certifications, loves the outdoors and spending time with family. Also, he goes through the effort of testing and troubleshooting issues, so you don't have to.

Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.