Overview : MegaCLI Overview

MegaCLI Overview

The MegaRAID Command Tool (CT) is a command line interface (CLI). You can use this utility to configure, monitor, manage, and maintain the Nytro MegaRAID controllers and the devices connected to them.

You can use the MegaCLI configuration utility to perform these tasks:

*

Configure the Nytro MegaRAID controllers and attached devices.

*

Display information about Nytro cache drives and drives for the controller and other storage components.

*

Display ongoing progress for operations on drives and Nytro cache drives.

*

Change properties for the Nytro cache drives and drives for the controller and other storage components.

*

Set, retrieve, and verify controller default settings.

*

Change firmware on the controllers.

*

Monitor the Nytro MegaRAID storage systems.

*

Change power setting (dimmer switch).

*

Support RAID levels 0, 1, 5, 6, 10, 50, and 60 (based on the Nytro MegaRAID controller).

*

Create and use scripts with the scriptable CLI tool.

*

Configure drive into groups and Nytro cache drives on the controller.

*

Display configuration information for the controller and Nytro cache drives.

*

Change virtual drive properties on the controller.

*

Change drive properties on the controller.

*

Display controller properties.

*

Load configuration to the controller from a file.

*

Save the controller configuration to a file.

*

Start or stop a rebuild, consistency check (CC), or initialization operation.

*

Enable or disable a background initialization (BGI).

*

Stop or display an ongoing background initialization.

*

Start or display a reconstruction.

*

Start or stop patrol read.

*

Set and retrieve patrol read related settings.

*

Flash new firmware on the Nytro MegaRAID controller.

*

Read and program NVRAM and flash memory directly into MS-DOS®.

*

Display relevant messages on the console and/or in the log file.

*

Display controller data using one command.

*

Exit with predefined success or failure exit codes.

*

Scan, preview, and import foreign configurations.

*

Set predefined environment variables, such as the number of controllers and Nytro cache drives.

*

Display the firmware event logs.

*

Display help for how to use the command line options.

*

Create a Nytro cache drive to use as secondary cache.

*

Display Nytro Flash module SuperCap unit properties.

*

Display enclosure properties.

*

Display and set connector mode on supported controllers.

*NOTE  Using the MegaCLI Utility while creating Nytro cache drives, you need to create a Nytro cache drives of a minimum of 100 MB. Even if you specify the size of a Nytro cache drive as less than 100 MB in the command syntax, the Nytro cache drives that gets created is 100 MB.

The following topics describe the command line options in the MegaCLI configuration utility that you can use to perform these functions.

*NOTE  The MegaCLI error messages are listed in Error Messages and Descriptions.