58
host1:*:binddn1:bindpassword1:
Intheoptionalaliassection,usealiasessuchas
Supplier1
,
Supplier2
,and
Hub1
,toidentify
theserversinthereplicationtopology.Ifused,theoutputshowsthesealiases,insteadof
http(s)://
hostname:port.
TheCSNtimelagsbetweensuppliersandconsumerscanbedisplayedindifferentcolorsbased
ontheirrange.Thedefaultcolorsetisgreenfor0-5minuteslag,yellowfor5-60minuteslag,
andpinkforalagof60minutesormore.
Theconnectionparametersforalltheserversinareplicationtopologymustbespecifiedwithin
oneconfigurationfile.Oneconfigurationfile,however,maycontaininformationformultiple
replicationtopologies.
Becauseoftheconnectionparameters,thereplicationmonitoringtooldoesnotneedtoperform
DESdecryptionofthecredentialsstoredintheDirectoryServer.Eachlineinthisfilecould
eitherbeacommentstartedwiththe
#
characteroraconnectionentryofthefollowingformat:
host:port:binddn:bindpwd:bindcert
• host,port,andbinddncanbereplacedwithrelevantvaluesor
*
,oromittedaltogether.Ifhost
isnullor
*
,theentrymayapplytoanyhostthatdoesnothaveadedicatedentryinthefile.If
portisnullor
*
,theportwilldefaulttotheportstoredinthecurrentreplicationagreement.If
binddnisnullor
*
,itdefaultsto
cn=Directory Manager
.
• bindcertcanbereplacedwiththefullpathtothecertificatedatabase,null,or
*
.Ifbindcertis
omittedorreplacedwith
*
,theconnectionwillbeasimplebind.
Forexample,theconfigurationfilemayappearasfollows:
#Configuration File for Monitoring Replication n Via Admin Express
[connection]
*:*:*:mypassword
[alias]
M1 = host1.example.com:10011
C1 = host4.example.com:10021
C2 = host2.example.com:10022
[color]
0 = = #ccffcc
5 = = #FFFFCC
60 = #FFCCCC
Ashadowportcanbesetinthereplicationmonitorconfigurationfile.Forexample:
repl-monitor.pl(MonitorsReplicationStatus)
275