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.
Showing posts with label OMSA. Show all posts
Showing posts with label OMSA. Show all posts
Wednesday, August 27, 2008
Installing Dell OMSA and SNMP in Ubuntu 8.04 on PowerEdge R200
Subscribe to:
Posts (Atom)