Tool

bdgreen's picture
tool
Reads:

8505

Score:
4
4
4
 
Comments:

0

Automated eDirectory Basic Health Check

Author Info

20 June 2008 - 10:20am
Submitted by: bdgreen

(View Disclaimer)

license: 
None

This script automates the eDirectory Basic Health Check on OES Linux. It runs a timesync check, replica synchronization status, and an external reference check (checking for stuck obits). It takes the resulting log and emails it to you.

In our environment, we simply placed the script in to /etc/cron.daily to get this emailed to us daily. It is much easier to have these logs emailed to you for review first thing in the morning than running the basic health check manually.

In SLES9, the scripts in cron.daily run at 4:15am every day. In SLES10, the default for cron.daily to run on the quarter hour after the server last rebooted, daily. If you want to change this, you can with YAST. There's an option in YaST (System->etc/Sysconfig-Editor->System->Cron) named DAILY_TIME.

ZałącznikWielkość
edir-bhc.zip780 bytes

Disclaimer: As with everything else at Cool Solutions, this content is definitely not supported by Novell (so don't even think of calling Support if you try something and it blows up).

It was contributed by a community member and is published "as is." It seems to have worked for at least one person, and might work for you. But please be sure to test, test, test before you do anything drastic with it.




User Comments

© 2013 Novell