Adding preferred domain controllers
ONTAP automatically discovers domain controllers through DNS. Optionally, you can add one or more domain controllers to the list of preferred domain controllers for a specific domain.
About this task
If a preferred domain controller list already exists for the specified domain, the new list is merged with the existing list.
-vserver vserver_name specifies the storage virtual machine (SVM) name.
-domain domain_name specifies the fully qualified Active Directory name of the domain to which the specified domain controllers belong.
-preferred-dc IP_address,... specifies one or more IP addresses of the preferred domain controllers, as a comma-delimited list, in order of preference.
Example
The following command adds domain controllers 172.17.102.25 and 172.17.102.24 to the list of preferred domain controllers that the CIFS server on SVM vs1 uses to manage external access to the cifs.lab.example.com domain.
cluster1::> vserver cifs domain preferred-dc add -vserver vs1 -domain cifs.lab.example.com -preferred-dc 172.17.102.25,172.17.102.24