It’s a bit of a task to find a good tutorial on how to get Dell OpenManage installed on CentOS 5. Accordingly, I’m going to include all of the steps that I’ve found work and I’ll keep it stupid simple (I know that’s what you sysadmins like!).
First things first, you’re going to want to add the Dell yum repos:
wget -q -O - http://linux.dell.com/repo/hardware/latest/bootstrap.cgi | bash
This will automagically create the proper repo files in
/etc/yum.repos.d/ for all kinds of fun Dell Linux stuff.
Next, we want to simply tell yum to install OMSA.
yum install srvadmin-all firmware-tools
Easy right? For some reason, the Dell services can be a bit of a pain to manipulate. As a CentOS administrator, you would think that the init scripts
dsm_sa_ipmi would be useful. Let me tell you right now, do NOT use these. You’ll probably end up having to reboot your machine.
In order to start, stop, restart, and check the status of your OMSA installation, use this script:
# srvadmin-services.sh status Remote Access Controller (RAC4) is stopped [ OK ] dell_rbu (module) is running ipmi driver is running dsm_sa_datamgrd (pid 3116) is running dsm_sa_eventmgrd (pid 3238) is running dsm_om_shrsvcd (pid 2744) is running dsm_om_connsvcd (pid 3268 3267) is running
If your install hasn’t added the script path to your environment, you can run the script directly from
Another cool thing about the Dell repositories is the ability to update your firmware at the OS without having to go, find, and download the files individually. I ran into some troubles with my CentOS environment when going through the tutorial on the Dell linux site, so here’s how I did it.
You may be able to run the install the normal way by doing this:
yum install $(bootstrap_firmware)
If that gives you troubles, simply run this instead:
yum install $(/usr/sbin/bootstrap_firmware)
Sometimes CentOS won’t put the /usr/sbin directory into your PATH variable. To fix this, add the following to the end of your PATH variable in ~/.bash_profile:
Don’t forget the colon at the beginning! For the change to take effect, you’ll have to logout and log back in to your shell. Following the installation of your firmware, you’ll have to actually run the updates using a dell provided script.
Providing that you have added
/usr/sbin to your PATH, you should have no problem running this now :).