vserver services name-service nis-domain netgroup-database config modify

Modify NIS netgroup database configuration

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

Description

The vserver services name-service nis-domain netgroup-database config modify command modifies NIS netgroup.byhost database configuration of the specified Vserver.

Parameters

-vserver <vserver name> - Vserver
Use this parameter to specify the Vserver for which the settings need to be modified.
[-state {enabled|disabled}] - State
Use this parameter to enable and disable NIS netgroup.byhost databases. Default value is disabled.
[-build-interval <[<integer>h][<integer>m][<integer>s]>] - Build Interval
Use this parameter to specify the NIS netgroup.byhost database build time interval. Default value is 24 hours and minumum value can be set to 5 minutes. Setting build interval below 1 hour may impact the performance.

Examples

The following example enables NIS netgroup.byhost database and sets the build interval to 24 hours for Vserver vs0:
cluster1::> vserver services name-service nis-domain netgroup-database config modify -vserver vs0 -build-interval 24h -state enabled