I am trying to automate the tarnmk compaction process of a Primary/Standby 6.2 AEM environment running on AEM 6.2.
As part of this, I need to interrogate and invoke the cleanup/stop/start methods of the the standby server's org.apache.jackrabbit.oak.
Has anyone had any experience with this?
I found this basic reference for jmx with curl but I am unclear how to form this for AEM.
curl -s -X POST --user 'myuser:mypass'
--data "action=invokeOp&name=App:service=ThisServiceOp&methodIndex=3&arg0=value1&arg1=value1&submit=Invoke"
http://yourhost.domain.com/jmx-console/HtmlAdaptor