Enabling the FPolicy policy

After you are through configuring an FPolicy policy configuration, you enable the FPolicy policy. Enabling the policy sets its priority and starts file access monitoring for the policy.

Before you begin

The FPolicy policy must exist with an associated external engine (if the policy is configured to use external FPolicy servers) and must have at least one associated FPolicy event. The FPolicy policy scope must exist and must be assigned to the FPolicy policy.

About this task

The priority is used when multiple policies are enabled on the storage virtual machine (SVM) and more than one policy has subscribed to the same file access event. Policies that use the native engine configuration have a higher priority than policies for any other engine, regardless of the sequence number assigned to them when enabling the policy.

Note: A policy cannot be enabled on the admin SVM.


  1. Enable the FPolicy policy by using the vserver fpolicy enable command.
    vserver fpolicy enable -vserver-name vs1.example.com -policy-name policy1 -sequence-number 1
  2. Verify that the FPolicy policy is enabled by using the vserver fpolicy show command.
    vserver fpolicy show -vserver vs1.example.com
    Vserver          Policy Name         Number  Status   Engine
    ---------------  ----------------- --------  -------- ---------
    vs1.example.com  policy1                  1  on       engine1