Help - Search - Members - Calendar
Full Version: Setting up RAID Monitoring for Monster servers
The Planet Forums > Operating Systems > Red Hat Linux > Red Hat HOWTOs
Insyder
For the lucky few who have the new Monster servers, you are more then likely running some form of RAID on those 10 hard drives. Below is a howto for installing megamon and setting up notification.

##############################
mkdir /root/megamon/
cd /root/megamon/
wget http://ftp.us.dell.com/scsi-raid/perc-cerc...6.03-A06.tar.gz
tar xzvf perc-cerc-apps-6.03-A06.tar.gz
rpm -Uvh Megamon-4.0-0a.i386.rpm
vi /etc/megamon.conf

# add your e-mail addresses to be notified here. 1 address per line
# save and exit

/etc/rc.d/init.d/raidmon start

# add to rc.local so that it will start after a reboot
echo /etc/rc.d/init.d/raidmon start >> /etc/rc.local

##############################
You should be all set. You should also recieve the initial mailing a minute or two after starting. Enjoy!

[edit to correct bad grammar]
jbyers
There's another useful RAID diagnostic program that will monitor the server's hardware, along with the array itself - It's called "omreport" icon_biggrin.gif

mkdir /usr/local/src/dell
cd /usr/local/src/dell
QUOTE

tar -zxvf OMI-SrvAdmin-Dell-Web-LX-50_A00.tar.gz
Start installation process

***There's a caveat for RHEL x86_64 users, which requires the native 32-bit libraries installed first before installation***

Here's a quote from a member of Dell's forums:
QUOTE
"All of these RPMs that are included with the OpenManage Install (inside srvadmin/linux/RPMS/RH4_x86_64) are included on the RedHat Installation CDs. The version numbers of the RPMs may change but the actual RPMs that are needed will not change.  OMSA is still a 32Bit application so when it is  installed on a 64Bit Linux System, it is making use of all of the old 32Bit PMs/Shared object files.  So rather than looking for all of these .so files inside /usr/lib64, it is going to /usr/lib, which is where the 32Bit shared object library is located.  As you may have already noticed, there are 2 versions of each RPM available on your RedHat Installation Media.  The x86_64 version of RPM and the i386 version of the RPM.  OMSA needs the i386 version of the RPMs because that is the 32Bit version.  One way to resolve these dependencies on your own without using the RPMs that Dell includes is to find out which  RPM the 64Bit version of the .so file is using.  An example is "rpm -q l-whatprovides /usr/lib64/libglib-2.0.so.0".  This will tell you which RPM provides this shared object file.  Then try to find the i386 version of that RPM on your Linux Install Media and rpm -ivh it.


Have fun! icon_smile.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.