Installing LSI MegaRaid Storage Manager on OMV 5.3.4 (Debian 10)

  • Howdy, I thought I would document this for posterity...


    I have an old LSI (later Avago, now Broadcom) MegaRAID 9260-4i SAS controller in my system. There are a few ways to manage it and configure disks and arrays and such. The most straightforward is to boot into it's BIOS. But on Windows there is the MegaRAID storage manager (MSM) which is a much prettier graphical client, but it only easy to set up if the server is running Windows. But it is [i]also possible for a MSM client to manage cards on other server machines. LSI/Avago/Broadcom made a Linux version of MSM, but it only released RPMs for Red Hat and Suse.


    There was mention of making them work in an older thread by converting the RPMs, and it was generally regarded as a sketchy idea, but I wanted to give it a shot anyway.


    There are walkthroughs floating around the web, but many are old, and all seem to have different approaches . This one (in German) got me pointed in the right direction.


    These are the steps that worked for me on a fresh install of OMV 5.3.4 (Debian 10)


    Download two files from Broadcom's site, here's the page for the 9260-4i specifically: https://www.broadcom.com/suppo…D+SAS+9260-4i&pa=&po=&dk=


    You'll want to go to the "Management Software and Tools" and get these two files:

    • 1.23.02_StorCLI.zip
    • 17.05.00.02_Linux-64_MSM.gz

    Note that if you're operating Linux command line only, this is the first hurdle, since the download links require clicking on a disclaimer. I used the browser's debug tools to get direct links for wget:


    (probably everything needs to be done as root user or with sudo)




    next I had to install some prerequisite packages

    Code
    apt install unzip
    install alien


    here were the steps to extract and convert and install the command line tool storcli (and create a link because the install location was annoying)

    Code
    unzip 1.23.02_StorCLI.zip
    unzip storcli_All_OS.zip
    cd storcli_All_OS/Linux
    alien --scripts storcli-1.23.02-1.noarch.rpm
    dpkg --install storcli_1.23.02-2_all.deb
    ln -s /opt/MegaRAID/storcli/storcli64 /usr/local/sbin/storcli

    to do a trivial test enter "storcli show". You should get a listing of your adapters


    next up is to exract and convert and install MSM, set it to type "d" (which is "server" mode) so it doesn't try to install a local graphical client:


    also, the actual service that runs is called vivaldiframeworkd... for reasons I can't fully appreciate.

    Code
    tar xvf 17.05.00.02_Linux-64_MSM.gz
    cd disk
    alien --scripts MegaRAID_Storage_Manager-17.05.00-02.noarch.rpm
    export setuptype="d"
    export upgradesetuptype="n"
    dpkg --install megaraid-storage-manager_17.05.00-3_all.deb
    systemctl enable vivaldiframeworkd.service
    service vivaldiframeworkd start
    service vivaldiframeworkd status


    … after I got that set up, I was able to install MSM on a windows PC and configure my raid card on my OMV Linux box (I had to enter the IP address of my OMV server)

  • The hwraid repo has been building these packages for a long time. You can just add the repo and do an apt-get install. I used to maintain a plugin that used this repo.

    omv 5.5.11 usul | 64 bit | 5.4 proxmox kernel | omvextrasorg 5.3.6
    omv-extras.org plugins source code and issue tracker - github


    Please read this before posting a question.
    Please don't PM for support... Too many PMs!

  • does that repo include the stuff needed to use the megaraid storage manager?

    Did you look? I assume https://hwraid.le-vert.net/debian/pool-buster/megamgr/ is the manager.

    omv 5.5.11 usul | 64 bit | 5.4 proxmox kernel | omvextrasorg 5.3.6
    omv-extras.org plugins source code and issue tracker - github


    Please read this before posting a question.
    Please don't PM for support... Too many PMs!

  • I was about to feel pretty dumb, because I'm a noob and there's nothing on site the hw-raid site that really indicates what megamgr is for.


    when I download the .deb and look at it.. it looks like it's for older SCSSI and SATA cards from 2004.

  • okay well that makes me feel a bit validated, thanks for the insight. I realize that the command line tools can probably do everything, but I'm a noob and the GUI of the storage manager really helps visualize just what my options are.


    (and not having to reboot to bios is really nice too)

  • realize that the command line tools can probably do everything, but I'm a noob and the GUI of the storage manager really helps visualize just what my options are.

    But you shouldn't have a desktop installed on OMV...


    and not having to reboot to bios is really nice too)

    Quite sure the command line can do everything the gui can.

    omv 5.5.11 usul | 64 bit | 5.4 proxmox kernel | omvextrasorg 5.3.6
    omv-extras.org plugins source code and issue tracker - github


    Please read this before posting a question.
    Please don't PM for support... Too many PMs!

  • so after a few apt updates of Debian and OMV, the MegaRAID client on windows was hanging and not connecting.


    So I needed to download a new version data May 26 2020, ver 17.05.02.01


    here was the exact link to the exact file I used


    https://docs.broadcom.com/docs/17.05.02.01_MSM_Linux-x64.zip


    so the install steps changed slightly for the new version


    Code
    unzip 17.05.02.01_MSM_Linux-x64.zip
    tar xvf MSM_linux_x64_installer-17.05.02-01.tar.gz
    cd disk
    alien --scripts MegaRAID_Storage_Manager-17.05.02-01.noarch.rpm
    export setuptype="d"
    export upgradesetuptype="n"
    dpkg --install megaraid-storage-manager_17.05.02-2_all.deb
    systemctl enable vivaldiframeworkd.service
    service vivaldiframeworkd start
    service vivaldiframeworkd status

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!