How to reset the Repository ID in AEM

Statement : Assuming you have cluster setup and you are cloning one of the server and starting as a standalone but the repository ID is still pointing to the cluster instance.So how to change the Repository ID to avoid once again clustering of the standalone instance.

Solution :

java -jar oak-run.jar resetclusterid crx-quickstart/repository/segmentstore

      where - Download Oka version based on the Repo version of AEM server

How to run online and offline Consistency Check in AEM through JMX console

Statement : Online consistency check for BLOB GC

Solution :
Online Consistency Check :

  • Go to the JMX console : http://localhost:4502/system/comsole/jmx
  • Search for BLOBGarbagecollection and open it.
  • Click on checkConsistency() and click on invoke 
  • Observe the log files for the GC observation










  • Post consistency check you might see Blob id's missing

    • Check the log file for the missing Blob id and run  the offline datastore check command to find the missing blobid

    Offline Consistency Check:

    Managing AEM Datastore adobe official document