Skip to main content

vserver fpolicy persistent-store create

Contributors
Suggest changes

Create a Persist Store

Availability: This command is available to cluster and Vserver administrators at the admin privilege level.

Description

The vserver fpolicy persistent-store create command create an FPolicy Persistent Store entry for the Vserver. This can then be used for enabling the persistent mode for Fpolicy events by specifying the Fpolicy Persistent Store name for the parameter "persistent-store" when creating/modifying the Fpolicy policy. In persistent mode, when the Persistent Store is full, event notifications are dropped.

Parameters

-vserver <Vserver Name> - Vserver

This parameter specifies the name of the Vserver on which you want to create FPolicy Persistent Store.

-persistent-store <text> - Persistent Store Name

This parameter specifies the name of the FPolicy Persistent Store that you want to create.

-volume <text> - Volume name of the Persistent Store

This parameter specifies volume name for the FPolicy Persistent Store.

[-size {<integer>[KB|MB|GB|TB|PB]}] - Size of the Persistent Store

This parameter specifies size of the FPolicy Persistent Store.

[-autosize-mode {off|grow|grow_shrink}] - Autosize Mode for the Volume

This parameter specifies autosize mode of the volume. The valid values are: off , grow , grow_shrink . The default value is off .

Examples

The following example creates an FPolicy persistent-store.

cluster1::> vserver fpolicy persistent-store create -vserver vs1.example.com -persistent-store ps1 -volume psvol -size 1GB -autosize-mode grow


cluster1::> vserver fpolicy persistent-store show -vserver vs1 -persistent-store ps1
Vserver: vs1.example.com
                                             Persistent Store Name: ps1
                               Volume name of the Persistent store: psvol
                                      Size of the Persistent Store: 1GB
                                      Autosize Mode for the Volume: grow