Enable or disable FPolicy policies
You can enable FPolicy policies after the configuration is complete. Enabling the policy sets its priority and starts file access monitoring for the policy. You can disable FPolicy policies if you want to stop file access monitoring for the policy.
Before enabling FPolicy policies, the FPolicy configuration must be completed.
-
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.
-
If you want to change the priority of an FPolicy policy, you must disable the policy and then reenable it using the new sequence number.
-
Perform the appropriate action:
If you want to…
Enter the following command…
Enable an FPolicy policy
vserver fpolicy enable -vserver-name vserver_name -policy-name policy_name -sequence-number integer
Disable an FPolicy policy
vserver fpolicy disable -vserver-name vserver_name -policy-name policy_name