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.
Содержание DIRECTORY SERVER 8.0
Страница 18: ...xviii ...
Страница 29: ...Configuring the Directory Manager 11 6 Enter the new password and confirm it 7 Click Save ...
Страница 30: ...12 ...
Страница 112: ...94 ...
Страница 128: ...110 ...
Страница 190: ...Chapter 6 Managing Access Control 172 4 Click New to open the Access Control Editor ...
Страница 224: ...206 ...
Страница 324: ...306 ...
Страница 334: ...316 ...
Страница 358: ...340 ...
Страница 410: ...392 ...
Страница 420: ...402 ...
Страница 444: ...426 ...
Страница 454: ...436 ...
Страница 464: ...446 ...
Страница 484: ...466 ...
Страница 512: ...494 ...
Страница 522: ...504 ...