In addition to the Repair features available in Novell iManager, the DSRepair utilities for each eDirectory platform contain some advanced features that are hidden from normal use. These advanced features are enabled through switches when loading the DSRepair utility on the various platforms.
To run DSRepair, enter dsrepair.nlm at the server console.
To open DSRepair with advanced options, enter dsrepair -a at the server console.
To run DSRepair, enter ndsrepair at the server console, using the following syntax:
ndsrepair { -U | -E | -C | -P [-Ad] | -S [-Ad] | -N | -T | -J entry_id | --version} [-F filename] [-A yes|no] [-O yes|no]
or
ndsrepair -R [-l yes|no] [-u yes|no] [-m yes|no] [-i yes|no] [-f yes|no][-d yes|no] [-t yes|no] [-o yes|no][-r yes|no] [-v yes|no] [-c yes|no] [-F filename] [-A yes|no] [-O yes|no]
IMPORTANT: The -Ad option should not be used without prior direction from Novell Support personnel.
To perform an unattended repair and log events in the /root/ndsrepair.log file, or to append events to the log file if it already exists, enter the following command:
ndsrepair -U -A no -F /root/ndsrepair.log
To open DSRepair with advanced options, enter the following command:
ndsrepair -Ad
To display a list of all global schema operations along with the advanced options, enter the following command:
ndsrepair -S -Ad
To repair the local database by forcing a database lock, enter the following command:
ndsrepair -R -l yes
NOTE: The input for the ndsrepair command can be redirected from an option file. The option file is a text file that can contain replica and partition operation-related options and suboptions that do not require authentication to the server. Each option or suboption is separated by a new line. Make sure that the contents of the file are in the proper sequence. If the contents are not in the proper sequence, the results will be unpredictable.
The function modifiers used with the -R option are described below:
WARNING: The features described in this section can cause irreversible damage to your eDirectory tree if they are used improperly. Use these features only if instructed to do so by Novell Support personnel.
You should make a full backup of eDirectory on the server before using any of these features in a production environment. See Backing Up and Restoring Novell eDirectory for more information.
On NetWare, use these options at the server console when loading DSRepair (for example, dsrepair -XK2).
On Linux, Solaris, AIX, and HP-UX, enter ndsrepair -R -Ad -XK2.
On Windows, enter these options in the Startup Parameters field in NDSConsole before you start dsrepair.dlm. See Running DSRepair on the eDirectory Server for more information.