HP-UX Directory Server 8.1 administrator guide

Table 8-3 Replication agreement attributes (continued)
ValuesDescriptionObject class or attribute
Has the following value, with the
start (SSSS) and end (EEEE) times set
in the form HHMM
The times are given in 24 hour clock
format, so 0000 is midnight and 2359
is 11:59 PM. For example, the setting
1030-1630 schedules replication
from 10:30 AM to 4:30 PM. The times
cannot wrap around midnight, so the
setting 2300-0100 is not valid.
The days ranging from 0 (Sunday) to
6 (Saturday). Setting 06 schedules
replication on Sunday and Saturday,
while 135 schedules replication on
Monday, Wednesday, and Friday.
nsds5replicaupdateschedule:
SSSS-EEEE DDDDDDD
For example, this schedules
replication between midnight (0000)
and 5 am (0500) on Monday and
Tuesday:
nsds5replicaupdateschedule:
0000-0500 12
Sets the start and end time for the
replication updates and the days on
which replication occurs. If the
schedule is omitted, replication will
take place all the time.
nsds5replicaupdateschedule:
start_time-end_time days
start
To initialize the consumer, this
attribute must have a value of start;
any other value is ignored.
Optional. Performs an online
(immediate) initialization of the
consumer. If this is set, the attribute is
only present as long as the consumer
is being initialized; when the
initialization is complete, the attribute
is deleted automatically.
If this is not set, then consumer
initialization must be performed
manually.
nsds5BeginReplicaRefresh:
start
8.7.5 Initializing consumers online from the command line
An online initialization can be initiated from the command line by adding the
nsds5replicarefresh attribute to the replication agreement entry. If the attribute is included
when the replication agreement is created, initialization begins immediately. It can be added
later to initialize the consumer at any time. This attribute is absent by default, and it will be
automatically deleted after the consumer initialization is complete.
1. Find the DN of the replication agreement on the supplier server that is for the consumer to
be initialized. For example:
ldapsearch -h supplier1.example.com -p 389 -D "cn=directory manager"
-w secret -s sub
-b cn=config "(objectclass=nsds5ReplicationAgreement)"
This command returns all the replication agreements configured on the supplier in LDIF
format. Get the DN of the replication agreement with the consumer to be initialized. This is
the replication agreement that will be edited.
2. Edit the replication agreement, and add the nsds5BeginReplicaRefresh attribute:
ldapmodify -D "cn=directory manager" -w secret -p 389 -h
supplier1.example.com
dn: cn=ExampleAgreement,cn=replica,cn="dc=example,dc=com",cn=mapping tree,cn=config
8.7 Configuring replication from the command line 371