Fork me on GitHub

You are here

Monitoring Dell Powervaults on Debian

At work we purchased two Dell Powervaults MD3200.  To configure them you need to install the management software.  Like always the software is only supported on Windows, Redhat Enterprise Linux or Suse enterprise Linux.  The management software is in fact written in Java.

Below I document how to install the management software on a Debian Squeeze machine. I based my work on the a howto by Laurent Coustet

  • Download the cdrom with the powervault software from the Dell support site.
  • Mount the iso file
    mount -o loop ~rgevaert/Downloads/Dell_MD32xx_RDVD_1.2.0.16_A05_R300052.iso /mnt
  • Copy 'linux/mdsm/SMIA-LINUX-10[1].75.A6.16.bin' to the machine where you will build your Debian packages.
  • Execute the bin file.
    ./SMIA-LINUX-10\[1\].75.A6.16.bin -i console
    Note that, if you enabled X forwarding when you did the SSH the installer will start a graphical installer, even with the '-i' option...
  • Answer the questions, but don't install in the default location. E.g. choose '/opt/dell_installer/mdstoragemanager'.  Also install the full bundle: Typical (Full Installation)
  • In '/opt/dell_installer/mdstoragemanager’ you will find several rpm files: SMagent.rpm, SMclient.rpm, SMruntime.rpm, SMutil.rpm.
  • Use alien to unpack the rpm packages. SMclient.rpm is an architecture independent rpm, the others are actually 32bit rpms. Because some of the package are 32bit and I'm running on a 64 bit system I can't directly convert to a deb package.  Also, the files in the rpms have some problems we need to fix them before creating the deb package.
  • Conversion of SMclient.rpm to debian package
    alien -g SMclient.rpm
    cd SMclient-10.75.G6.16
    echo "BASEDIR=/opt/dell/mdstoragemanager" > var/opt/SM/LAUNCHER_ENV
    sed -i 's,^source,.,' opt/dell/mdstoragemanager/client/SMclient opt/dell/mdstoragemanager/client/SMcli opt/dell/mdstoragemanager/client/SMmonitor
    sed -i 's,smclient$,smclient-dell,' debian/control
    sed -i 's|Depends.*|Depends: ia32-sun-java6-bin, x11-utils, xauth|' debian/control
    sed -i 's,^smclient,smclient-dell,' debian/changelog
    ln -s /usr/lib/jvm/ia32-java-6-sun-1.6.0.26 opt/dell/mdstoragemanager/jre
    dpkg-buildpackage -b
  • Conversion of SMutil.rpm to debian package
    alien -g SMutil.rpm
    cd SMutil-10.01.A6.04
    sed -i 's,^source,.,' opt/dell/mdstoragemanager/util/SMdevices
    sed -i 's,smutil$,smutil-dell,' debian/control
    sed -i 's|Depends.*|Depends: ia32-sun-java6-bin|' debian/control
    sed -i 's,^smutil,smutil-dell,' debian/changelog
    sed -i 's,^Architecture: i386,Architecture: amd64,' debian/control
  • Conversion of SMagent.rpm to debian package
    alien -g SMagent.rpm
    cd SMagent-10.02.A6.09
    sed -i 's,^source,.,' opt/dell/mdstoragemanager/agent/SMagent
    sed -i 's,smagent$,smagent-dell,' debian/control
    sed -i 's|Depends.*|Depends: ia32-sun-java6-bin|' debian/control
    sed -i 's,^smagent,smagent-dell,' debian/changelog
    sed -i 's,^Architecture: i386,Architecture: amd64,' debian/control
    dpkg-buildpackage -b

With the sed commands above we change the package name to 'package-dell'.  Why?  Incidentally, we are also using IBM DS3400 at work.  To configure them, you also need the same software, but it's branded just a little different.  The software also uses 'source <file>'.  Because Debian comes with the dash shell this won't work.  The scripts say they are using '/bin/sh'. however 'source' builtin is a bashism. Use '.' instead.  We also install the 32bit java of sun because the jar files in Smutil and SMagent depend on 32bit java.  If you only install SMclient you can get away with 'openjdk-6-jre'.  But because there are now native 32bit packages for openjdk-6 on 64bit, you need to install the ones from Oracle.

When you've built the deb package you can just install them with dpkg -i.  To start Smclient do the following

ssh -X root@ /opt/dell/mdstoragemanager/client/SMclient

Comments

Thank you for sharing your info. I truly appreciate your efforts and I am waiting for your further
post thanks once again.

Ik wou graag even de tijd nemen om je te bedanken voor dit geweldige blog bericht.
Ik was zo door je artikel heen. Schrijf je vaker artikelen over dit onderwerp?
Ik wil meer. Link maar zo veel mogelijk door naar me.
Ik ben zelf ook een blogger dus als iemand zin heeft om op mijn blogs te kijken en daar ook een bericht te schrijven dan stel ik
dat zeer op prijs. Ik heb als doel om een zo breed mogelijk
publiek te hebben. Dus als je nog tips hebt voor een beginnende blogger, kom dan eens langs op mijn blog.

It's actually very complex in this busy life to listen news on TV,
so I simply use the web for that purpose, and take the most recent information.

Yes! Finally something about rotating ip proxy service.

Your style is really unique in comparison to
other people I have read stuff from. Thank you
for posting when you have the opportunity, Guess I will just book mark
this blog.

Great beat ! I wish to apprentice at the same time as you amend your website, how could i subscribe for a weblog site?

The account aided me a appropriate deal. I had
been tiny bit acquainted of this your broadcast offered shiny clear idea

My programmer is trying to persuade me to move to .net from PHP.
I have always disliked the idea because of the expenses.
But he's tryiong none the less. I've been using WordPress on a variety of
websites for about a year and am anxious about switching to another platform.
I have heard fantastic things about blogengine.net.Is thedre a way
I can transfer all my wordpress posts into it? Any kind
of help would be really appreciated!

Hey! Someone in my Facebook group shared this site with us so I came to
take a look. I'm definitely loving the information. I'm bookmarking and will be
tweeting this to my followers! Exceptional blog and terrific style and
design.

nón len thời trang xu hướng mới nhất hiện nay khi mà bạn cần thực
sự yêu thích những chiếc khăn len tốt nhất

все о сео тут
http://www.maultalk.com/

Hello, i think that i saw you visited my web site so i
came to “return the favor”.I am attempting to
find things to enhance my website!I suppose its ok to use some of your
ideas!!

Pages

Add new comment