Installation guide

Installing or Upgrading NetIQ eDirectory on Linux 47
Configuring the Instances
To configure the instances based on the above mentioned instance identifiers, Mary must enter the
following commands.
Instance 1:
ndsconfig new -t mytree -n o=novell -a cn=admin.o=company -b 1524 -D
/home/mary/inst1/var --config-file /home/mary/inst1/nds.conf
Instance 2:
ndsconfig new -t corptree -n o=novell -a cn=admin.o=company -b 2524 -D
/home/mary/inst2/var --config-file /home/mary/inst2/nds.conf
Invoking a Utility for an Instance
If Mary wants to run the DSTrace utility for instance 1 that is listening on port 1524, with its
configuration file in
/home/mary/inst1/nds.conf
location and its DIB file located in
/home/mary/
inst1/var
, then she can run the utility as follows:
ndstrace --config-file /home/mary/inst1/nds.conf
or
ndstrace -h 164.99.146.109:1524
If Mary does not specify the instance identifiers, the utility displays all the instances owned by Mary
and prompts her to select an instance.
Listing the Instances
If Mary wants to know details about the instances in the host, she can run the ndsmanage utility.
To display all instances owned by Mary:
ndsmanage
To display all instances owned by John (username is john):
ndsmanage john
To display all instances of all users that are using a particular installation of eDirectory:
ndsmanage -a
2.6.6 Using ndsconfig to Install a Linux Server into a Tree with Dotted Name
Containers
You can use ndsconfig to install a Linux server into an eDirectory tree that has containers using
dotted names (for example, novell.com).
Because ndsconfig is a command line utility, using containers with dotted names requires that those
dots be escaped out, and the parameters containing these contexts must be enclosed in double
quotes. For example, to install a new eDirectory tree on a Linux server using “O=netiq.com” as the
name of the O, use the following command:
ndsconfig new -a 'admin.netiq.com' -t netiq_tree -n 'OU=servers.O=netiq.com'
The Admin name and context and the server context parameters are enclosed in double quotes, and
only the dot (’.’) in novell.com is escaped using the ’\’ (backslash) character.