Planning the FPolicy event configuration
Before you configure FPolicy events, you must understand what it means to create an FPolicy event. You must determine which protocols you want the event to monitor, which events to monitor, and which event filters to use. This information helps you plan the values that you want to set.
What it means to create an FPolicy event
Creating the FPolicy event means defining information that the FPolicy process needs to determine what file access operations to monitor and for which of the monitored events notifications should be sent to the external FPolicy server. The FPolicy event configuration defines the following configuration information:
- storage virtual machine (SVM) name
- Event name
- Which protocols to monitor
FPolicy can monitor SMB, NFSv3, and NFSv4 file access operations.
- Which file operations to monitor
Not all file operations are valid for each protocol.
- Which file filters to configure
Only certain combinations of file operations and filters are valid. Each protocol has its own set of supported combinations.
- Whether to monitor volume mount and unmount operations
- You can specify the -protocol and -file-operations parameters.
- You can specify all three of the parameters.
- You can specify none of the parameters.
What the FPolicy event configuration contains
You can use the following list of available FPolicy event configuration parameters to help you plan your configuration:
Type of information | Option |
---|---|
SVM Specifies the SVM name that you want to associate with this FPolicy event. Each FPolicy configuration is defined within a single SVM. The external engine, policy event, policy scope, and policy that combine together to create an FPolicy policy configuration must all be associated with the same SVM. | -vserver vserver_name |
Event name Specifies the name to assign to the FPolicy event. When you create the FPolicy policy you associate the FPolicy event with the policy using the event name. The name can be up to 256 characters long. Note The name should be up to 200 characters long if configuring the event in a MetroCluster or The name can contain any combination of the following ASCII-range characters:
| -event-name event_name |
Protocol Specifies which protocol to configure for the FPolicy event. The list for -protocol can include one of the following values:
Note If you specify | -protocol protocol |
File operations Specifies the list of file operations for the FPolicy event. The event checks the operations specified in this list from all client requests using the protocol specified in the -protocol parameter. You can list one or more file operations by using a comma-delimited list. The list for -file-operations can include one or more of the following values:
Note If you specify | -file-operations file_operations,... |
Filters Specifies the list of filters for a given file operation for the specified protocol. The values in the -filters parameter are used to filter client requests. The list can include one or more of the following: Note If you specify the
| -filters filter, ... |
| |
Is volume operation required Specifies whether monitoring is required for volume mount and unmount operations. The default is false. | -volume-operation {true|false} |