Chapter 8. Managing Replication
272
•
nsslapd-changelogdir
sets the directory where the changelog is kept.
•
nsslapd-changelogmaxage
sets how long the changelog is kept; since the changelog can
get very large, this helps trim the changelog to prevent affecting server performance and using
up disk space. If this parameter is not set, the default is for the changelog to be kept forever.
The changelog entry attributes are described in
Table 8.1, “Changelog Attributes”
. These attributes
are described in more detail in the
Directory Server Configuration, Command, and File Reference
.
2. Create the supplier replica.
ldapmodify -v -h supplier1.example.com -p 389 -D "cn=directory manager" -w password
dn: cn=replica,cn="dc=example,dc=com",cn=mapping tree,cn=config
changetype: add
objectclass: top
objectclass: nsds5replica
objectclass: extensibleObject
cn: replica
nsds5replicaroot: dc=example,dc=com
nsds5replicaid: 7
nsds5replicatype: 3
nsds5flags: 1
nsds5ReplicaPurgeDelay: 604800
nsds5ReplicaBindDN: cn=replication manager,cn=config
Example 8.3. Example Supplier Replica Entry
•
nsds5replicaroot
sets the subtree (suffix) which is being replicated.
•
nsds5replicatype
sets what kind of replica this database is. For either a single master or a multi-
master supplier, this value must be
3
.
•
nsds5replicaid
sets the replica ID. The value must be unique among all suppliers and hubs; the
valid range is
1
to
65534
.
•
nsds5ReplicaPurgeDelay
sets how long an entry holds its status information or how long a
tombstone entry is kept before deleting the information. The default value is
604800
(one
week).
•
nsds5flags
sets whether the replica writes to the changelog. For a supplier, this value must be
1
.
The replica entry attributes are described in
Table 8.2, “Replica Attributes”
.
After creating every supplier which will take part in the replication setup, then begin creating the
replication agreements.
Object Class or Attribute
Description
Values
objectclass: top
Required object class for every
entry.
objectclass: extensibleObject
An object class which allows
any other object class or
attribute to be added to an
entry.
Содержание 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 ...