Install Dell OpenManage 6.1 / omsa / omreport into Citrix XenServer dom0

UPDATE 17/06/2010: Please also see the comment from David below and blog post about Dells supplemental package for XenServer 5.6 which may be a better method.

A quick guide to getting openmanage installed for RAID monitoring on a Xen node.

OM 6.2 has an error with “Error: Missing Dependency: libxslt.so.1″ which is with the Dell package.

***Use 6.1 if 6.2 doesn’t work for you (R710 for example)***
***UPDATE~***: As pointed out by digibyte in the comments, you may be able to use 6.2 by installing:

wget http://mirror.centos.org/centos-5/5/os/i386/CentOS/libxslt-1.1.17-2.el5_2.2.i386.rpm
rpm -Uvh libxslt-1.1.17-2.el5_2.2.i386.rpm

1. wget -q -O – http://linux.dell.com/repo/hardware/OMSA_6.1/bootstrap.cgi | bash
2. yum install srvadmin-storage.i386
3. srvadmin-services.sh start

Now test:
omreport storage pdisk controller=0

Sending an email on degraded RAID using omreport:

1. wget ftp://ftp.pbone.net/mirror/archive.fedoraproject.org/fedora/linux/releases/8/Fedora/i386/os/Packages/mailx-8.1.1-46.fc7.i386.rpm
2. rpm -Uv mailx-8.1.1-46.fc7.i386.rpm
3. mkdir /root/scripts/
4. vi /root/scripts/check.raid.sh

#!/bin/sh
rm /tmp/check.raid.txt
omreport storage pdisk controller=0 | grep State | grep -v Online > /tmp/check.raid.txt
FILESIZE=$(stat -c%s "/tmp/check.raid.txt")
if [ $FILESIZE != 0 ];
then
	omreport storage pdisk controller=0 > /tmp/check.raid.txt
	cat /tmp/check.raid.txt | mail -s 'check RAID on XENxx' some@maildomain.ext
	echo "RAID - FAIL (mail sent)"
else
	echo "RAID - OK"
fi

5. chmod +x /root/scripts/check.raid.sh
6. crontab -e
*/5 * * * * /root/scripts/check.raid.sh >/dev/null 2>&1

7. Test /root/scripts/check.raid.sh

rpm -Uvh
This entry was posted in geek, servers & tech. Bookmark the permalink. Post a comment or leave a trackback: Trackback URL.

4 Comments

  1. digibyte
    Posted April 23, 2010 at 7:43 pm | Permalink

    If you install OpenManage 6.2, you receive this error (as you mentioned in your article: Error: Missing Dependency: libxslt.so.1

    To solve this problem execute the following line:
    rpm -Uvh http://mirror.centos.org/centos-5/5/os/i386/CentOS/libxslt-1.1.17-2.el5_2.2.i386.rpm

  2. Carl
    Posted April 23, 2010 at 8:08 pm | Permalink

    Thanks!

    Assumed it was something I could work around, but found this first http://lists.us.dell.com/pipermail/linux-poweredge/2009-December/040872.html

    I have updated the post.

  3. Posted July 14, 2010 at 6:19 pm | Permalink

    Now that XenServer 5.6 has been released, it allows you to add more supplmental packs during install (so it makes installing OpenManage just as easy as installing the Linux Templates). To get the Supplmental Pack go here, the FTP Link is documented:

    http://www.stricklandnetworks.com/blog/2010/07/14/DellAndXenServer-SoHappyTogether.xhtml

    To access openmanage after install, goto (just an example) https://myxenservername01:1311
    You will have to use XenServer 5.6.

  4. Carl
    Posted July 17, 2010 at 12:54 pm | Permalink

    Thanks for that David, will check it out.

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>