a) We can use the dsreplication status utility to obtain directory servers’ replication status.
$OUD_INSTANCE1/bin/dsreplication status --adminUID admin --adminPasswordFile pwd.txt -X --hostname iamtraining02 --port 4444
b) The out of above command give quite a lot of useful information about replication such as:-
- Which naming contexts are replicated
- The administration port number
- The number of entries
- The number of changes missing from the directory server that have been applied to at least one other replica
- The age of the oldest missing change
- The port number of the replication server configured for the directory server
- Whether communication through the replication port is encrypted
- Whether the directory server is trusted or untrusted
- The number of untrusted changes
- The status of the replication domain
c) Lets make a change in one of the directory server and see the difference in output of dsreplication status command.
Create a new user in ods1.
Check the replication status again.
More details on dsreplication cli (command line interface) command can be found here.