Removing eDirectory Notes
Remove a Server from the Tree
Basic Procedure for Removing a Server
To remove a server from the tree, do the following:
- Use iMonitor, DSREPAIR, or server documentation to check for master replicas on the server to be removed.
- Use iMonitor, DSREPAIR, or server documentation to see if the server to be removed is a single default time server type.
- Load NWCONFIG.
- Select Directory Options.
- Select Remove Directory Services.
- Authenticate as a user with supervisor rights. eDirectory is removed from the server.
- Verify that the server has been removed from the tree.
- Remove all objects associated with the server:
- PS-server name (predicate stats)
Use the –DSREMOVE Switch with NWCONFIG
If there are certain errors, you cannot remove eDirectory from a server using the normal method. Instead, you must use the –DSREMOVE switch.
This switch removed eDirectory from a server without entering a password and without being stopped by errors. First try and remove eDirectory gracefully, using the standard NWCONFIG menu options. If there are errors, try to fix the errors; then try again to remove eDirectory gracefully.
Using –DSREMOVE bypasses the synchronization process and built-in error checks. Using –DSREMOVE is dangerous, you can break the tree or accidentally leave a replica ring without a master.
This can be summarized :
- It does not verify that a partition replica exists for that portion of eDirectory before removing it.
- It does not synchronize changes to replica partitions before removing eDirectory.
- It bypasses all errors that would normally prevent removing eDirectory from as a server, making it possible to create more problems in an unhealthy tree.
- It does not require an administrator user name and password.
- File system rights are most likely lost.
- It might not cleanly remove the server and server object from all replica rings.
Uninstall eDirectory from Linux
ndsconfig rm –a admin_name
Uninstall eDirectory from Windows
There are 3 ways to uninstall eDirectory from a Windows server:
- Control Panel
- NDS Services
- Manual Uninstall
Go to Start/Control Panel/Add & Remove Programs, select NDS eDirectory and select Add/Remove.
Under NDS Services, start Install.dlm. Select Remove eDirectory Services from This Server.
Using the Add/Remove facility may fail for servers that do not have a replica. If it does fail, use the following method for removal:
- From the Windows NT/2000 Services program, stop the NDS server service and the W32 SMDR service.
- Using Task Manager, make sure the DHost.exe program terminates.
- Shut down the NDS Console application if it is running.
- Using ConsoleOne, remove all the server-specific objects (Server,Server-PS,LDAP Server,LDAP Group,SAS service,SSL CeritificateIP, and possibly SSL CertificateDNS).
- In the Windows NT/2000 registry, delete the following entries if they exist:
- HKLM\SOFTWARE\Novell\NDSonNT – 0
- HKLM\SOFTWARE\Novell\Portable SMDR
- HKLM\SYSTEM\CurrentControlSet\Services\EventLog\Application\NDS Server
- HKLM\SYSTEM\CurrentControlSet\Services\EventLog\Application\W32 SMDR
- HKLM\SYSTEM\CurrentControlSet\Services\NDS Server0
- HKLM\SYSTEM\CurrentControlSet\Services\W32 SMDR
- Delete the following files:
All files in the directory where you installed eDirectory (for example C:\NOVELL\NDS)
The systemDrive:\Program Files\Common Files\Novell\NI\data\ip.db file
The systemRoot\system32\Novell\NICT\nicisdi.key file
The following files in the systemRoot\system32 directory: gc080352.dll,ldapsdk.dll,ldapssl.dll,ldapx.dll,NDScps.cpl,nssl.dll, and sal.dll.
- Restart the NICI driver by typing net stop niciccs then net start niciccs.
- Remove the server from the replica rings on each of the servers that are in the ring where the server used to reside.