You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/storage/file-sync/file-sync-extend-servers.md
+33-32Lines changed: 33 additions & 32 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -72,16 +72,16 @@ At this point, you've created a storage account and a file share with one file i
72
72
1. Under **Popular Azure services**, select **Virtual machine** > **Create**.
73
73
1. Under **Project details**, select your subscription and the resource group you created for this tutorial.
74
74
75
-
:::image type="content" source="media/storage-sync-files-extend-servers/vm-project-and-instance-details.png" alt-text="Screenshot showing how to supply project and instance details when creating a VM for this tutorial.":::
75
+
:::image type="content" source="media/storage-sync-files-extend-servers/vm-project-and-instance-details.png" alt-text="Screenshot showing how to supply project and instance details when creating a V M for this tutorial.":::
76
76
77
77
1. Under **Instance details**, provide a VM name. For example, use *myVM*.
78
78
1. Don't change the default settings for **Region**, **Availability options**, and **Security type**.
79
79
1. Under **Image**, select **Windows Server 2019 Datacenter - Gen2**. Leave **Size** set to the default.
80
-
1. Under **Administrator account**, provide a **Username** and **Password** for the VM. The username must be between 1 and 20 characters long and can't contain special characters \/""[]:|<>+=;,?*@& or end with '.' The password must be between 12 and 123 characters long, and must have 3 of the following: 1 lower case character, 1 upper case character, 1 number, and 1 special character.
80
+
1. Under **Administrator account**, provide a **Username** and **Password** for the VM. The username must be between 1 and 20 characters long and can't contain special characters \\/""[]:|<>+=;,?*@& or end with '.' The password must be between 12 and 123 characters long, and must have 3 of the following: 1 lower case character, 1 upper case character, 1 number, and 1 special character.
81
81
82
-
:::image type="content" source="media/storage-sync-files-extend-servers/vm-username-and-password.png" alt-text="Screenshot showing how to set the username, password, and inbound port rules for the VM.":::
82
+
:::image type="content" source="media/storage-sync-files-extend-servers/vm-username-and-password.png" alt-text="Screenshot showing how to set the username, password, and inbound port rules for the V M.":::
83
83
84
-
1. Under **Inbound port rules**, choose **Allow selected ports** and then select **RDP (3389)** and **HTTP** from the drop-down menu.
84
+
1. Under **Inbound port rules**, choose **Allow selected ports** and then select **RDP (3389)** and **HTTP (80)** from the drop-down menu.
85
85
86
86
1. Before you create the VM, you need to create a data disk.
87
87
@@ -94,7 +94,7 @@ At this point, you've created a storage account and a file share with one file i
94
94
95
95
1. Use the default settings except for **Size**, which you can change to **4 GiB** for this tutorial by selecting **Change size**.
96
96
97
-
:::image type="content" source="media/storage-sync-files-extend-servers/create-data-disk.png" alt-text="Screenshot showing how to create a new data disk for your VM.":::
97
+
:::image type="content" source="media/storage-sync-files-extend-servers/create-data-disk.png" alt-text="Screenshot showing how to create a new data disk for your V M.":::
98
98
99
99
1. Select **OK**.
100
100
1. Select **Review + create**.
@@ -112,29 +112,29 @@ At this point, you've created a new virtual machine and attached a data disk. Ne
112
112
113
113
1. In the Azure portal, select **Connect** > **RDP** on the VM properties page.
114
114
115
-
:::image type="content" source="media/storage-sync-files-extend-servers/connect-vm.png" alt-text="Screenshot showing the Connect button on the Azure portal with RDP highlighted.":::
115
+
:::image type="content" source="media/storage-sync-files-extend-servers/connect-vm.png" alt-text="Screenshot showing the Connect button on the Azure portal with R D P highlighted.":::
116
116
117
117
1. On the **Connect** page, keep the default options to connect by **Public IP address** over port 3389. Select **Download RDP file**.
118
118
119
-
:::image type="content" source="media/storage-sync-files-extend-servers/download-rdp.png" alt-text="Screenshot showing how to connect with RDP.":::
119
+
:::image type="content" source="media/storage-sync-files-extend-servers/download-rdp.png" alt-text="Screenshot showing how to connect with R D P.":::
120
120
121
121
1. Open the downloaded RDP file and select **Connect** when prompted. You might see a warning that says *The publisher of this remote connection can't be identified*. Click **Connect** anyway.
122
122
123
123
1. In the **Windows Security** window that asks you to enter your credentials, select **More choices** and then **Use a different account**. Enter *localhost\username* in the **email address** field, enter the password you created for the VM, and then select **OK**.
124
124
125
-
:::image type="content" source="media/storage-sync-files-extend-servers/local-host2.png" alt-text="Screenshot showing how to enter your login credentials for the VM.":::
125
+
:::image type="content" source="media/storage-sync-files-extend-servers/local-host2.png" alt-text="Screenshot showing how to enter your login credentials for the V M.":::
126
126
127
127
1. You might receive a certificate warning during the sign-in process saying that the identity of the remote computer cannot be verified. Select **Yes** or **Continue** to create the connection.
128
128
129
-
### Prepare the Windows server VM
129
+
### Prepare the Windows Server VM
130
130
131
131
For the Windows Server 2019 Datacenter VM, disable Internet Explorer Enhanced Security Configuration. This step is required only for initial server registration. You can re-enable it after the server has been registered.
132
132
133
133
In the Windows Server 2019 Datacenter VM, Server Manager opens automatically. If Server Manager doesn't open by default, search for it in Start Menu.
134
134
135
135
1. In **Server Manager**, select **Local Server**.
136
136
137
-
:::image type="content" source="media/storage-sync-files-extend-servers/prepare-server-disable-ieesc-1.png" alt-text="Screenshot showing how to locate Local Server on the left side of the Server Manager UI.":::
137
+
:::image type="content" source="media/storage-sync-files-extend-servers/prepare-server-disable-ieesc-1.png" alt-text="Screenshot showing how to locate Local Server on the left side of the Server Manager U I.":::
138
138
139
139
1. On the **Properties** pane, find the entry for **IE Enhanced Security Configuration** and click **On**.
140
140
@@ -164,7 +164,7 @@ Now you can add the data disk to the VM.
164
164
1. Open the **FilesToSync** folder.
165
165
1. Right-click and select **New** > **Text Document**. Name the text file *MyTestFile*.
166
166
167
-

167
+
:::image type="content" source="media/storage-sync-files-extend-servers/new-file.png" alt-text="Screenshot showing how to add a new text file on the V M.":::
168
168
169
169
1. Close **File Explorer** and **Server Manager**.
170
170
@@ -195,7 +195,7 @@ Next, in the Windows Server 2019 Datacenter VM, install the Azure PowerShell mod
195
195
196
196
1. Answer **Yes** or **Yes to All** to continue with the installation.
197
197
198
-
At this point, you've set up your environment for the tutorial. You're ready to deploy the Storage Sync Service.
198
+
At this point, you've set up your environment for the tutorial. Close the PowerShell window. You're ready to deploy the Storage Sync Service.
199
199
200
200
## Deploy the service
201
201
@@ -205,40 +205,43 @@ To deploy Azure File Sync, you first place a **Storage Sync Service** resource i
205
205
1. In the search results, select **Azure File Sync**.
206
206
1. Select **Create** to open the **Deploy Storage Sync** tab.
:::image type="content" source="media/storage-sync-files-extend-servers/deploy-storage-sync-service.png" alt-text="Screenshot showing how to deploy the Storage Sync Service in the Azure portal.":::
209
209
210
210
On the pane that opens, enter the following information:
211
211
212
212
| Value | Description |
213
213
| ----- | ----- |
214
214
|**Name**| A unique name (per subscription) for the Storage Sync Service.<br><br>Use *afssyncservice02* for this tutorial. |
215
215
|**Subscription**| The Azure subscription you use for this tutorial. |
216
-
|**Resource group**| The resource group that contains the Storage Sync Service.<br><br>Use *afsresgroup101918* for this tutorial. |
216
+
|**Resource group**| The resource group that contains the Storage Sync Service.<br><br>Use *myexamplegroup* for this tutorial. |
217
217
|**Location**| East US |
218
218
219
-
1. When you're finished, select **Create** to deploy the **Storage Sync Service**.
220
-
1.Select the **Notifications** tab >**Go to resource**.
219
+
1. When you're finished, select **Review + Create**and then **Create**to deploy the **Storage Sync Service**. The service will take a few minutes to deploy.
220
+
1.When the deployment is complete, select**Go to resource**.
221
221
222
-
## Install the agent
222
+
## Install the Azure File Sync agent
223
223
224
224
The Azure File Sync agent is a downloadable package that enables Windows Server to be synced with an Azure file share.
225
225
226
-
1. In the **Windows Server 2016 Datacenter** VM, open **Internet Explorer**.
226
+
1. In the **Windows Server 2019 Datacenter** VM, open **Internet Explorer**.
227
+
228
+
> [!IMPORTANT]
229
+
> You might see a warning telling you to turn on **Internet Explorer Enhanced Security Configuration**. Don't turn this back on until you've finished registering the server in the next step.
230
+
227
231
1. Go to the [Microsoft Download Center](https://go.microsoft.com/fwlink/?linkid=858257). Scroll down to the **Azure File Sync Agent** section and select **Download**.
:::image type="content" source="media/storage-sync-files-extend-servers/sync-agent-download.png" alt-text="Screenshot showing how to download the Azure File Sync agent.":::
230
234
231
-
1. Select the check box for **StorageSyncAgent_V3_WS2016.EXE** and select **Next**.
235
+
1. Select the check box for **StorageSyncAgent_WS2019.msi** and select **Next**.
:::image type="content" source="media/storage-sync-files-extend-servers/select-agent.png" alt-text="Screenshot showing how to select the right Azure File Sync agent download.":::
234
238
235
-
1. Select **Allow once** > **Run** > **Open**.
236
-
1. If you haven't already done so, close the PowerShell window.
237
-
1. Accept the defaults in the **Storage Sync Agent Setup Wizard**.
239
+
1. Select **Allow once** > **Run**.
240
+
1. Go through the **Storage Sync Agent Setup Wizard** and accept the defaults.
238
241
1. Select **Install**.
239
242
1. Select **Finish**.
240
243
241
-
You've deployed the Azure Sync Service and installed the agent on the Windows Server 2016 Datacenter VM. Now you need to register the VM with the Storage Sync Service.
244
+
You've deployed the Azure Sync Service and installed the agent on the Windows Server VM. Now you need to register the VM with the Storage Sync Service.
242
245
243
246
## Register Windows Server
244
247
@@ -251,12 +254,10 @@ The Server Registration UI should open automatically after you install the Azure
251
254
1. Sign in with your Azure account credentials and select **Sign-in**.
252
255
1. Provide the following information:
253
256
254
-

255
-
256
257
| Value | Description |
257
258
| ----- | ----- |
258
259
|**Azure Subscription**| The subscription that contains the Storage Sync Service for this tutorial. |
259
-
|**Resource Group**| The resource group that contains the Storage Sync Service. Use *afsresgroup101918* for this tutorial. |
260
+
|**Resource Group**| The resource group that contains the Storage Sync Service. Use *myexamplegroup* for this tutorial. |
260
261
|**Storage Sync Service**| The name of the Storage Sync Service. Use *afssyncservice02* for this tutorial. |
261
262
262
263
1. Select **Register** to complete the server registration.
@@ -269,7 +270,7 @@ A sync group defines the sync topology for a set of files. A sync group must con
269
270
270
271
1. In the [Azure portal](https://portal.azure.com/), select **+ Sync group** from the Storage Sync Service. Use *afssyncservice02* for this tutorial.
271
272
272
-

273
+
:::image type="content" source="media/storage-sync-files-extend-servers/add-sync-group.png" alt-text="Screenshot showing how to create a new sync group in the Azure portal.":::
273
274
274
275
1. Enter the following information to create a sync group with a cloud endpoint:
275
276
@@ -290,7 +291,7 @@ A server endpoint represents a specific location on a registered server. For exa
290
291
291
292
1. Select the newly created sync group and then select **Add server endpoint**.
292
293
293
-

294
+
:::image type="content" source="media/storage-sync-files-extend-servers/add-server-endpoint.png" alt-text="Screenshot showing how to add a new server endpoint in the sync group pane.":::
294
295
295
296
1. On the **Add server endpoint** pane, enter the following information to create a server endpoint:
296
297
@@ -305,11 +306,11 @@ A server endpoint represents a specific location on a registered server. For exa
305
306
306
307
Your files are now in sync across your Azure file share and Windows Server.
:::image type="content" source="media/storage-sync-files-extend-servers/files-synced-in-azurestorage.png" alt-text="Screenshot showing files successfully synced with an Azure file share.":::
309
310
310
311
## Clean up resources
311
312
312
-
If you'd like to clean up the resources you created in this tutorial, first remove the endpoints from the storage sync service. Then, unregister the server with your storage sync service, remove the sync groups, and delete the sync service.
313
+
If you'd like to clean up the resources you created in this tutorial, first remove the endpoints from the Storage Sync service. Then, unregister the server with your Storage Sync service, remove the sync groups, and delete the Storage Sync service.
0 commit comments