Maintaining Directory Databases
53
The
Deleting Database
confirmation dialog box is displayed.
4. Click
Yes
to confirm the deletion.
Once deleted, the database no longer appears in the right pane.
3.2.2.3. 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.
/etc/init.d/dirsrv stop example
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 /etc/dirsrv/slapd-
instance_name
5. Edit the
dse.ldif
file, and change the
nsslapd-db-logdirectory
directive for the new log
file path:
nsslapd-db-logdirectory: /home/exampledb-txnlogs
This attribute goes on the same entry that has the
nsslapd-dbcachesize
attribute.
6. Open the database directory.
cd /var/lib/dirsrv/slapd-
instance_name
/db
7. Remove all of the
__db.*
files.
8. Move the
log.*
files to the new location.
9. Start the Directory Server instance again.
/etc/init.d/dirsrv start example
Summary of Contents for DIRECTORY SERVER 8.0
Page 18: ...xviii ...
Page 29: ...Configuring the Directory Manager 11 6 Enter the new password and confirm it 7 Click Save ...
Page 30: ...12 ...
Page 112: ...94 ...
Page 128: ...110 ...
Page 190: ...Chapter 6 Managing Access Control 172 4 Click New to open the Access Control Editor ...
Page 224: ...206 ...
Page 324: ...306 ...
Page 334: ...316 ...
Page 358: ...340 ...
Page 410: ...392 ...
Page 420: ...402 ...
Page 444: ...426 ...
Page 454: ...436 ...
Page 464: ...446 ...
Page 484: ...466 ...
Page 512: ...494 ...
Page 522: ...504 ...