Top 10 Downloads
  Last 15 New Files
  Web Links
  Last 15 New Tips
  NLM Programming
  Admins Club

SUPLA System
Internet of Things

Installation and Administration

Polish Forum SUSE

Who's Online

 There are currently,
5 guest(s)
that is (are) online.

Technical Information

Back to List of Categories

Technical Information about
  A Beginner's Guide to LDAP Development
  Changing Time SourceType for a 4.X server
  Common Dsrepair switches - with explanations
  Deactivating Anonymous LDAP Logins
  DSMaint -PSE (Replacing Crashed Server)
  DSRepair: Is It Overused?
  Fixing ConsoleOne Refresh Problems
  Generic Design for an iManager Plugin
  Generic Design of iManager Plugin - Part 2
  Getting ConsoleOne Running on Red Hat 9
  LDAP Directory Service: Novell eDirectory
  NMAS and Kerberos
  Removing a Crashed Server from the NDS Tree
  The DSREPAIR Utility
  Timesync Config, Issues and Definitions
  Understanding eDirectory and Clustering
  Universal Password and Containers

Technical Information
 DSRepair: Is It Overused?

Printer-friendly version

Posted: 21 Mar 2005

Here's a typical question from a reader, who wants to automate DSRepair to run it frequently:

"I have a mix of NetWare 5.1, 6.0 and 6.5 servers. I want to run DSRepair on all of them, every other week. Is there a way to automatically do this? Or do I have to log on to each server, one at a time? That would take all day!"

And here's some insight on the topic from one of our Forum experts:

Unless there is a specific reason (such as to purge old network address attributes), this is very strongly NOT recommended. DSREPAIR is not a maintenance utility, it is a database repair utility. It sees inconsistencies in the database and attempts to fix them as best it can.

The best approach is to diagnose first, then fix the problem. You wouldn't fix your car by randomly hitting it with a mallet in the hopes that something will fall into place and fix something you were not aware of.

That said, if you really want to run a repair automatically, the eDirectory Management Toolbox is designed with scriptability in mind. It has the database repair functionality in it and can be scripted.

In my opinion, DSREPAIR is the single most improperly used tool in this respect. It's a sledgehammer intended to fix database structure problems, first and foremost. I would strongly urge you to use the iMonitor health check functionality on a weekly basis - it's a much faster way to perform a health check. For example:

  1. Log in to iMonitor on a server with a copy of [Root].
  2. Select "Agent Health" and look for green lights.
  3. Select "Known Servers".
  4. To the right of each server, select "Agent Health" and check for green lights.
  5. Click the browser "Back" button.
  6. Repeat this process until you've hit all the servers.

I demonstrate this regularly with a 15-server environment, and the complete health check takes only about 2 minutes.

Since 2003

Portal posiada akceptację firmy Novell Polska
Wszystkie materiały dotyczące produktów firmy Novell umieszczono za zgodą Novell Polska
Portal has been accepted by the Novell Polska
All materials concerning products of Novell firm are placed with Novell Polska consent.
NetWare is a registered trademark of Novell Inc. in the United States and other countries.
Windows is a trademark or a registered trademark of Microsoft Corporation in the United States and other countries.
Sybase is a registered trademark of Sybase Inc. in the United States of America.
Other company and product names are trademarks or registered trademarks of their respective owners.