vserver export-policy access-cache config modify

Modify exports access cache configuration

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

Description

The vserver export-policy access-cache config modify command modifies access cache timeout values per Vserver. Modifying these values from any node updates the values on all the nodes in the cluster. The modified values persist across reboots.

Parameters

-vserver <vserver name> - Vserver
This parameter specifies the Vserver name for which the timeout values need to be modified.
[-ttl-positive <integer>] - TTL For Positive Entries (Secs)
This parameter specifies the duration after which positive access cache entries will be refreshed upon client access. The value is specified in seconds. The default value is 3600 seconds. Valid values range from 300 seconds to 86400 seconds.
[-ttl-negative <integer>] - TTL For Negative Entries (Secs)
This parameter specifies the duration after which negative access cache entries will be refreshed upon client access. The value is specified in seconds. The default value is 3600 seconds. Valid values range from 60 seconds to 86400 seconds.
[-harvest-timeout <integer>] - Harvest Timeout (Secs)
This parameter specifies the time period after which Data ONTAP deletes unused entries in the access cache. The value is specified in seconds. The default value is 86400 seconds. Valid values range from 60 seconds to 2592000 seconds.
[-isDnsTTLEnabled {true|false}] - Is Dns TTL Enabled
This parameter specifies the dns TTL is enabled or not. If dns TTL is enable then access cache will use ttl returned from dns lookup, in case dns lookup doesn't return TTL then it will use default ttl value.

Examples

The following command sets the positive TTL value to 36000 seconds, the negative TTL value to 3600 seconds, and the harvest timeout value to 43200 seconds for Vserver 'vs0':
cluster1::*> vserver export-policy access-cache config modify -ttl-positive 36000 -ttl-negative 3600 -harvest-timeout 43200 -isDnsTTLEnabled false

cluster1::*> vserver export-policy access-cache config show -vserver vs0

                            Vserver: vs0
    TTL For Positive Entries (secs): 36000
    TTL For Negative Entries (secs): 3600
TTL For Entries with Failure (secs): 1
             Harvest Timeout (secs): 43200
                 Is Dns TTL Enabled: false