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

vserver export-policy access-cache config modify-all-vservers

Contributors
Suggest changes

Modify exports access cache configuration for all Vservers

Availability: This command is available to cluster administrators at the advanced privilege level.

Description

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

Note This command is not supported in a cluster with effective cluster version of Data ONTAP 9.0.0 or later. The access cache settings are modified on a per-Vserver basis starting Data ONTAP 9.0.0. See the vserver export-policy access-cache config modify command.

Parameters

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

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

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

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

[-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 all Vservers in a cluster where the effective cluster version is earlier than Data ONTAP 9.0.0.

cluster1::*> vserver export-policy access-cache config modify-all-vservers -ttl-positive 36000 -ttl-negative 3600 -harvest-timeout 43200

cluster1::*> vserver export-policy access-cache config show-all-vservers
     TTL For Positive Entries (secs): 36000
     TTL For Negative Entries (secs): 3600
              Harvest Timeout (secs): 43200