Need help on getting status of HSM proccess/operation

Forum to discuss, report issues, or provide feedback about Zimbra HSM Plus
User avatar
zimico
Advanced member
Advanced member
Posts: 75
Joined: Mon Nov 14, 2016 8:03 am
Location: Vietnam
ZCS/ZD Version: 8.7.5
Contact:

Need help on getting status of HSM proccess/operation

Postby zimico » Mon Mar 12, 2018 10:53 am

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: 25676
Joined: Fri Sep 12, 2014 9:56 pm

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

Postby phoenix » Mon Mar 12, 2018 11:01 am

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

If you'd like to see this implemented in a future version of ZCS then please vote on Bugzilla entries 97706 & 108168
User avatar
zimico
Advanced member
Advanced member
Posts: 75
Joined: Mon Nov 14, 2016 8:03 am
Location: Vietnam
ZCS/ZD Version: 8.7.5
Contact:

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

Postby zimico » Mon Mar 12, 2018 2:01 pm

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,

Return to “Zimbra HSM Plus”

Who is online

Users browsing this forum: No registered users and 1 guest