Page 1 of 4 123 ... LastLast
Results 1 to 10 of 35

Thread: dell perc 5/i - megaraid storage manager

  1. #1
    Join Date
    May 2008
    Beans
    4

    dell perc 5/i - megaraid storage manager

    Has anyone managed to install megaraid storage manager (it's a monitoring tool from lsi logic for their raid controllers) to ubuntu(any version)?

    I have a dell perc 5/i (ubuntu 8.04) and I'm trying to install MegaCli and MegaRaid Storage Manager. MegaCli comes with rpm format, which I converted to deb using alien and installed successfully.

    Now I'm trying to install MegaRaid Storage Manager which comes in a tar.gz. It contains a bunch of scripts and a bunch of rpms. Here is a ls :
    deleteOldVersion.sh readme.txt
    install.sh RunRPM.sh
    libstdc++34-3.4.0-1.i386.rpm sas_ir_snmp-3.13-0005.i386.rpm
    LSI-AdapterSASIR.mib sas_snmp-3.13-0004.i386.rpm
    LSI-AdapterSAS.mib ServerInstall.sh
    MegaRAID_Storage_Manager-2.35-01.noarch.rpm

    I converted MegaRAID_Storage_Manager-2.35-01.noarch.rpm, sas_ir_snmp-3.13-0005.i386.rpm, sas_snmp-3.13-0004.i386.rpm successfully using alien, but I can't convert libstdc++34-3.4.0-1.i386.rpm successfully.
    Any ideas??

  2. #2
    Join Date
    May 2008
    Beans
    4

    Re: dell perc 5/i - megaraid storage manager

    Anyone?

  3. #3
    Join Date
    Dec 2005
    Location
    Vancouver, BC
    Beans
    283
    Distro
    Hardy Heron (Ubuntu Development)

    Re: dell perc 5/i - megaraid storage manager

    Sorry I cant help with this, however maybe you can help me.. I am purchasing a handful of Dell 2950 series servers. They come with the perc 5/i or perc 6/i raid controller. After searching around the forums I have found a few instances of people saying they had a bit of trouble getting things working out of the box(this is ubuntu 6.06)

    reference:
    http://ubuntuforums.org/showthread.php?t=226114
    http://ubuntuforums.org/showthread.php?t=226114&page=3

    granted this was for a older version of ubuntu, and I will be installing 8.04 on these servers.. can you shed a bit more light on your current experience?

  4. #4
    Join Date
    Dec 2005
    Location
    Vancouver, BC
    Beans
    283
    Distro
    Hardy Heron (Ubuntu Development)

    Re: dell perc 5/i - megaraid storage manager

    btw.. libstdc is in the repositories.. if you install via apt-get/synaptic you should be able to point mega raid in the right direction during compilation

    $ aptitude search stdc
    p lib64stdc++6 - The GNU Standard C++ Library v3 (64bit)
    p lib64stdc++6-4.1-dbg - The GNU Standard C++ Library v3 (debugging files)
    p lib64stdc++6-4.2-dbg - The GNU Standard C++ Library v3 (debugging files)
    v libstdc++-dev -
    i libstdc++5 - The GNU Standard C++ Library v3
    p libstdc++5-3.3-dbg - The GNU Standard C++ Library v3 (debugging files)
    p libstdc++5-3.3-dev - The GNU Standard C++ Library v3 (development files)
    p libstdc++5-3.3-doc - The GNU Standard C++ Library v3 (documentation files)
    p libstdc++5-3.3-pic - The GNU Standard C++ Library v3 (shared library subset kit)
    i libstdc++6 - The GNU Standard C++ Library v3
    p libstdc++6-4.1-dbg - The GNU Standard C++ Library v3 (debugging files)
    p libstdc++6-4.1-dev - The GNU Standard C++ Library v3 (development files)
    p libstdc++6-4.1-doc - The GNU Standard C++ Library v3 (documentation files)
    p libstdc++6-4.1-pic - The GNU Standard C++ Library v3 (shared library subset kit)
    p libstdc++6-4.2-dbg - The GNU Standard C++ Library v3 (debugging files)
    i A libstdc++6-4.2-dev - The GNU Standard C++ Library v3 (development files)
    p libstdc++6-4.2-doc - The GNU Standard C++ Library v3 (documentation files)
    p libstdc++6-4.2-pic - The GNU Standard C++ Library v3 (shared library subset kit)
    p libstdc++6-dbg - The GNU Standard C++ Library v3 (debugging files)
    p libstdc++6-dev - The GNU Standard C++ Library v3 (development files)
    p libstdc++6-doc - The GNU Standard C++ Library v3 (documentation files)
    p libstdc++6-pic - The GNU Standard C++ Library v3 (shared library subset kit)

  5. #5
    Join Date
    May 2008
    Beans
    4

    Re: dell perc 5/i - megaraid storage manager

    Yes of course I can help you..
    Basically I don't have a dell server(2950 etc). I only have dell perc 5/i integrated controller. I purchased it so I can build my own nas server. I installed 8.04 server edition on my box. The card is properly recognized out of the box by the operating system(ubuntu), with the megaraid driver.

    The problem is that I want to find a way to monitor the card, so I can do further operations(check consistency, patrol read, rebuild array, etc..). There are 4 options I found so far for monitoring the card, which are :

    1)MegaCli : Command-line utility provided by Lsi Logic. I managed to convert the rpm that Lsi provides from their website to deb using alien and installed it successfully. However I didn't manage to make MegaCli see my card. I'm working on that..

    2)MegaRAID Storage Manager: Application with gui provided by Lsi Logic. I didn't manage to install this succefully on ubuntu 8.04

    3)Omsa: Monitoring tools from Dell for their servers. I installed these from some instructions I found on linux.dell.com, but it didn't helped me much

    4)Megactl: Is an open source project for lsi's cards, similar to MegaCli, but with fewer options. I installed this successfully and I made it recognize my card. It works so far

    But because I don't feel that comfortable with megactl(which the only I managed to work properly), I installed winxp on another partition just for the monitoring tools(MegaRAID Storage Manager)

    Hope that helps


    I installed both libstdc++6 and 5, but it didn't help

  6. #6
    Join Date
    Mar 2007
    Location
    Aarhus, Denmark
    Beans
    18
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: dell perc 5/i - megaraid storage manager

    Hi
    I'm looking into buying a Dell Perc 5/i controller for nas, and I was wondering if the controller supports spindown (and maybe staggered spindown?), where the raid is powered off when inactive? I see, you have trouble controlling the controller from the OS - However I assume that BIOS setup is still possible with the unit?! Thanks in advance.

  7. #7
    Join Date
    Nov 2007
    Beans
    8

    Re: dell perc 5/i - megaraid storage manager

    So I just figured out how to get MegaRAID storage manager running on Hardy and it seems to work fairly well, so I figured I'd share what I did.

    First, convert MegaRAID storage manager RPM to a deb package using alien. Make sure you include the script switch like so:

    sudo apt-get install alien (if you don't already have it)
    sudo alien --script MegaRAID_Storage_Manager-2.35-01.noarch.rpm

    Next, install the resulting deb package using your preferred method.

    sudo dpkg -i megaraid-storage-manager_2.35-2_all.deb

    Next, you're going to need to edit the UI startup script, but first make it editable:

    sudo chmod 755 /usr/local/MegaRAID Storage Manager/startupui.sh

    You're going to need to edit it for two things: first you need to add a line to change to the MSM directory, and second you need to change the jre directory to call the system's currently (or not yet) installed jre. Your startup script should look like this:

    Code:
    . /etc/init.d/msm_profile
    cd "/usr/local/MegaRAID Storage Manager/"
    /usr/bin/java -Duser.country=US -Duser.language=en -classpath .:GUI.jar:monitorgui.jar:DebugLog.jar GUI.VivaldiStartupDialog ajsgyqkj=71244
    Next you need to grab a proper jre as the jre included with MSM doesn't work on Hardy.

    apt-get install sun-java6-jre

    Finally, run the startupui.sh script and it should work.

    If you get errors in the terminal about not being able to connect to your address, you'll need to start a couple daemons like so:

    sudo /etc/init.d/vivaldiframeworkd start
    sudo /etc/init.d/mrmonitor start

    Also, I almost forgot to mention - In order to login, you'll need to enable root access. This is kind of a pain and doesn't make me terribly happy, but I haven't yet figured out how to enable other users to connect with full permissions.

    Hope this helps anyone else who needs it.
    Last edited by limaxray; December 8th, 2008 at 08:06 PM.

  8. #8
    Join Date
    Apr 2007
    Beans
    26

    Re: dell perc 5/i - megaraid storage manager

    hey guys, sorry i cant really contribute to the OPs question, but i had some questions regarding perc 5i. i posted it here:
    http://ubuntuforums.org/showthread.p...highlight=perc

    also, i spent about 3 hours trying to get dell's omsa working but was not able to get it working. i am running ubuntu 9.04 alpha 5. could it be because maybe my motherboard doesn't support IPMI? chipset is nforce 730i.

  9. #9
    Join Date
    Oct 2009
    Beans
    2

    Re: dell perc 5/i - megaraid storage manager

    Hey,

    it was possible for me to install the msm. But I have a problem to start it. Can someone help me with the starting script?

    Code:
    root@Horst:~/MSM/disk# /etc/init.d/vivaldiframeworkd start
    /etc/init.d/vivaldiframeworkd: 18: Syntax error: Bad for loop variable
    here my insallation instructions:

    Code:
    wget http://www.lsi.com/DistributionSystem/AssetDocument/2.91-03_Linux_MSM.zip
    
    aptitude install unzip
    
    aptitude install alien
    
    aptitude (libstdc++6-4.3-dev installieren)
    
    unzip 2.91-03_Linux_MSM.zip
    
    cd MSM/
    
    tar -xzvf MSM_linux_installer-2.91-03.tar.gz
    
    cd disk/
    
    alien --script MegaRAID_Storage_Manager-2.91-03.noarch.rpm
    
    dpkg -i megaraid-storage-manager_2.91-4_all.deb
    
    update-rc.d vivaldiframeworkd defaults
    
    update-rc.d mrmonitor defaults
    here you can see the /etc/init.d/vivaldiframeworkd:

    Code:
    #!/bin/sh
    #description: Framework serice startup/shutdown script
    
    #Function to check status of Framework service
    check_status() {
    x=`ps -ef|grep java|grep Framework.jar`
    if [ "$x" = "" ] ; then
            return 3;
    fi
    return 0
    }
    
    #Function to start Framework service
    start() {
    \rm -f /tmp/network_present
    . /etc/init.d/msm_profile
    network_flag=0
    for (( i=0; i < 20; i++ ))
    do
    if [ -f "$MSM_HOME/Framework/TestNetworkCapability.class" ]
    then
    echo "$MSM_PRODUCT with Network Capability">>/dev/null
    "$MSM_HOME/jre/bin/java" -classpath "$MSM_HOME/jre/lib/rt.jar:$MSM_HOME/Framework" TestNetworkCapability
    if [ -f /tmp/network_present ]
    then
    network_flag=1
    i=21
    \rm -f /tmp/network_present
    else
    sleep 5
    fi
    else
    echo "$MSM_PRODUCT without Network Capability">>/dev/null
    network_flag=1
    i=21
    fi
    done
    if [ $network_flag -eq 1 ]
    then
    echo "Trying to start Framework.....">>/dev/null
    else
    echo "$MSM_PRODUCT failed to start Framework..... Check your Network">>/dev/null
    echo "Trying to start Framework without Network Capability.....">>/dev/null
    fi
    sh "$MSM_HOME/Framework/startup.sh" >> /dev/null 2>>/dev/null &
    }
    
    #function to stop Framework Service
    stop() {
    . /etc/init.d/msm_profile
    sh "$MSM_HOME/Framework/shutdown.sh" >> /dev/null &
    }
    
    case "$1" in
            start)
                    check_status
                    status=$?
                    if [ $status = 0 ]; then
                            echo "Framework is already running....."
                    else
                            echo "Starting Framework: "
                            start
                    fi
                    ;;
            stop)
                    check_status
                    status=$?
                    if [ $status = 3 ]; then
                            echo "Framework is already stopped....."
                    else
                            echo "Shutting down Framework: "
                            stop
                    fi
                    ;;
            restart|reload)
                    $0 stop
                    sleep 20
                    $0 start
                    ;;
            status)
                    check_status
                    RETVAL=$?
                    if [ $RETVAL = 0 ]; then
                            echo "Framework is running..."
                    else
                            if [ $RETVAL = 3 ]; then
                                    echo "Framework is stopped..."
                            else
                                    echo "Framework status unknown..."
                            fi
                    fi
                    ;;
            *)
                    echo "Usage: $0 {start|stop|restart|status}"
                    exit 1
    esac
    exit $RETVAL

  10. #10
    Join Date
    Apr 2007
    Beans
    26

    Re: dell perc 5/i - megaraid storage manager

    try this:

    backup your /etc/init.d/vivaldiframeworkd script first. then edit it as root and replace line 18:

    Code:
    for (( i=0; i < 20; i++ ))
    with this:

    Code:
    for i in `seq 0 19`
    that should get around the bad for loop variable error. i think the error is because /bin/sh is actually dash
    Last edited by fadetoblack82; October 5th, 2009 at 08:02 PM.

Page 1 of 4 123 ... LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •