Install Dell Open Manage on XEN
I am doing some funky stuff with Nagios monitoring XEN servers and part of that is a template that will monitor the DELL hardware through open manage (Fans, RAID, PSU, Temperature).
There wasn’t alot of great info on just how you install this properly so here it is.
I followed the guide HERE to install Dell OpenManage Server Admistrator (OMSA), hardware management tools such as RAID manager (omconfig), and to be able to upgrade the BIOS/firmware on the XenServer host hardware from the XEN console. Updating the firmware from the console is so much easier since you can retrieve the packages from DELL via the internet and just install them right in the console rather than messing about with burning disks or usb sticks or having to run through the clunky DRAC console to update the firmware.
If you run into problems installing # yum install srvadmin-all , use the following to fix:
Open /etc/yum.repos.d/CentOS-Base.repo and
Add enabled=1 at the end of Base & Updates config; just compare the below with your file.
[base]
name=CentOS-$releasever - Base
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os
#baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
exclude=kernel-xen*, *xen*
enabled=1#released updates
[updates]
name=CentOS-$releasever - Updates
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates
#baseurl=http://mirror.centos.org/centos/$releasever/updates/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
exclude=kernel-xen*, *xen*
enabled=1
Now run yum clean all
and proceed from yum install srvadmin-all
Also they neglect to tell you to enable and start the services for this to all work:
# /opt/dell/srvadmin/sbin/srvadmin-services.sh status
# /opt/dell/srvadmin/sbin/srvadmin-services.sh enable
# /opt/dell/srvadmin/sbin/srvadmin-services.sh start
You can access the interface from https://host.ip:1311
I have firewalls enabled on XEN which I’m pretty sure is the default so I couldn’t access the OpenManage web interface.
I had to add some iptables rules.
in /etc/sysconfig/iptables
I had to add the following so I could connect to it from my LAN:
Under :INPUT ACCEPT [0:0]
# Dell OpenManage Rules
-A INPUT -p tcp -m tcp—sport 1024:65535—dport 1311 -m state—state NEW -j ACCEPT
-A INPUT -p tcp -m tcp—sport 1024:65535—dport 1311 -j ACCEPT
-A INPUT -p udp—dport 161 -j ACCEPT
Restart iptables
/etc/init.d/iptables restart
If you are doing this for nagios and are polling snmp, modify the snmp on XEN
Edit the following file:
/etc/snmp/snmpd.conf
change com2sec notConfigUser default public
Change out public with your secret
then service snmpd restart
Done!
If you know your way around the XEN console, here are the cliff notes of those articles:
Grab the omsa 6.5 install from the dell repo:
wget -q -O - http://linux.dell.com/repo/hardware/OMSA_6.5/bootstrap.cgi | bash
Fix repositories so you can yum some additional packages
Open /etc/yum.repos.d/CentOS-Base.repo and add enabled=1 at the end of Base & Update config
Install srvadmin-all
yum install srvadmin-all
Enable and start the services:
# /opt/dell/srvadmin/sbin/srvadmin-services.sh status
# /opt/dell/srvadmin/sbin/srvadmin-services.sh enable
# /opt/dell/srvadmin/sbin/srvadmin-services.sh start
Poke some holes in IPTABLEs to expose the nonstandard port of the web interface
in /etc/sysconfig/iptables
-A INPUT -p tcp -m tcp—sport 1024:65535—dport 1311 -m state—state NEW -j ACCEPT
-A INPUT -p tcp -m tcp—sport 1024:65535—dport 1311 -j ACCEPT
-A INPUT -p udp—dport 161 -j ACCEPT
Restart iptables
/etc/init.d/iptables restart
/etc/snmp/snmpd.conf
If you are doing this for nagios and are polling snmp, modify the snmp on XEN
Modify: /etc/snmp/snmpd.conf
change com2sec notConfigUser default public
Change out public with your secret
then service snmpd restart
You can access the interface from https://host.ip:1311
If you need to do Firmware upgrades, follow the commands on the Dell OMSA article
Permalink