Skip to main content

vserver services name-service cache group-membership settings modify

Contributors
Suggest changes

Modify Group Membership Cache Configuration

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

Description

The vserver services name-service cache group-membership settings modify command modifies the group membership cache configuration of the specified Vserver.

Parameters

-vserver <vserver name> - Vserver (privilege: advanced)

Use this parameter to specify the Vserver for which the group membership cache settings need to be modified.

[-is-enabled {true|false}] - Is Cache Enabled? (privilege: advanced)

Use this parameter to specify if the cache needs to be enabled for the group membership database. The value true means the cache is enabled and the value false means the cache is diabled. The default value for this parameter is true .

[-grplist-ttl <[<integer>d][<integer>h][<integer>m][<integer>s]>] - Time to Live for Grplist (privilege: advanced)

Use this parameter to specify the time (in hours, minutes and seconds) for which the group membership entries need to be cached. The default value is 1 hour.

Examples

The following example modifies the group membership cache configuration settings for Vserver vs0:

cluster1::> vserver services name-service cache group-membership settings modify -vserver vs0 -grplist-ttl 600

The following example disables the group membership cache for Vserver vs0:

cluster1::> vserver services name-service cache group-membership settings modify -vserver vs0 -is-enabled false