@@ -7,7 +7,7 @@ ms.subservice: azure-arc-data-sqlmi
7
7
author : mikhailalmeida
8
8
ms.author : mialmei
9
9
ms.reviewer : mikeray
10
- ms.date : 05/05 /2022
10
+ ms.date : 08/16 /2022
11
11
ms.topic : how-to
12
12
---
13
13
@@ -37,7 +37,7 @@ To know further details about how to set up OU and AD account, go to [Deploy Azu
37
37
#### Create an AD connector instance
38
38
39
39
> [ !NOTE]
40
- > Make sure the password of provided domain service AD account here doesn't contain ` ! ` as special characters.
40
+ > Make sure to wrap your password for the domain service AD account with single quote ` ' ` to avoid the expansion of special characters such as ` ! ` .
41
41
>
42
42
43
43
To view available options for create command for AD connector instance, use the following command:
@@ -57,7 +57,7 @@ az arcdata ad-connector create
57
57
--k8s-namespace < Kubernetes namespace >
58
58
--realm < AD Domain name >
59
59
--nameserver-addresses < DNS server IP addresses >
60
- --account-provisioning < account provisioning mode : manual or auto >
60
+ --account-provisioning < account provisioning mode : manual or automatic >
61
61
--prefer-k8s-dns < whether Kubernetes DNS or AD DNS Server for IP address lookup >
62
62
--use-k8s
63
63
```
@@ -75,6 +75,22 @@ az arcdata ad-connector create
75
75
--use-k8s
76
76
```
77
77
78
+ ``` azurecli
79
+ # Setting environment variables needed for automatic account provisioning
80
+ DOMAIN_SERVICE_ACCOUNT_USERNAME='sqlmi'
81
+ DOMAIN_SERVICE_ACCOUNT_PASSWORD='arc@123!!'
82
+
83
+ # Deploying active directory connector with automatic account provisioning
84
+ az arcdata ad-connector create
85
+ --name arcadc
86
+ --k8s-namespace arc
87
+ --realm CONTOSO.LOCAL
88
+ --nameserver-addresses 10.10.10.11
89
+ --account-provisioning automatic
90
+ --prefer-k8s-dns false
91
+ --use-k8s
92
+ ```
93
+
78
94
##### Directly connected mode
79
95
80
96
``` azurecli
@@ -83,7 +99,7 @@ az arcdata ad-connector create
83
99
--dns-domain-name < The DNS name of AD domain >
84
100
--realm < AD Domain name >
85
101
--nameserver-addresses < DNS server IP addresses >
86
- --account-provisioning < account provisioning mode : manual or auto >
102
+ --account-provisioning < account provisioning mode : manual or automatic >
87
103
--prefer-k8s-dns < whether Kubernetes DNS or AD DNS Server for IP address lookup >
88
104
--data-controller-name < Arc Data Controller Name >
89
105
--resource-group < resource-group >
@@ -103,6 +119,23 @@ az arcdata ad-connector create
103
119
--resource-group arc-rg
104
120
```
105
121
122
+ ``` azurecli
123
+ # Setting environment variables needed for automatic account provisioning
124
+ DOMAIN_SERVICE_ACCOUNT_USERNAME='sqlmi'
125
+ DOMAIN_SERVICE_ACCOUNT_PASSWORD='arc@123!!'
126
+
127
+ # Deploying active directory connector with automatic account provisioning
128
+ az arcdata ad-connector create
129
+ --name arcadc
130
+ --realm CONTOSO.LOCAL
131
+ --dns-domain-name contoso.local
132
+ --nameserver-addresses 10.10.10.11
133
+ --account-provisioning automatic
134
+ --prefer-k8s-dns false
135
+ --data-controller-name arcdc
136
+ --resource-group arc-rg
137
+ ```
138
+
106
139
### Update an AD connector instance
107
140
108
141
To view available options for update command for AD connector instance, use the following command:
0 commit comments