This document provides a list of the most common commands needed when working with LSI MegaRaid Controllers for the Unified Computing System (UCS).
Recommendation: If you are inexperienced with updating MegaRAID device drivers manually, we highly recommend downloading the MegaRAID Driver Utility. This tool will download and update the correct MegaRAID driver versions automatically, protecting you against installing the wrong MegaRAID drivers. LSI MegaRAID SAS RAID Controller (MegaCLI Configuration Utility) for ThinkServer RD230,RD240,TD230,TS430 (Windows Server 2003, Windows Server 2008 & Windows Server 2008 R2).
MegaCLI is a utility used to obtain information from the LSI Raid Controller. MegaCLI can also be used as a troubleshooting tool. Raid controller events at this point are not captured in the Cisco Unified Computing System (UCS) System Event Logs (SEL) or Onboard Failure Logging (OBFL) logs.
MegaCLI supports Windows, Linux, VMware, Solaris, DOS and Free BSD. You will need to unzip the file after download and choose the proper install package based on the operating system (OS). More information about install procedures, bug fixes, and supported raid controllers are in the 8.0.4.07_MegaCLI.txt file. This file is available once you have performed the initial unzip. Detailed install procedures can be found in the read me file associated with each OS type. Download the MegaCLI utility from LSI at this link:
Note that MegaCLI is now called StorCLI.
Prerequisites
Requirements
Cisco recommends that you have knowledge of these topics:
LSI MegaRaid Controllers
Unified Computing System
Components Used
This document is not restricted to specific software and hardware versions.
Conventions
Refer to Cisco Technical Tips Conventions for more information on document conventions.
Commands
This command provides the Product Name, Serial Number, Firmware version, Manufacturing date, Hardware Configuration, Settings, Capabilities, Limitations, Devices Present, Supported Operations, Error Counters, and Default Settings:
This command pulls all of the events and writes them to a file named event log:
This command displays the firmware log which includes environmental data, controller properties, memory information, events, and information about the Battery Backup Unit (BBU) such as physical properties, monitored information, capacity, and design information. The output also provides event messages specific to the BBU.
Displays information about all physical disk drives and other devices connected to the selected adapter(s); includes drive type, size, serial number, and firmware version. For Serial Attached SCSI (SAS) devices: includes SAS address. For SAS expanders: includes number of drives connected to expander.
Illuminates the locator led on the drive:
Lsi Megaraid Software Manager
Turns off the locator LED on the drive:
Displays BBU firmware, charging, capacity and properties information:
Lsi Megaraid Software Download
Displays auto learn information:
Displays detailed charging status and gas gauge status:
This will silence the raid controller beep tones.
Preboot CLI
If the customer cannot install the MegaCLI utility or it is not available for some other reason, you can get to the Preboot CLI and run the same commands as shown above.
Lsi Megaraid Storage Manager Download Server 2012 R2
The only difference is that the commands begin in the Preboot CLI after the 'MegaCli64' above.