vserver cifs domain discovered-servers discovery-mode modify

Modify Server Discovery Mode

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

Description

The vserver cifs domain discovered-servers discovery-mode modify command modifies the configuration for the server discovery mode of one or more Data Vservers.

Parameters

-vserver <vserver name> - Vserver
Use this parameter to specify the Vserver for which you want to modify the server discovery mode.
[-mode {all|site|none}] - Server Discovery Mode
Use this parameter to specify the server discovery mode for the Vserver. Following are the possible values for this parameter:
  • all - Discover all the servers in the domain.
  • site - Discover the servers local to the site.
  • none - Discover nothing. Depend only on preferred-dc configured.

Examples

The following example disables server discovery for a Vserver.

cluster1::> vserver cifs domain discovered-servers discovery-mode modify -vserver vs1 -mode none