Skip to main content
A newer release of this product is available.

vserver export-policy access-cache config modify

Contributors
Suggest changes

Modify exports access cache configuration

Availability: This command is available to cluster and Vserver administrators at the advanced 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 (privilege: advanced)

This parameter specifies the Vserver name for which the timeout values need to be modified.

[-ttl-positive <integer>] - TTL For Positive Entries (Secs) (privilege: advanced)

This parameter specifies the duration after which positive access cache entries will be refreshed upon client access.

[-ttl-negative <integer>] - TTL For Negative Entries (Secs) (privilege: advanced)

This parameter specifies the duration after which negative access cache entries will be refreshed upon client access.

[-harvest-timeout <integer>] - Harvest Timeout (Secs) (privilege: advanced)

This parameter specifies the time period after which Data ONTAP deletes unused entries in the access cache.

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

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