Announcement

Collapse
No announcement yet.

How to install MegaCli for LSI RAID cards

Collapse
This topic is closed.
X
This is a sticky topic.
X
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to install MegaCli for LSI RAID cards

    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/.
    www.AYKsolutions.com
    From Shared to Dedicated
    Professional. Painless. Polite.

  • #2
    A very good script for monitoring LSI raid and getting notifications can be found here: https://calomel.org/megacli_lsi_commands.html.
    www.AYKsolutions.com
    From Shared to Dedicated
    Professional. Painless. Polite.

    Comment

    Working...
    X