Installation guide
36 NetIQ eDirectory 8.8 SP8 Installation Guide
For more information about backing up eDirectory, see “Backing Up and Restoring NetIQ
eDirectory,” in the NetIQ eDirectory 8.8 SP8 Administration Guide.
2.6.4 Using the ndsconfig Utility to Add or Remove the eDirectory Replica
Server
After installing eDirectory, configure the eDirectory replica server using the ndsconfig utility. You
must have Administrator rights to use the ndsconfig utility. When this utility is used with arguments,
it validates all arguments and prompts for the password of the user having Administrator rights. If
the utility is used without arguments, ndsconfig displays a description of the utility and available
options. This utility can also be used to remove the eDirectory Replica Server and change the current
configuration of eDirectory Server. For more information, see “The ndsconfig Utility” on page 83.
Prerequisite for Configuring eDirectory in a Specific Locale
If you want to configure eDirectory in a specific locale, you need to export LC_ALL and LANG to
that particular locale before eDirectory configuration. For example, to configure eDirectory in the
Japanese locale, enter the following:
export LC_ALL=ja
export LANG=ja
Creating A New Tree
Use the following syntax:
ndsconfig new [-t <treename>] [-n <server context>] [-a <admin FDN>] [-i] [-S
<server name>] [-d <path for dib>] [-m <module>] [e] [-L <ldap port>] [-l <SSL
port>] [-o <http port>] [-O <https port>] [-p <IP address:[port]>] [-R] [-c] [-w
<admin password>] [-b <port to bind>] [-B <interface1@port1>,
<interface2@port2>,..] [-D <custom_location>] [--config-file <configuration_file>]
A new tree is installed with the specified tree name and context.
There is a limitation on the number of characters in the
tree_name
,
admin FDN
and
server FDN
variables. The maximum number of characters allowed for these variables is as follows:
tree_name
: 32 characters
admin FDN
: 255 characters
server FDN
: 255 characters
If the parameters are not specified in the command line, ndsconfig prompts you to enter values for
each of the missing parameters.
Or, you can also use the following syntax:
ndsconfig def [-t <treename>] [-n <server context>] [-a <admin FDN>] [-w <admin
password>] [-c] [-i] [-S <server name>] [-d <path for dib>] [-m <module>] [-e] [-L
<ldap port>] [-l <SSL port>] [-o <http port>] [-O <https port>] [-D
<custom_location>] [--config-file <configuration_file>]
A new tree is installed with the specified tree name and context. If the parameters are not specified in
the command line, ndsconfig takes the default value for each of the missing parameters.
For example, to create a new tree, you could enter the following command:










