HP-UX Directory Server Administrator Guide HP-UX Directory Server Version 8.1 (5900-3098, May 2013)

NOTE:
Replication will not begin until the consumer is initialized.
“When to initialize a consumer” (page 372)
“Online consumer initialization using the console” (page 372)
“Initializing consumers online using the command line” (page 373)
“Manual consumer initialization using the command line” (page 373)
“Filesystem replica initialization” (page 374)
8.10.1 When to initialize a consumer
Consumer initialization involves copying data from the supplier server to the consumer server. After
the subtree has been physically placed on the consumer, the supplier server can begin replaying
update operations to the consumer server.
Under normal operations, the consumer should not ever have to be reinitialized. However, any
time there is a chance that there is a big discrepancy between the supplier's data and the
consumer's, reinitialize the consumer. For example, if the data on the supplier server is restored
from backup, then all consumers supplied by that server should be reinitialize. As another example,
if the supplier has not been able to contact the consumer for a long time, like a week, the supplier
may determine that the consumer is too far out of date to be updated, and must be reinitialized.
The consumer can either be initialized online using the Console or manually using the command
line. Online consumer initialization using the Console is an effective method of initializing a small
number of consumers. However, because each replica is initialized in sequence, this method is
not suited to initializing a large number of replicas. Online consumer initialization is the method
to use when the consumer is initialized as part of configuring the replication agreement on the
supplier server.
Manual consumer initialization using the command line is a more effective method of initializing
a large number of consumers from a single LDIF file.
8.10.2 Online consumer initialization using the console
Online consumer initialization using the Console is the easiest way to initialize or reinitialize a
consumer. However, for replicating across a slow link, this process can be very time-consuming,
and manual consumer initialization using the command line may be a more efficient approach.
This is described in more detail “Manual consumer initialization using the command line” (page
373).
NOTE:
When a consumer server is being initialized using the online consumer creation method, all
operations (including searches) on the replica are referred to the supplier server until the initialization
process is completed.
To initialize or reinitialize a consumer online:
1. Create a replication agreement.
2. On the supplier server, on the Directory Server Console, select the Configuration tab.
3. Expand the Replication folder, then expand the replicated database. Right-click the replication
agreement, and choose Initialize Consumer from the pop-up menu.
A message opens warning that any information already stored in the replica on the consumer
will be removed.
4. Click Yes in the confirmation box.
372 Managing Replication