8.17. Monitoring Replication Status
The replication status can be viewed in the Directory Server Console or Red Hat Administration Express.
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 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 Red Hat Administration Express, so the replication status can be viewed in a web browser. The Administration Express is an HTML-based version of Red Hat Console that provides quick access to servers running Administration Server.
To view in-progress status of replication in Administration Express, do the following:
Prepare a configuration file following the guidelines provided in the "repl-monitor.pl (Monitor replication status)" section of the Directory Server Configuration, Command, and File Reference.
Open the Administration Server URL in a web browser.
http://hostname:admin_port
Click Red Hat Administration Express, and, when prompted, log in.
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.
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.