[SOLVED] zimbraHsmAge

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
yellowhousejake
Posts: 37
Joined: Tue Sep 09, 2014 9:57 am

[SOLVED] zimbraHsmAge

Postby yellowhousejake » Wed Jul 25, 2018 1:31 pm

Good morning (here anyway),

We recently setup HSM on our Zimbra server and while it did move data on the initial run it has not moved anything since. My question concerns how the age parameter is used.

Currently we have the following.
zimbra@Zimbra:~$ zmcontrol -v
Release 8.0.7.GA.6021.UBUNTU12.64 UBUNTU12_64 NETWORK edition.

zimbra@Zimbra:~$ zmprov gs `zmhostname` zimbraHSMPolicy
# name zimbra.greenfieldin.org
zimbraHsmPolicy: message,document,appointment,task:before:-2year is:anywhere -in:junk

When I look at disk use I see that in the past month, no files have been moved to the HSM volume since the initial run.
July 23rd -------------------------------------------------------------------------------
administrator@Zimbra:~$ df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda1 15349744 3334600 11212380 23% /
udev 4078464 12 4078452 1% /dev
tmpfs 1635212 264 1634948 1% /run
none 5120 0 5120 0% /run/lock
none 4088028 0 4088028 0% /run/shm
/dev/sdc1 3170678184 1727439760 1282177256 58% /backup
/dev/sdb1 2097272832 564561756 1426188760 29% /opt
/dev/sdd1 1056893108 172735844 830470224 18% /hsm

June 26th -------------------------------------------------------------------------------
administrator@Zimbra:~$ df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda1 15349744 3327188 11219792 23% /
udev 4078464 12 4078452 1% /dev
tmpfs 1635212 264 1634948 1% /run
none 5120 0 5120 0% /run/lock
none 4088028 0 4088028 0% /run/shm
/dev/sdc1 3170678184 1705607592 1304009424 57% /backup
/dev/sdb1 2097272832 551560208 1439190308 28% /opt
/dev/sdd1 1056893108 172735844 830470224 18% /hsm

Looking at the mailbox log, I see that hsm is running and is checking the blobs.
zimbra@Zimbra:~/log$ cat mailbox.log.2018-07-22 | grep dgoodrich | grep hsm
2018-07-22 12:02:09,687 INFO [BlobMover] [name=dgoodrich@greenfieldin.org;mid=354;] hsm - Found no blobs that need to be moved.

So my question is, is HSM checking only the year portion of the date and moving data based on that alone? If so, will we I get no HSM movement until 2019? I had considered changing the policy from 'before: -2year' to 'before: -24month' but thought I should ask if there is something about HSM policies I do not understand.

Thanks,

DAve
Last edited by yellowhousejake on Tue Aug 14, 2018 5:27 pm, edited 1 time in total.


User avatar
Raun
Zimbra Employee
Zimbra Employee
Posts: 75
Joined: Thu Mar 24, 2016 1:22 pm

Re: zimbraHsmAge

Postby Raun » Wed Jul 25, 2018 6:07 pm

Hey Dave,

Since HSM is a network edition feature , why dont you open a case with Z support! We would be happy to help you :-)
yellowhousejake
Posts: 37
Joined: Tue Sep 09, 2014 9:57 am

Re: zimbraHsmAge

Postby yellowhousejake » Wed Jul 25, 2018 6:11 pm

Raun wrote:Hey Dave,

Since HSM is a network edition feature , why dont you open a case with Z support! We would be happy to help you :-)


Well, I just thought it was an easy answer and didn't want to bother the support staff. I will open a ticket.

Thanks for the response.

DAve
User avatar
Raun
Zimbra Employee
Zimbra Employee
Posts: 75
Joined: Thu Mar 24, 2016 1:22 pm

Re: zimbraHsmAge

Postby Raun » Wed Jul 25, 2018 6:14 pm

you have paid for that support and we are always there for our clients . It does not matter if it is a small query or a Disaster recovery , we got your back .

Cheers,
R
yellowhousejake
Posts: 37
Joined: Tue Sep 09, 2014 9:57 am

Re: zimbraHsmAge

Postby yellowhousejake » Thu Jul 26, 2018 11:47 am

Our version is no longer under support, so no help is coming. We have several other projects underway and an upgrade to Zimbra will not be done for a few months.

Anyone want to take a stab at this now?

DAve
yellowhousejake
Posts: 37
Joined: Tue Sep 09, 2014 9:57 am

Re: [SOLVED] zimbraHsmAge

Postby yellowhousejake » Tue Aug 14, 2018 5:34 pm

Changing the schedule from 'before: -2year' to 'before: -24month' caused HSM to begin moving messages. My thought is that HSM was only looking at the year of the message date, so it would have moved a year's worth of messages on Jan 1 2019. Changing the schedule to 'before: -24month' causes HSM to look at both the year and the month of the message.

Or so I think, it worked anyway.

July 27 ------------------------------------------
administrator@Zimbra:~$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 15G 3.2G 11G 23% /
/dev/sdc1 3.0T 1.7T 1.2T 58% /backup
/dev/sdb1 2.0T 542G 1.4T 29% /opt
/dev/sdd1 1008G 165G 792G 18% /hsm

August 11, changed policy to before:-24months

August 13 ----------------------------------------
administrator@Zimbra:~$ df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda1 15349744 3302064 11244916 23% /
/dev/sdc1 3170678184 1744933648 1264683368 58% /backup
/dev/sdb1 2097272832 544165072 1446585444 28% /opt
/dev/sdd1 1056893108 200836516 802369552 21% /hsm

DAve

Return to “Administrators”

Who is online

Users browsing this forum: No registered users and 18 guests