HP-UX Directory Server 8.1 administrator guide
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) that 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 the valid range is 1 to 65534. For hub and consumer replicas, the only valid value
is 65535.
• 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 be 1.
The replica entry attributes are described in Table 8-2 “Replica attributes”.
After creating every supplier that will take part in the replication setup, then begin creating the
replication agreements.
Table 8-1 Changelog attributes
ValuesDescriptionObject class or attribute
Required object class for every
entry.
objectclass: top
An object class that allows any
other object class or attribute
to be added to an entry.
objectclass:
extensibleObject
Any string; the default usage is to set the
common name to changelog5.
The naming attribute for the
changelog entry.
cn: changelog5
Any directory; the default is
/var/lib/dirsrv/slapd-instance_name/changelogdb.
Sets the file and directory
changelog, to which the
Directory Server writes
changes.
nsslapd-changelogdir:
directory
Table 8-2 Replica attributes
ValuesDescriptionObject class or attribute
Required object class for every entry.
objectclass: top
An object class that allows any other
object class or attribute to be added
to an entry.
objectclass:
extensibleObject
An object class that allows replication
attributes to be added to an entry.
objectclass: nsds5replica
Any string; the default usage is to set
the common name to replica for
every configured replica.
The naming attribute for the replica.
cn: replica
A root suffix associated with a
database, because the entire database
is replicated. For example:
dc=example,dc=com
Sets which subtree is replicated.
nsds5replicaroot: suffix
8.7 Configuring replication from the command line 365