Creating and Maintaining Databases
Chapter 3
Configuring Directory Databases
97
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.
1.
In the Directory Server Console, select the Configuration tab.
2.
In the left navigation pane, locate the database you want to delete, and select it.
3.
From the Object menu, select Delete.
You can also right-click the database and select Delete from the pop-up menu.
The Deleting Database confirmation dialog box is displayed.
4.
Click Yes to confirm that you want to delete the database.
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.
1.
Stop the Directory Server instance.
serverRoot
/slapd-
serverID
/stop-slapd
2.
Create the new directory, if necessary, where the transaction logs will be
located.
mkdir /home/exampledb-txnlogs
3.
Set the appropriate file permissions on the directory so that the Directory
Server user can access it; the default Directory Server user and group are
nobody:nobody
.
chown nobody:nobody /home/exampledb-txnlogs
4.
Open the Directory Server instance's configuration directory.
cd
serverRoo
t
/slapd-
serverID
/config
Summary of Contents for DIRECTORY SERVER 7.1
Page 1: ...Administrator s Guide Red Hat Directory Server Version7 1 May 2005 Updated February 2009 ...
Page 20: ...20 Red Hat Directory Server Administrator s Guide May 2005 Glossary 619 Index 635 ...
Page 22: ...22 Red Hat Directory Server Administrator s Guide May 2005 ...
Page 26: ...26 Red Hat Directory Server Administrator s Guide May 2005 ...
Page 78: ...Maintaining Referential Integrity 78 Red Hat Directory Server Administrator s Guide May 2005 ...
Page 200: ...Assigning Class of Service 200 Red Hat Directory Server Administrator s Guide May 2005 ...
Page 488: ...488 Red Hat Directory Server Administrator s Guide May 2005 ...
Page 528: ...PTA Plug in Syntax Examples 528 Red Hat Directory Server Administrator s Guide May 2005 ...
Page 572: ...572 Red Hat Directory Server Administrator s Guide May 2005 ...
Page 612: ...Examples of LDAP URLs 612 Red Hat Directory Server Administrator s Guide May 2005 ...
Page 634: ...634 Red Hat Directory Server Administrator s Guide May 2005 ...