Installation guide

5
Relocating the DIB 75
5
Relocating the DIB
After installing and configuring NetIQ eDirectory, if there is a need to relocate the DIB, you can do it.
You might want to relocate your DIB for multiple reasons, such as, if the number of objects in the tree
is expected to grow but the current file system where the DIB exists does not have sufficient space.
5.1 Linux
Complete the following procedure to relocate your DIB:
1 Check the server status by entering the following command at the command line:
ndscheck
2 Stop the eDirectory service using ndsmanage as follows:
2a Enter
ndsmanage
at the command prompt.
2b Select the instance you want to stop.
The menu expands to include the options you can perform on a specific instance.
2c Enter
k
to stop the instance.
3 Get the current DIB location using the following command:
ndsconfig get n4u.nds.dir
NOTE: In eDirectory 8.8, by default the DIB is located at
/var/opt/novell/eDirectory/data/
and on pre-eDirectory 8.8 servers, it is located at
/var/nds/
.
4 Copy the DIB to the new location as follows:
cp -rp current__location new__location
For example, to copy the DIB to
/home/nds/
, enter the following:
cp -rp /var/opt/novell/eDirectory/data//* /home/nds//
5 Edit the instance-specific
nds.conf
configuration file and change the parameter value of
n4u.nds.dir
as follows:
n4u.nds.dir=new__location
For example, if you are changing the DIB from
/var/nds/
to
/home/nds/
, type the following:
n4u.nds.dir=/home/nds/
6 Start the eDirectory service as follows
6a Enter
ndsmanage
at the command prompt.
6b Select the instance you want to start.
The menu expands to include the options you can perform on a specific instance.
6c Enter s to start the instance.