Use at the server console to maintain and repair the database of a Novell eDirectory tree. DSRepair performs the following operations:
Correct eDirectory problems such as bad records, schema mismatches, bad server addresses, and external references.
Make advanced changes to the eDirectory schema.
Check the structure of the database automatically without closing the database and without user intervention.
Check the database operational indexes.
Reclaim free space by discarding empty records.
Repair the local database.
Repair replicas, replica rings, and Server objects.
Analyze each server in each local partition for synchronization errors.
Locate and synchronize objects in the local database.
If the server abends, use DSRepair to verify the integrity of the eDirectory database after restarting the server.
[LOAD] [path] DSREPAIR [-U|-A]
An unattended full repair performs all possible repair operations that do not require your input. This is the suggested means of repair unless you are told by Novell technical support to perform other operations manually.
The log file is displayed by default when the repair completes. The log file is a text file named dsrepair.log and it is stored in the sys:system directory.
Select this option to determine whether this server has synchronized its clock with other servers on the network. Because replica synchronization depends on time stamps, replica synchronization can be delayed until time synchronization is achieved.
When changing a read/write replica to a master, make sure the time synchronization on the server is working correctly so the changes will happen in a timely manner.
NOTE:eDirectory operates on “synthetic time” if true synchronization has not been accomplished. Synthetic time is generated when the time stamp on a replica of a partition is ahead of the actual server time. eDirectory conducts its normal operations fully on synthetic time, but some partition and replication work can be delayed until time is synchronized.
If time is not synchronized to the network, server clocks are automatically adjusted in small increments until synchronization is achieved. In this case, no user intervention is required.
The Time Synchronization option of DSRepair generates a warning message if synchronization has not completed within 12 hours. In this case, you should troubleshoot your time server configuration.
This option gets replica synchronization status from all servers that hold replicas of the same partitions held on this server. It also reports other eDirectory errors associated with those servers or replicas. Use this option to determine whether you need to repair replicas, resolve communications problems, or initiate some other action.
Error code descriptions are in the Novell Error Codes Reference Guide.
Repair Network Addresses (RNA) checks the network address for every server in the local eDirectory database files by searching the local SAP tables if IPX is enabled or by using SLP in an IP-only environment.
Each address is then compared to the NetWare Server object's Network Address property and the address record in each Replica property of every partition [ROOT] object. If the addresses are different, they are updated to be the same.
If the server address is not found in the SAP table or through SLP, no other repair is performed.