Confirm the eDirectory tree is healthy and error-free according to an existing server in the target tree. Use iMonitor to assess health, or run the following commands from a shell prompt.

We have some more automated methods unser NDSTRACE Examples.

Check Synchronisation #

ndsrepair -E	 (looking for 0 errors)

Check Time Synchronisation#

Verify that time is synchronized by running:
ndsrepair -T	 (all servers should be within a 0-2 seconds of each other).
Correct any problems before proceeding.

Checking Obituaries#

ndsrepair -C -Ad -A
Correct any problems with Obituaries before proceeding.

Further Checks#

If you think something is wrong, then you should check the following.

Server-to-server Synchronisation Check#

After entering ndstrace, enter the following:
SET DSTRACE=ON
SET DSTRACE=NODEBUG
SET NDSTRACE=+SKLK
SET DSTRACE=*H
If there are no errors, there will be a line displaying 'All Processed = Yes.' This message will be displayed for each partition replica contained on a server.

External References Check#

From the command-line, execute:
ndsrepair -C

Repair Local Database#

If while following the above outlined Health Check Procedures you encounter DS errors or if you suspect problems with a server's DS database, the Repair Local Database option within DSREPAIR is a valuable tool to check a server's DS database. "Repair Local Database" checks the integrity of the database and fixes any problems it encounters, as well as reports information that may be useful. "Repair Local Database" does not need to be run at either a specific time or specific interval. It should be used in accordance with your organization's specific needs or used as a tool to maintain DS databases.

NOTE: Synchronisation will be suspended during the operation which on LARGE trees take considerable time.

From the command-line, execute:

ndsrepair -R

More Information#

There might be more information for this subject on one of the following:

Add new attachment

Only authorized users are allowed to upload new attachments.
« This page (revision-8) was last changed on 04-Jun-2013 16:05 by jim