Wednesday, August 27, 2008

Installing Dell OMSA and SNMP in Ubuntu 8.04 on PowerEdge R200

This is going to be a simple step by step as I go.

Go!

1) Become root:

sudo su
.

2) Edit /etc/apt/sources.list to include the following line:

deb ftp://ftp.sara.nl/pub/sara-omsa dell sara


This is an unsupported repository that has the dellomsa package.

3) apt-get update

4) Install snmp daemon and tools:

apt-get install snmp snmpd


5) Install openipmi service (I'm not sure if this is necessary, I had already installed it):

apt-get install openipmi

6) Install OMSA:

apt-get install dellomsa

7) Enable snmp in OMSA. Note: this will automagically make changes to your snmpd configuration.

/etc/init.d/dataeng enablesnmp

8) /etc/init.d/dataeng restart

9) Verify that you can connect to http://YOUR_IP:1311 . You should be able to login with a local system user.

10) IF YOU HAVE AN SAS6IR CONTROLLER DO THE FOLLOWING

10.1) Install mptctl driver:

modprobe mptctl

10.2) To load the driver at boot, edit /etc/modules and add the line:

mptctl

10.3) Initialize new driver with OMSA (or something like that):

/etc/init.d/instsvcdrv restart

10.4) Reconnect to https://YOUR_IP:1311 and verify that you can see your storage subsystem.

11) Ease up snmpd security so that you can actually use it.

Edit /etc/snmp/snmpd.conf and change:

com2sec paranoid default public

to:

com2sec readonly default public

12) Now we have to make some changes to the way Ubuntu starts snmpd. Edit /etc/default/snmpd and change:

SNMPDOPTS='-Lsd -Lf /dev/null -u snmp -I -smux -p /var/run/snmpd.pid 127.0.0.1'

to

SNMPDOPTS='-Lsd -Lf /dev/null -u snmp -p /var/run/snmpd.pid '

I don't know why removing the smux stuff works, but it's necessary. Removing the localhost IP address will allow snmpd to bind automatically to all interfaces. If you don't remove 127.0.0.1, you'll only be able to talk to snmpd from the local machine.

13) /etc/init.d/snmpd restart

14) /etc/init.d/dataeng restart

15) Verify that the following command spits out a whole bunch of stuff:

snmpwalk -OS -v 1 -c public localhost .1.3.6.1.4.1.674.10892.1

These should all be Dell-specific.

16) Verify that you can perform the same query from a remote machine (change localhost to the IP of the server we're setting up). Check firewall settings (UDP 161)!

17) Configure the system to start the OMSA web service when the system boots:

update-rc.d dsm_om_connsvc defaults

18) User management.

It appears as though OMSA wants you to login to the GUI via root to become OMSA Admin. To enable your root account in Ubuntu you have to do a sudo passwd root and give root a password. To disable the root account later, do a sudo passwd -l root .

To make a user a "Power User" in OMSA, you have to add them to the root group.


7 comments:

TimL said...

Thanks for these instructions - very useful!

One thing to note is that if you are running 64-bit Ubuntu, the OMSA web interface won't allow you to log in due to not working with 64-bit pam modules. The following thread solves this though: http://ubuntuforums.org/showpost.php?p=4942575&postcount=6

ShadowStalker said...

This is fixed in v5.5.0

Anonymous said...

It is certainly interesting for me to read that post. Thank you for it. I like such topics and everything that is connected to this matter. I would like to read a bit more soon.

Anonymous said...

It is certainly interesting for me to read this blog. Thanks for it. I like such topics and everything connected to them. I would like to read more on that blog soon.

Anonymous said...

Good day !.
might , probably very interested to know how one can manage to receive high yields .
There is no need to invest much at first. You may commense to get income with as small sum of money as 20-100 dollars.

AimTrust is what you need
AimTrust represents an offshore structure with advanced asset management technologies in production and delivery of pipes for oil and gas.

Its head office is in Panama with offices everywhere: In USA, Canada, Cyprus.
Do you want to become really rich in short time?
That`s your choice That`s what you really need!

I feel good, I began to take up real money with the help of this company,
and I invite you to do the same. It`s all about how to select a proper companion who uses your funds in a right way - that`s AimTrust!.
I take now up to 2G every day, and my first investment was 500 dollars only!
It`s easy to join , just click this link http://okurymer.dreamstation.com/ilywizih.html
and go! Let`s take this option together to become rich

Anonymous said...

Good day !.
You may , probably very interested to know how one can make real money .
There is no initial capital needed You may commense to receive yields with as small sum of money as 20-100 dollars.

AimTrust is what you haven`t ever dreamt of such a chance to become rich
AimTrust incorporates an offshore structure with advanced asset management technologies in production and delivery of pipes for oil and gas.

It is based in Panama with affiliates everywhere: In USA, Canada, Cyprus.
Do you want to become a happy investor?
That`s your chance That`s what you really need!

I feel good, I began to take up real money with the help of this company,
and I invite you to do the same. If it gets down to choose a correct companion who uses your funds in a right way - that`s the AimTrust!.
I take now up to 2G every day, and what I started with was a funny sum of 500 bucks!
It`s easy to join , just click this link http://ekecujas.freewaywebhost.com/izypygeq.html
and go! Let`s take our chance together to feel the smell of real money

Anonymous said...

Can anyone recommend the best Script Deployment system for a small IT service company like mine? Does anyone use Kaseya.com or GFI.com? How do they compare to these guys I found recently: N-able N-central network software monitoring
? What is your best take in cost vs performance among those three? I need a good advice please... Thanks in advance!

Blog Archive