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

Even if the replication agreements are configured to keep the supplier and consumer servers always
synchronized, it is not sufficient to bring back up-to-date a server that has been offline for over five
minutes. The Always Keep in Sync option means that the server generates a replication operation
for every update operation it processes. However, if this replication operation cannot be performed
because the consumer is offline, the operation times out after 10 minutes.
NOTE:
The procedures described in this section can only be used when replication is already set up and
consumers have been initialized.
To ensure that directory information will be synchronized immediately when a server comes back
online, use either the Directory Server Console on the supplier server that holds the reference copy
of the directory information or a customizable script.
8.11.1 Forcing replication updates from the console
To ensure that replication updates are sent immediately when a consumer or a supplier in a
multi-master replication configuration comes back online after a period of time, do the following
on the supplier server that holds the most recent version of the directory information:
1. In the Directory Server Console, click the Configuration tab, expand the Replication folder
and database nodes, and select the replication agreement corresponding to the replica to
update.
2. Right click the replication agreement, and choose Send Updates Now from the drop-down list.
This initiates replication toward the server that holds the information that needs to be updated.
8.11.2 Forcing replication updates from the command line
From the consumer that requires updating, run a script that prompts the supplier to send replication
updates immediately. This script is shown in Example 19 “Replicate_Now script example.
Copy this example script and name it something like replicate_now.sh. Substitute the actual
values for the variables listed in Example 19 “Replicate_Now script example.
NOTE:
This script must be run manually because it cannot be configured to run automatically as soon as
the server, which was offline, comes back online again.
376 Managing Replication