Deleting a Database
The following procedure describes deleting a directory database using the
Directory Server Console. Deleting a database deletes the configuration
information and entries for that database only, not the physical database itself.
In the Directory Server Console, select the Configuration tab.
1.
In the left navigation pane, locate the database you want to delete, and select it.
2.
From the Object menu, select Delete.
3.
You can also right-click the database and select Delete from the pop-up menu.
The Deleting Database confirmation dialog box is displayed.
Click Yes to confirm that you want to delete the database.
4.
A progress dialog box appears telling you the steps the Directory Server
completes during the deletion.
Once deleted, the database no longer appears in the right pane.
Configuring Transaction Logs for Frequent Database Updates
When the server is going to be asked to perform frequent database updates (LDAP
adds, modifies, replication), the database transaction log files should be configured
to be on a different disk than the primary database files.
Storing the transaction log files on a separate physical disk improves performance
because the disk heads do not thrash moving between the log files and the data
files.
Stop the Directory Server instance.
1.
serverRoot/slapd-serverID/stop-slapd
Create the new directory, if necessary, where the transaction logs will be
2.
located.
mkdir /home/exampledb-txnlogs
Set the appropriate file permissions on the directory so that the Directory
3.
Server user can access it; the default Directory Server user and group are
.
nobody:nobody
chown nobody:nobody /home/exampledb-txnlogs
Open the Directory Server instance s configuration directory.
4.
serverRoo
t/slapd-serverID/config
cd
Creating and Maintaining Databases
Chapter 3
Configuring Directory Databases
97
Need help?
Do you have a question about the DIRECTORY SERVER 7.1 - ADMINISTRATOR and is the answer not in the manual?
Questions and answers