1.7. Removing a Directory Server Instance
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 / and /etc/dirsrv/slapd- instance_name / directories are removed. Important The /var/lib/dirsrv/slapd- instance_name / directory contains the database, as well as the backup and export directory. The /etc/dirsrv/slapd- instance_name / directory contains the instance configuration and the network security services (NSS) database. Before you remove an instance, backup this data. 1.7.1. Removing an Instance Using the Command Line To remove an instance using the command line: 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 Actions button, and select Remove instance .
dsctl instance_name remove --do-it Removing instance Completed instance removal