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.
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.
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.
Clean up the replica server.
For more information, see Section 13.1.4, Cleaning Up eDirectory.
Reconfigure the replica server.
For more information, see Section 13.2, Reconfiguring the eDirectory Server through YaST.
On successful reconfiguration of the replica server, continue with Section 13.3, Reconfiguring OES Services.
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.
Clean up the server.
For more information, see Section 13.1.4, Cleaning Up eDirectory.
Reconfigure the server.
For more information, see Section 13.2, Reconfiguring the eDirectory Server through YaST.
After successfully reconfiguring the server, continue with Section 13.3, Reconfiguring OES Services.
Use iManager to delete all the objects from the eDirectory tree.
Stop the ndsd daemon:
rcndsd stop
or
systemctl stop ndsd.service
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
Delete the eDirectory database:
rm -rf /var/opt/novell/eDirectory/data/dib
Remove the server from the replica ring.
For more information, see Cleaning Up the Replica Ring in the NetIQ eDirectory Administration Guide.