vserver services name-service cache settings modify
Contributors
Suggest changes
Modify nameservice global cache settings
Availability: This command is available to cluster administrators at the advanced privilege level.
Description
The vserver services name-service cache settings modify
command modifies the global name service cache configuration.
Parameters
[-eviction-time-interval <[<integer>d][<integer>h][<integer>m][<integer>s]>]
- Cache Eviction Time Interval (privilege: advanced)-
Use this parameter to specify the time interval after which a periodic cache eviction will happen. The default value is 4 hours.
[-is-remote-fetch-enabled {true|false}]
- Is Remote Fetch Enabled (privilege: advanced)-
Use this parameter to specify whether a node is allowed to fetch the data from a remote node or not. If the value is set as
false
, the node is not allowed to fetch the data from the remote node. If the value is set astrue
, remote fetch is allowed.
Examples
The following example modifies the global nameservice cache configuration:
cluster1::> vserver services name-service cache settings modify -eviction-time-interval 1h -is-remote-fetch-enabled true