Novell Home

DSRepair - Cross-Platform Functions

Novell Cool Solutions: Feature
By Akos Szechy

Digg This - Slashdot This

Posted: 10 May 2006
 

DSREPAIR Cross Platform functions

On NetWare it's easy to use the different features of DSRepair. However, in Linux/Unix you use the command line to run these commands, while on Windows platform you have to use the GUI to run these tasks. This article gives you a quick guide on how to achieve the same DSRepair functionality on the different platforms.

Note: This article covers the most common features of DSREPAIR only.

Time Synchronization Check

Purpose: Check the time synchronization between the servers in the eDirectory tree.
NetWare: LOAD DSREPAIR | Check Time synchronization
Windows: Open DSREPAIR.DLM from the NDS Console | Repair | Time synchronization
Linux/Unix: ndsrepair -T

Report Synchronization Status

Purpose: Check the replica synchronization between the servers.
NetWare: LOAD DSREPAIR | Report synchronization status
Windows: Open DSREPAIR.DLM from the NDS Console | Repair | Report synchronization status
Linux/Unix: ndsrepair -E

Check External References (check for obituaries)

Purpose: Check for stuck obituaries on the server.
NetWare: LOAD DSREPAIR -A | Advanced options | Check External References
Windows: Open DSREPAIR.DLM from the NDS Console with a '-A' parameter specified in the 'Startup parameters' field | Repair | Check External References
Linux/Unix: ndsrepair -C -Ad -A

Designate a server as a new master

Purpose: The replica ring lost its Master replica; therefore, another server needs to be promoted to Master.
NetWare: LOAD DSREPAIR -A | Advanced options | Replica and partition operations |
Select the partition | Designate this server as the new master
Windows: Open DSREPAIR.DLM from the NDS Console with a '-A' parameter specified in the 'Startup parameters' field | Select 'Partitions' on the right frame | Right-click to select the partition, then choose the 'Designate this server as the new master replica' option
Linux/Unix: ndsrepair -P -Ad -A | Select the partition | Select option 5 ? Designate this server as the new master replica

Repair time stamps and declare a new epoch.

Purpose: The partition has future timestamps and needs to revert to the current time. This operation will put all the replicas except the Master to "new state" and synchronize the replica again.
NetWare: LOAD DSREPAIR -A | Advanced options | Replica and partition operations | Select the partition | Repair Timestamps and declare a new epoch
Windows: Open DSREPAIR.DLM from the NDS Console with a '-A' parameter specified in the 'Startup parameters' field | Select 'Partitions' on the right frame | Right-click to select the partition, then choose the 'Repair Timestamps and declare a new epoch' option.
Linux/Unix: ndsrepair -P -Ad -A | Select the partition | Select option 12 - Repair Timestamps and declare a new epoch

DSREPAIR -XK2

Purpose: Remove every replica from the server.
NetWare: LOAD DSREPAIR -XK2 -RD
Windows: Open DSREPAIR.DLM from the NDS Console with a '-XK2' parameter specified in the 'Startup parameters' field | Repair | Local Database Repair with the default options
Linux/Unix: ndsrepair -R -Ad -Xk2

DSREPAIR -XK3

Purpose: Remove all external references from the server
NetWare: LOAD DSREPAIR -XK3 -RD
Windows: Open DSREPAIR.DLM from the NDS Console with a '-XK3' parameter specified in the 'Startup parameters' field | Repair | Local Database Repair with the default options
Linux/Unix: ndsrepair -R -Ad -Xk3

Timestamping obituaries

Purpose: Timestamp stuck obituaries, so they can be re-processed
NetWare: LOAD DSREPAIR -OT -RD
Windows: Open DSREPAIR.DLM from the NDS Console with a '-OT' parameter specified in the 'Startup parameters' field | Repair | Local Database Repair with the default options
Linux/Unix: ndsrepair -R -Ad -OT

Advanced Schema Operations

Purpose: There are some schema operations, such as Import remote schema and Declare a new epoch, that can be only reached in advanced mode.
NetWare: LOAD DSREPAIR -A | Advanced options | Schema
Windows: Open DSREPAIR.DLM from the NDS Console with a '-A' parameter specified in the 'Startup parameters' field | Schema menu
Linux/Unix: ndsrepair -S -Ad


Novell Cool Solutions (corporate web communities) are produced by WebWise Solutions. www.webwiseone.com

© 2014 Novell