www.quest.com logo
No cats were harmed in the making of this logo
 
 
 
 
Name: bb-omsa-raid.sh
Date Modified: 2009-03-17
Sections: UNIX ext scripts, RAID
Downloads: 3475
Overall Rating:
      (2   votes)
Features:
Ease of Use:
File Size: 14,966 bytes
License: public-domain  
Description: Current version: 1.4

This is a local RAID monitoring script for Dell PowerEdge RAID Controllers (PERCs) (and also CERCs) which works in conjunction with Dell's OpenManage Server Administration (OMSA) tool called 'omreport'. It is intended as a single replacement for both Megaraid and AACRAID monitoring scripts and is the only realistic way to monitor megaraid_mm/megaraid_mbox driven PERC RAID devices under linux 2.6 kernels with the loss of "/proc/megaraid" (kernel 2.4).
Note that while the entire OMSA suite is large, you don't need to install it all to have this script work. If you download the package and untar/zip it you can simply run the installer with the "-s" option to install the base and storage components only.

Alternatively, you can go to http://linux.dell.com/wiki/index.php/Repository/OMSA where you can learn about how to install the bits of OMSA you need from Dell's repository at least for RHEL and SuSE. There are repackagings of OMSA for Debian, Ubuntu, etc. if you look hard enough.

While most servers have only one PERC in them, this script should deal with any number of Controllers, Virtual Disks and Array Disks. The syntax should be simple enough that you can add any extra tests fairly easily. To do this you should look through "/opt/dell/srvadmin/sm/mibs/dcstorag.mib" for possible values for the field you wish to monitor.

This script is known to work with OMSA versions 4.5.0, 5.0.0, 5.4.0 and 5.5.0, and the following PERC/CERC devices:
SCSI/SAS
--------
Adaptec PERC2, PERC2/Si                                      - ROMB
LSI Logic PERC2/SC, PERC2/DC, PERC2/QC                       - Add-in
Adaptec PERC3/Si, PERC3/Di                                   - ROMB
LSI Logic PERC3/SC, PERC3/DC, PERC3/DCL, PERC3/QC            - Add-in
LSI Logic PERC4/Si, PERC4/Di, PERC4/IM                       - ROMB
LSI Logic PERC4/SC, PERC4/DC, PERC4/QC                       - Add-in
LSI Logic PERC4e/Si, PERC4e/Di                               - ROMB
LSI Logic PERC4e/DC                                          - Add-in
LSI Logic PERC5/i, PERC5/iR                                  - ROMB
LSI Logic PERC5/E                                            - Add-in
LSI Logic PERC6/i, PERC6/iR                                  - ROMB
LSI Logic PERC6/E                                            - Add-in

ATA
---
LSI Logic CERC ATA 100/4ch                                   - Add-in
Adaptec CERC SATA1.5/6ch, SATA1.5/2s                         - ROMB
Please contact the author (email address in notes at top of script) with suggestions, changes, fixes or any problems.
How would you rate this?
  View All   |  Only Positive    |  Only Negative 
petery   2009-03-09 15:58:44 Works well for me
If only openmanage were as easy. Setting up the dell repositories can make installing and maintaining openmanage easier tho.
      1    2     3    4    5
Features    
Ease    
Overall    
shanepresley   2007-01-10 04:18:00 Perfect way to monitor Dell RAID
Thanks for the great script, and adding support for the new controllers!
      1    2     3    4    5
Features    
Ease    
Overall    
   
 

Designed and Hosted by Website Managers