6.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:

    1. Enter ndsmanage at the command prompt.

    2. Select the instance you want to stop.

      The menu expands to include the options you can perform on a specific instance.

    3. Enter k to stop the instance.

  3. Get the current DIB location using the following command:

    ndsconfig get n4u.nds.dir
  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

    1. Enter ndsmanage at the command prompt.

    2. Select the instance you want to start.

      The menu expands to include the options you can perform on a specific instance.

    3. Enter s to start the instance.

  7. Check the server status as follows:

    ndscheck