Add preferred domain controllers
-
PDF of this doc site
- Cluster administration
-
Volume administration
- Logical storage management with the CLI
-
NAS storage management
- Configure NFS with the CLI
- Manage NFS with the CLI
-
Manage SMB with the CLI
- Manage file access using SMB
- Security and data encryption
- Data protection and disaster recovery
Collection of separate PDF docs
Creating your file...
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.
If a preferred domain controller list already exists for the specified domain, the new list is merged with the existing list.
-
To add to the list of preferred domain controllers, enter the following command:
vserver cifs domain preferred-dc add -vserver vserver_name -domain domain_name -preferred-dc IP_address, …+
-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.
The following command adds domain controllers 172.17.102.25 and 172.17.102.24 to the list of preferred domain controllers that the SMB 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