Knowledge Base

Allows you to search a variety of questions and answers

Search

Search results

General Server Questions

This is not as straightforward as Adaptec or 3ware, but it's not terribly difficult either if you follow the below instructions.

First, we need to download the MegaCLI zip file. You can get it from here:

http://www.avagotech.com/support/download-search

You can use "MegaCli64" as the search parameter on the above website.

You will need to download it to your local computer first and then upload it to your Linux server using WinSCP.

2. Unzip the contents of the folder using the 'unzip' command and then untar it using the tar command.

3. Go to your selected OS folder. In our case it will be Linux.

4. You will see two RPM files. Install both using rpm -ivh command.

5. The default directory for the installed utility will be in the /opt/MegaRAID/MegaCli folder. It will either be called MegaCli or MegaCli64.

6. To make running the command by just typing 'MegaCli' we will setup an alias like so:

root#: alias MegaCli="/opt/MegaRAID/MegaCli/MegaCli64" (use either MegaCli64 or MegaCli depending on your OS architecture)

Don't forget to add the same line to /root/.bashrc so it stays there after boot.

You are now ready to use the MegaCli utility.

Here is a link that has some useful commands: http://artipc10.vub.ac.be/wordpress/...eful-commands/.

A very good script for monitoring LSI raid and getting notifications can be found here: https://calomel.org/megacli_lsi_commands.html.

 

See What Our Customers Say