Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

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

Avatar

Level 7

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.

1 Accepted Solution

Avatar

Correct answer by
Employee

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.

View solution in original post

2 Replies

Avatar

Level 2

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

Avatar

Correct answer by
Employee

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.