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 user NDSTRACE Examples.
Check Synchronization #
ndsrepair -E (looking for 0 errors)
Check Time Synchronization#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 NDS Obituaries#
ndsrepair -C -Ad -ACorrect any problems with Obituaries before proceeding.
Further Checks#If you think something is wrong, then you should check the following.
Server-to-server Synchronization Check#After entering ndstrace, enter the following:
SET DSTRACE=ON SET DSTRACE=NODEBUG SET NDSTRACE=+SKLK SET DSTRACE=*HIf 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:
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: Synchronization will be suspended during the operation which on LARGE trees take considerable time.
From the command-line, execute: