13.1 Cleaning Up the eDirectory Server

IMPORTANT:The instructions in this section have been tested and approved, but it is impossible to anticipate all customer scenarios and the complications that might arise in them.Therefore, we urge that you only proceed when you have problems with eDirectory that aren't resolved by performing regular eDirectory maintenance tasks, or when Micro Focus Technical Support recommends that you do.

13.1.1 Before You Clean Up

  • Before the cleanup, make a note of the following eDirectory configuration parameters:

    • eDirectory tree name

    • Replica server IP

    • eDirectory admin context

    • eDirectory server context

    • IP address of servers running NTP and SLP services

  • If you are cleaning the master replica server, ensure that you make a read-write replica as a master. For more information, see Section 13.1.2, Reconfiguring the Replica Server.

  • If the reconfiguration is performed on a CA server, transfer the role of CA server to another server or create a new CA server. If you don’t do this, the CA does not work. For more information, see Section 13.1.3, Reconfiguring the CA Server.

13.1.2 Reconfiguring the Replica Server

  1. If the corrupted server is a master replica, make any other replica into the master replica.

    For more information, refer to Managing Partitions and Replicas in the NetIQ eDirectory Administration Guide.

  2. Clean up the replica server.

    For more information, see Section 13.1.4, Cleaning Up eDirectory.

  3. Reconfigure the replica server.

    For more information, see Section 13.2, Reconfiguring the eDirectory Server through YaST.

  4. On successful reconfiguration of the replica server, continue with Section 13.3, Reconfiguring OES Services.

13.1.3 Reconfiguring the CA Server

  1. If the corrupted server is a CA server, transfer the CA server role to another server or create a new CA server.

    For more information, refer to Moving the Organizational CA to a Different Server and Creating a Server Certificate Object in the Novell Certificate Server 3.3.2 Administration Guide.

  2. Clean up the server.

    For more information, see Section 13.1.4, Cleaning Up eDirectory.

  3. Reconfigure the server.

    For more information, see Section 13.2, Reconfiguring the eDirectory Server through YaST.

  4. After successfully reconfiguring the server, continue with Section 13.3, Reconfiguring OES Services.

13.1.4 Cleaning Up eDirectory

  1. Use iManager to delete all the objects from the eDirectory tree.

  2. Stop the ndsd daemon:

    rcndsd stop

    or

    systemctl stop ndsd.service

  3. Delete the eDirectory configuration file and eDirectory instance file.:

    rm -f /etc/opt/novell/eDirectory/conf/nds.conf

    rm -f /etc/opt/novell/eDirectory/conf/.edir/instances.0

  4. Delete the eDirectory database:

    rm -rf /var/opt/novell/eDirectory/data/dib

  5. Remove the server from the replica ring.

    For more information, see Cleaning Up the Replica Ring in the NetIQ eDirectory Administration Guide.