i am managing to modify live_syncd script which doing rsync between live and mirror server. The scipt was written for zimbra 8.0.x on centos 6.
Zimbra 8.8 now comes with zxsuite hsm and I don't know how to check to see if HSM is running in order to suspend replaying redologs while HSM process is active.
The old one is like that:
Code: Select all
if which zmhsm >/dev/null && zmhsm -u | grep "Currently running" >/dev/null; then
logit 3 "Replaying redologs is suspended while HSM process is active"
else
I tried with zxsuite hsm getAllOperations but don't know what is the desired output when HSM process is running.
Code: Select all
operationList
realTimeScanOperations 0
Regards,