Uninstalling Directory Server

UseExistingMC= Yes

UseExistingUG= No

ServerPort= 18257

ServerIdentifier= directory

Suffix= dc=example,dc=com

RootDN= cn=Directory Manager

UseReplication= No

AddSampleEntries= No

InstallLdifFile= suggest

AddOrgEntries= Yes

DisableSchemaChecking= No

RootDNPwd= admin123

[admin] Port= 33646

ServerIpAddress= 111.11.11.11

ServerAdminID= admin

ServerAdminPwd= admin

Example 6.2. .inf File for Registering the Instance with a Configuration Directory Server (Typical Setup)

4. Uninstalling Directory Server

4.1. Removing a Single Directory Server Instance

It is possible to remove a single instance of Directory Server without uninstalling the system. To do this, run the following:

/usr/sbin/ds_removal -s server_id -w admin_password

The ds_removal script unregisters the server from the Configuration Directory Server and removes any related files and directories. The key and cert files are left in the instance configuration directory, and the configuration directory is renamed instance-name.removed.

4.2. Uninstalling Directory Server

4.2.1. Linux

To uninstall Red Hat Directory Server entirely, do the following:

1.Remove all of the Directory Server instances. Each Directory Server instance service must be running for the remove script to access it.

/usr/sbin/ds_removal -s example1 -w itsasecret /usr/sbin/ds_removal -s example2 -w itsasecret

95