Monitoring Horizon View Connection Server LDAP Replication

29 Feb

You wish to monitor the LDAP replication traffic between the Horizon View Connection servers (CS) in your environment, Simply run the following command against all the replicating CS individually. Note: Run the following command on a CS or make sure Windows Remoting enabled to execute from a remote machine.
CON1:

repadmin /showrepl con1.example.com:389 /errorsonly

repadmin
if you got the above response means inbound/outbound replication is successful on this CS

Suppose you have 4 CS within your environment, you would like to monitor the replication across all of them. One could ‘Schedule a Task’ to check replication every 4 hours between the CS and send the report to concern monitoring team for further action. In my case, I am running this command from a remote machine which has SMTP enabled to send emails.


CON1 – CON4:

repadmin /showrepl con1.example.com:389 /errorsonly

repadmin /showrepl con2.example.com:389 /errorsonly
repadmin /showrepl con3.example.com:389 /errorsonly
repadmin /showrepl con4.example.com:389 /errorsonly

Type the following in a notepad and save it as batch file and save as ‘replication.cmd’

How to check Outbound Partners of Connection Server
In case you want to see the outbound replication partners of the CS you will have to run the following command on each server.(By default inbound is always visible)

repadmin /showrepl con1.example.com:389 /repsto


How to check replication status with Cloud Pod Architecture enabled
The only difference when testing the replication of CS with CPA is the port number is different, you will have to run the following command

repadmin /showrepl con1.example.com:22389


This was a quick way to monitor the LDAP replication between CS!

Thanks,
Aresh

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: