Show Table of Contents
1.7. Removing a Directory Server Instance
If you run multiple instances on a server, you can remove individual instances of them.
When you remove an instance:
- The content of the
/var/lib/dirsrv/slapd-instance_name/
directory is removed.Important
The/var/lib/dirsrv/slapd-instance_name/
directory contains the database, as well as the backup and export directory. Before you remove an instance, backup this data. - The
/etc/dirsrv/slapd-instance_name/
directory is renamed to/etc/dirsrv/slapd-instance_name.removed/
.
1.7.1. Removing an Instance Using the Command Line
To remove an instance using the command line:
# dsctl instance_name remove --do-it Removing instance ... Completed instance removal
1.7.2. Removing an Instance Using the Web Console
To remove an instance using the web console:
- Open the Directory Server user interface in the web console. See Section 1.4, “Logging Into Directory Server Using the Web Console”.
- Select the instance.
- Click the Remove instance.button, and select