Zimbra Next Generation Modules/Zimbra NG HSM/Policy Management: Difference between revisions

m (1 revision imported: Zimbra NG)
 
Line 1: Line 1:
<div class="col-md-12"><br></div>
#REDIRECT [[Zimbra_NG_Modules/Zimbra_NG_HSM/Policy_Management]]
<div class="col-md-12"><br></div>
<ol class="breadcrumb">
  <li>[[Main Page|Zimbra Wiki]]</li>
  <li>[[Zimbra_Next_Generation_Modules]]</li>
  <li>[[Zimbra_NG_HSM]]</li>
  <li class="active">Zimbra NG HSM - Policy Management</li>
</ol>
__NOTOC__
<div class="col-md-12"><br /></div>
<div class="col-md-9">
    <h2 class="title-header" style="padding-bottom: 9px; border-bottom: 4px solid #0087c3;">Zimbra NG HSM - Policy Management</h2>
    <div class="col-md-12">
        <div class="ibox-content">
            <div class="post animated fadeInLeft animation-delay-8" style="padding-top:5px">
                <div class="panel panel-default">
                    <div class="panel-body">
                        <h5 class="post-title">Zimbra NG HSM - Policy Management</h5>
                        <div class="row">
== 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 NG HSM 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 [http://wiki.zimbra.com/wiki/Zimbra_Web_Client_Search_Tips 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 NG HSM 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 NG HSM tab of the Zimbra Next Generation Modules Administration Zimlet and from the Zimbra Next Generation Modules CLI. You can specify a Zimbra Search in both cases.
 
==== From the Zimbra Next Generation Modules Administration Zimlet ====
* Log into the Zimbra Administration Console.
* Click the "Zimbra NG HSM" entry on the Zimbra Next Generation Modules 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 Next Generation Modules CLI ====
Two policy management commands are available il the Zimbra Next Generation Modules 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
                        </div>
                    </div>
                    <div class="col-md-9">
                        <div class="panel-footer">
                            <p><i class="fa fa-clock-o"></i> Aug 25, 2016 - [https://www.zimbra.com/email-server-software/ Know more »]</p>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<div class="col-md-3"><br /></div>
<div class="col-md-3">
    <div class="panel panel-zimbrared-light-border">
        <div class="panel-heading">
            <h3 class="panel-title"><i class="fa fa-gear pull-left"></i> Zimbra Next Generation Modules</h3>
        </div>
        <div class="panel-body">
            {{ZNG}}
        </div>
    </div>
</div>
<div class="col-md-3">
    <div class="panel panel-primary-light-border">
        <div class="panel-heading">
            <h3 class="panel-title"><i class="fa fa-info-circle pull-left"></i> Zimbra Next Generation Modules Resources</h3>
        </div>
        <div class="panel-body">
            {{ZNGL}}
        </div>
    </div>
</div>
<div class="clearfix"></div>
<div class="col-md-12"><br></div>
{{FH}}

Latest revision as of 13:22, 29 November 2017

Jump to: navigation, search