Dieser Inhalt ist in der von Ihnen ausgewählten Sprache nicht verfügbar.
Chapter 5. Deleting a database of a suffix that is no longer needed
When you need to reclaim disk space on your Directory Server host, you can delete databases of suffixes that are not in use anymore.
5.1. Deleting a database using the command line Link kopierenLink in die Zwischenablage kopiert!
This procedure instructs you how to delete a Directory Server database on the command line.
Procedure
List suffixes and their corresponding databases:
dsconf -D "cn=Directory Manager" ldap://server.example.com backend suffix list
# dsconf -D "cn=Directory Manager" ldap://server.example.com backend suffix listdsconf -D "cn=Directory Manager" ldap://server.example.com backend suffix listdsconf -D "cn=Directory Manager" ldap://server.example.com backend suffix listdsconf -D "cn=Directory Manager" ldap://server.example.com backend suffix listdsconf -D "cn=Directory Manager" ldap://server.example.com backend suffix list dc=example,dc=com (userroot) o=test (test_database)
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Note the name of the database that you want to delete.
Enter the
dsconf backend delete
command and specify the name of the database:dsconf -D "cn=Directory Manager" ldap://server.example.com backend delete "test_database"
# dsconf -D "cn=Directory Manager" ldap://server.example.com backend delete "test_database"dsconf -D "cn=Directory Manager" ldap://server.example.com backend delete "test_database"dsconf -D "cn=Directory Manager" ldap://server.example.com backend delete "test_database"dsconf -D "cn=Directory Manager" ldap://server.example.com backend delete "test_database"dsconf -D "cn=Directory Manager" ldap://server.example.com backend delete "test_database"dsconf -D "cn=Directory Manager" ldap://server.example.com backend delete "test_database"dsconf -D "cn=Directory Manager" ldap://server.example.com backend delete "test_database"
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Confirm the deletion by typing "Yes I am sure" in the prompt:
Deleting Backend cn=test_database,cn=ldbm database,cn=plugins,cn=config : Type 'Yes I am sure' to continue: Yes I am sure
Deleting Backend cn=test_database,cn=ldbm database,cn=plugins,cn=config : Type 'Yes I am sure' to continue: Yes I am sure
Copy to Clipboard Copied! Toggle word wrap Toggle overflow
Verification
List the suffixes/databases:
dsconf -D "cn=Directory Manager" ldap://server.example.com backend suffix list
# dsconf -D "cn=Directory Manager" ldap://server.example.com backend suffix listdsconf -D "cn=Directory Manager" ldap://server.example.com backend suffix listdsconf -D "cn=Directory Manager" ldap://server.example.com backend suffix listdsconf -D "cn=Directory Manager" ldap://server.example.com backend suffix listdsconf -D "cn=Directory Manager" ldap://server.example.com backend suffix list dc=example,dc=com (userroot)
Copy to Clipboard Copied! Toggle word wrap Toggle overflow
5.2. Deleting a database using the web console Link kopierenLink in die Zwischenablage kopiert!
This procedure instructs you how to delete a Directory Server database in a browser.
Prerequisites
- You are logged in to the instance in the web console.
Procedure
-
Under
Database
, select the suffix that you want to delete. -
Navigate to
. -
Select
Yes, I am sure.
. - Click .
Verification
-
Under
Database
, review the list of suffixes in the configuration tree.