Page 1 of 1

Need help on getting status of HSM proccess/operation

Posted: Mon Mar 12, 2018 10:53 am
by zimico
Dear,

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,

Re: Need help on getting status of HSM proccess/operation

Posted: Mon Mar 12, 2018 11:01 am
by phoenix
You should always give details of the exact version of ZCS that installed by posting the full output of the following command (yes, it's important):

Code: Select all

zmcontrol -v

Re: Need help on getting status of HSM proccess/operation

Posted: Mon Mar 12, 2018 2:01 pm
by zimico
You should always give details of the exact version of ZCS that installed by posting the full output of the following command (yes, it's important):

Dear phoenix, sorry for missing this important info, here it is:

Code: Select all

[zimbra@zimbra01 ~]$ zmcontrol -v
Release 8.8.6_GA_1906.RHEL7_64_20171130041047 RHEL7_64 NETWORK edition.

Regards,