Is there a way or an API call for verifying that two clustered author instances are in-sync? | Community
Skip to main content
LinearGradient
Level 6
October 16, 2015
Solved

Is there a way or an API call for verifying that two clustered author instances are in-sync?

  • October 16, 2015
  • 2 replies
  • 900 views

We have noticed that sometimes in AWS, it takes a while for our author instances to be in-sync. If we run our functional tests before the author instances are completely in-sync, when the tests hit the dispatcher, they might be routed to a yet-unsynced instance and fail.

Is there a way (ideally a REST call) to check if author instances are in-sync before starting our functional tests?

Thanks.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by JustinEd3

There is, assuming you are using AEM 5.6.1

If you look at the JMX MBean com.adobe.granite:type=Repository, there is an attribute named ClusterNodeRevision. You could compare the values of this attribute across your two instances.

2 replies

18Harry
Level 2
October 16, 2015

Hi Linear,

I don't think there is any API or a REST call to check for any Out-of-sync issues. Rather you can follow the link below to achieve "AUTOMATIC OUT-OF-SYNC PREVENTION"

http://dev.day.com/docs/en/crx/current/administering/cluster.html

 

 

-- Harry

JustinEd3Adobe EmployeeAccepted solution
Adobe Employee
October 16, 2015

There is, assuming you are using AEM 5.6.1

If you look at the JMX MBean com.adobe.granite:type=Repository, there is an attribute named ClusterNodeRevision. You could compare the values of this attribute across your two instances.