Thursday, January 31, 2008

Dell Server OMSA Reporting

I used to think that Dell OpenManage Server Administrator (OMSA) was worthless. I was wrong. I apologize.

I've found for me it's the best way to do actual hardware monitoring. Although there are probably "Official Dell Best Practices" on using and implementing OMSA, I've just gone and installed it and then accessed the machine via my web browser (https://hostname:1311). However, today I found you can actually get some good stuff via the command line using "omreport". Dell's command line documentation for it is located at

http://support.dell.com/support/edocs/software/svradmin/5.2/en/cli/html/report.htm#wp1068065

For instance, I can find out really quick what the status is of my hardware, except for disk/storage related hardware.

# /opt/dell/srvadmin/oma/bin/omreport chassis
Health

Main System Chassis

SEVERITY : COMPONENT
Ok : Fans
Ok : Intrusion
Ok : Memory
Ok : Power Supplies
Ok : Processors
Ok : Temperatures
Ok : Voltages
Ok : Hardware Log

Also, someone wrote a nagios plugin that executes this as well.

http://www.nagiosexchange.org/DELL_Server.61.0.html?&tx_netnagext_pi1%5Bp_view%5D=432

To check storage related, you can run the following command.

# /opt/dell/srvadmin/oma/bin/omreport storage pdisk controller=0
List of Physical Disks on Controller PERC 4e/Di (Embedded)

Controller PERC 4e/Di (Embedded)
ID : 0:0
Status : Ok
Name : Physical Disk 0:0
State : Online
Failure Predicted : No
Progress : Not Applicable
Type : SCSI
Capacity : 68.24 GB (73274490880 bytes)
Used RAID Disk Space : 68.24 GB (73274490880 bytes)
Available RAID Disk Space : 0.00 GB (0 bytes)
Hot Spare : No
Vendor ID : FUJITSU
Product ID : MAW3073NC
Revision : 5803
Serial No. : DAL3P6200PR8
Negotiated Speed : 320
Capable Speed : 320
Manufacture Day : Not Available
Manufacture Week : Not Available
Manufacture Year : Not Available
SAS Address : Not Available

ID : 0:1
Status : Ok
Name : Physical Disk 0:1
State : Online
Failure Predicted : No
Progress : Not Applicable
Type : SCSI
Capacity : 68.24 GB (73274490880 bytes)
Used RAID Disk Space : 68.24 GB (73274490880 bytes)
Available RAID Disk Space : 0.00 GB (0 bytes)
Hot Spare : No
Vendor ID : FUJITSU
Product ID : MAW3073NC
Revision : 5803
Serial No. : DAL3P6200PK3
Negotiated Speed : Not Available
Capable Speed : Not Available
Manufacture Day : Not Available
Manufacture Week : Not Available
Manufacture Year : Not Available
SAS Address : Not Available

My Controller ID is 0. This can be found by running "omreport storage controller". Storage commands can be found on

http://support.dell.com/support/edocs/software/svradmin/5.2/en/cli/html/storage.htm#wp1082304


3 comments:

CiscoServerGeek said...

I don't know if I can accept your apology on behalf of all of Dell :-) ... but I'm glad you're finding some use of OMSA.

I'm part of the Dell TechCenter Community .. http://www.delltechcenter.com , and we've been building it for roughly the past year around enterprise class solutions (servers, storage, management, etc.)

Came across your blog post and we would like to add it as part of a new Community Spotlight section on our wiki --> http://www.delltechcenter.com/page/Community+Spotlight

Hopefully you won't mind and thanks for posting your experiences !

- Scott

¯`·.¸.×±ËÑ Ð©×.¸.·´¯ said...

This helped me out today, thanks for posting! I was always using X forwarding and the Dell web page interface, this is much better for generating reports!!

Nathan said...

OMSA plus Nagios is a wonderful, wonderful combination. We can instantly see the hardware status of 30 servers without logging into each one.