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

8.17.2 Monitoring replication status from administration express
Although the replication status report in the Directory Server Console shows many details, it does
not show the progress of the replication. Additionally, because one report is generated per
agreement, this lists all status reports for all different agreements.
The repl-monitor.pl script, which is explained in detail in the HP-UX Directory Server
configuration, command, and file reference, monitors replication status to a greater extent by
providing these functionalities:
Lists for each supplier replica on each Directory Server discovered, server URL or alias, replica
ID, replica root, and maximum change sequence number (maxcsn).
Lists corresponding to each supplier replica listed above and for each direct or indirect
consumer replicas discovered, server URL or alias, replica root, replica type, connection type
of the replication sessions, replication schedule, replication status, supplier maxcsn, and time
lag between the consumer maxcsn and the supplier maxcsn.
The time lag field uses different colors to indicate the degree of time lag. The threshold for
each color is configurable.
Displays the change sequence number (CSN) in human-readable format (instead of hex strings)
in the MM/DD/YYYY HH:MI Seq# SubSeq# format, where Seq# and SubSeq# are omitted
if they are zero.
Shows the output/result in the HTML format. The script writes the output to an HTML file, which
can be configured to refresh itself automatically; the refresh interval is also configurable.
The script is integrated into the Administration Express, so the replication status can be viewed in
a web browser. The Administration Express is an HTML-based version of Directory Console that
provides quick access to servers running Administration Server.
To view in-progress status of replication in Administration Express:
1. Prepare a configuration file following the guidelines provided in the "repl-monitor.pl (Monitor
replication status)" section of the HP-UX Directory Server configuration, command, and file
reference.
2. Open the Administration Server URL in a web browser.
http://hostname:admin_port
3. Click HPDS Administration Express, and, when prompted, log in.
4. Select a supplier Directory Server instance, and click Replication Status.
This brings up a page for specifying the runtime parameters of the replication-monitoring tool.
5. In the Configuration file field, type the path to the configuration file created in step 1, and
click OK.
The replication-status page appears; by default, the page gets refreshed every 300 seconds.
Each table shows the status of the changes originated from a supplier replica.
DescriptionTable
The table header shows the replica ID of the supplier replica, the replica root, and the
maximum Change State Number (CSN) on the supplier. The important thing is to make
Table Header
sure that each supplier LDAP server has its unique replica ID. Multiple replica roots on
one LDAP server, however, could share the same replica ID.
Each row represents a direct or indirect consumer of the supplier (identified in the Table
Header).
Table Row
It is the most recent CSN the consumer has replayed that was originated from the supplier
(identified in the Table Header).
Max CSN
384 Managing Replication