Chapter 4.
95
Populating Directory Databases
Databases contain the directory data managed by the Red Hat Directory Server.
4.1. Importing Data
Directory Server can populate a database with data in one of two ways: by importing data (either
through the Directory Server Console or using the import tools) or by initializing a database for
replication.
Table 4.1, “Import Method Comparison”
describes the differences between an import and initializing
databases.
Action
Import
Initialize Database
Overwrites database
No
Yes
LDAP operations
Add, modify, delete
Add only
Performance
More time-consuming
Fast
Partition specialty
Works on all partitions
Local partitions only
Response to server failure
Best effort (all changes made
up to the point of the failure
remain)
Atomic (all changes are lost
after a failure)
LDIF file location
Local to Console
Local to Console or local to
server
Imports configuration
information (
cn=config
)
Yes
No
Table 4.1. Import Method Comparison
4.1.1. Importing Entries with Large Attributes
The
nsslapd-cachememsize
attribute defines the size allowed for the entry cache.
The import buffer is automatically set to 80% of the cache memory size setting. If the memory cache is
1GB, for example, then the import buffer is 800MB.
When importing a very large database or entries with large attributes (often with values like binary data
like certificate chains, CRLs, or images), then set the
nsslapd-cachememsize
attribute high enough
so that the import buffer has enough memory to process the entries.
4.1.2. Importing a Database from the Console
When performing an import operation from the Directory Server Console, an
ldapmodify
operation
is executed to append data, as well as to modify and delete entries. The operation is performed on all
of the databases managed by the Directory Server and on remote databases to which the Directory
Server has a configured database link.
You must be logged in as the Directory Manager in order to perform an import.
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 ...