Zimbra Suite Plus/Zimbra HSM Plus/Policy Management




Zimbra HSM Plus - Policy Management

Zimbra HSM Plus - Policy Management

What is a Policy

A HSM Policy is a set of rules that will be applied to define what items will be moved from the Primary Store to the Secondary Store when the "doMoveBlobs" operation of Zimbra HSM Plus is triggered, either manually or by scheduling.

A Policy can consist of a single rule valid for all Item Types ("Simple" policy) or multiple rules valid for one or more Item Types ("Composite" policy). Also, an additional "subrule" can be defined using Zimbra's search syntax.

Policy Examples

Here you can find some Policy examples described in human readable language. To see how to create this Policies in the Zimbra HSM Plus module, see below.

  • "Move all items older than 30 days"
  • "Move emails older than 15 days and items of all other kinds older than 30 days"
  • "Move calendar items than 15 days, briefcase items older than 20 days and all emails in the "Archive" folder"

Defining a Policy

Policies can be defined both from the Zimbra HSM Plus tab of the Zimbra Suite Plus Administration Zimlet and from the Zimbra Suite Plus CLI. You can specify a Zimbra Search in both cases.

From the Zimbra Suite Plus Administration Zimlet

  • Log into the Zimbra Administration Console.
  • Click the "Zimbra HSM Plus" entry on the Zimbra Suite Plus Administration Zimlet.
  • Click the "Add" button in the Storage Management Policy section of the page.
  • Select the Item Types from the "Items to Move:" list.
  • Enter the Item Age from the "Move Items older than:" box.
  • OPTIONAL: Add a Zimbra Search in the "Addiditional Options" box.
  • You can add multiple "lines" to narrow down your policy. Every "line" will be evaluated and executed after the line before has been applied.

From the Zimbra Suite Plus CLI

Two policy management commands are available il the Zimbra Suite Plus CLI

  • setHsmPolicy
  • +setHsmPolicy
zxsuite powerstore setHsmPolicy {policy}

This command resets the current policy and creates a new one as specified by the policy parameter.

The policy parameter must be specified in the following syntax

 itemType1[,itemType2,itemtype3,etc]:query
zxsuite powerstore +setHsmPolicy {policy}

This command adds the query specified by the policy parameter to the current HSM Policy.

The policy parameter must be specified in the following syntax

 itemType1[,itemType2,itemtype3,etc]:query

Zimbra Suite Plus

Logo-zimbrasuiteplus.png

Latest Version: 2.16.1

Zimbra Suite Plus Resources

Here you can find useful resources for your Zimbra Suite Plus environment



Try Zimbra

Try Zimbra Collaboration with a 60-day free trial.
Get it now »

Want to get involved?

You can contribute in the Community, Wiki, Code, or development of Zimlets.
Find out more. »

Looking for a Video?

Visit our YouTube channel to get the latest webinars, technology news, product overviews, and so much more.
Go to the YouTube channel »

Jump to: navigation, search