Uninstalling Directory Server
79
ServerIpAddress= 10.14.0.25
ServerAdminID= admin
ServerAdminPwd= Admin123
Example 6.1. .inf File for a Custom Installation
[General]
FullMachineName= dir.example.com
SuiteSpotUserID= nobody
SuiteSpotGroup= nobody
AdminDomain= example.com
ConfigDirectoryAdminID= admin
ConfigDirectoryAdminPwd= admin
ConfigDirectoryLdapURL= ldap://dir.example.com:25389/o=NetscapeRoot
[slapd]
SlapdConfigForMC= No
UseExistingMC= 1
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)
6.4. Uninstalling Directory Server
6.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
.