Red Hat Directory Server 8.0 Administrator's Guide

1
The file location here is the default location for Red Hat Enterprise Linux 5 i386. For the default location on other
platforms, see Section 1, “Directory Server File Locations”.
ldapmodify -v -h supplier1.example.com -p 389 -D "cn=directory manager" -w
password
dn: cn=changelog5,cn=config
changetype: add
objectclass: top
objectclass: extensibleObject
cn: changelog5
nsslapd-changelogdir: /var/lib/dirsrv/slapd-instance_name/changelogdb
There is one important attribute with the changelog, nsslapd-changelogdir, which sets the
directory where the changelog is kept.
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
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 the supplier holds onto its change record before
deleting it. The default value is 604800 (one week).
nsds5flags sets whether the replica writes to the changelog. For a supplier, this value must
Chapter 8. Managing Replication
312