About Me

My photo
This blog has been created to share technical information, interesting innovations that I notice on daily basis and Architectural/Consulting overview of various technologies. My areas of interest, on which I would be blogging, are VMware, Microsoft and Citrix Technologies. I hope you will enjoy this blog and share your experience with me.

Monitoring Horizon View Connection Server LDAP Replication

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

No comments:

My Blog List