Need help on getting status of HSM proccess/operation

Forum to discuss, report issues, or provide feedback about Zimbra HSM Plus
Post Reply
User avatar
zimico
Outstanding Member
Outstanding Member
Posts: 225
Joined: Mon Nov 14, 2016 8:03 am
Location: Vietnam
ZCS/ZD Version: 8.8.15 P3
Contact:

Need help on getting status of HSM proccess/operation

Post 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,
phoenix
Ambassador
Ambassador
Posts: 27272
Joined: Fri Sep 12, 2014 9:56 pm
Location: Liverpool, England

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

Post 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
Regards

Bill

Rspamd: A high performance spamassassin replacement

Per ardua ad astra
User avatar
zimico
Outstanding Member
Outstanding Member
Posts: 225
Joined: Mon Nov 14, 2016 8:03 am
Location: Vietnam
ZCS/ZD Version: 8.8.15 P3
Contact:

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

Post 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,
Post Reply