AEM_How to monitor Replication agents


You can monitor your replication queues to detect when a queue is either down or blocked
  • all enabled queues should have the status idle or active, which indicate normal operation; 
  • No queues should be blocked, which is often a sign of problems on the receivers side.
  • if the size of the queue grows over time this can indicate a blocked queue.
To monitor a replication agent:
  1. a. Access the Tools tab in AEM.
  2. B. Click Replication.
  3. C. Double-click the link to agents for the appropriate environment (either the left or the right pane); for example Agents on author.
    The resulting window shows an overview of all your replication agents for the author environment, including their target and status.
  4. chlimage_1
    Here you can:
    • See whether the agent is enabled.
    • See the target of any replications.
    • See whether the replication queue is currently active (enabled).
    • See whether there are any items in the queue.
    • Refresh or Clear to update the display of queue entries; this helps you see items enter and leave the queue.
    • View Log to access the log of any actions by the replication agent.
    • Test Connection to the target instance.
    • Force Retry on any queue items if required.

Caution:
Do not use the "Test Connection" link for the Reverse Replication Outbox on a publish instance.
If a replication test is performed for an Outbox queue, any items that are older than the test replication will be re-processed with every reverse replication.
If such items already exist in a queue, they can be found with the following XPath JCR query and should be removed.
/jcr:root/var/replication/outbox//*[@cq:repActionType='TEST'] 

No comments:

Post a Comment