Skip to content

Commit c826f15

Browse files
authored
Merge pull request #234581 from jeffpatt24/patch-5
Update storage-files-scale-targets.md
2 parents a624ae1 + ada28b8 commit c826f15

File tree

4 files changed

+57
-14
lines changed

4 files changed

+57
-14
lines changed

articles/storage/file-sync/file-sync-troubleshoot-installation.md

Lines changed: 38 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,30 +15,61 @@ After deploying the Storage Sync Service, the next steps in deploying Azure File
1515

1616
## Agent installation
1717
<a id="agent-installation-failures"></a>**Troubleshoot agent installation failures**
18-
If the Azure File Sync agent installation fails, at an elevated command prompt, run the following command to turn on logging during agent installation:
18+
If the Azure File Sync agent installation fails, locate the installation log file which is located in the agent installation directory. If the Azure File Sync agent is installed on the C: volume, the installation log file is located under C:\Program Files\Azure\StorageSyncAgent\InstallerLog.
1919

20+
> [!Note]
21+
> If the Azure File Sync agent is installed from the command line and the /l\*v switch is used, the log file will be located in the path where the agent installation was executed.
22+
23+
The log file name for agent installations using the MSI package is AfsAgentInstall. The log file name for agent installations using the MSP package (update package) is AfsUpdater.
24+
25+
Once you have located the agent installation log file, open the file and search for the failure code at the end of the log. If you search for **error code 1603** or **sandbox**, you should be able to locate the error code.
26+
27+
Here is a snippet from an agent installation that failed:
2028
```
21-
StorageSyncAgent.msi /l*v AFSInstaller.log
29+
CAQuietExec64: + CategoryInfo : SecurityError: (:) , PSSecurityException
30+
CAQuietExec64: + FullyQualifiedErrorId : UnauthorizedAccess
31+
CAQuietExec64: Error 0x80070001: Command line returned an error.
32+
CAQuietExec64: Error 0x80070001: QuietExec64 Failed
33+
CAQuietExec64: Error 0x80070001: Failed in ExecCommon64 method
34+
CustomAction SetRegPIIAclSettings returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)
35+
Action ended 12:23:40: InstallExecute. Return value 3.
36+
MSI (s) (0C:C8) [12:23:40:994]: Note: 1: 2265 2: 3: -2147287035
2237
```
2338

24-
Review installer.log to determine the cause of the installation failure.
39+
For this example, the agent installation failed with error code -2147287035 (ERROR_ACCESS_DENIED).
2540

2641
<a id="agent-installation-gpo"></a>**Agent installation fails with error: Storage Sync Agent Setup Wizard ended prematurely because of an error**
2742

2843
In the agent installation log, the following error is logged:
2944

3045
```
31-
CAQuietExec64: + CategoryInfo : SecurityError: (:) , PSSecurityException
32-
CAQuietExec64: + FullyQualifiedErrorId : UnauthorizedAccess
33-
CAQuietExec64: Error 0x80070001: Command line returned an error.
46+
CAQuietExec64: + CategoryInfo : SecurityError: (:) , PSSecurityException
47+
CAQuietExec64: + FullyQualifiedErrorId : UnauthorizedAccess
48+
CAQuietExec64: Error 0x80070001: Command line returned an error.
49+
CAQuietExec64: Error 0x80070001: QuietExec64 Failed
50+
CAQuietExec64: Error 0x80070001: Failed in ExecCommon64 method
51+
CustomAction SetRegPIIAclSettings returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)
52+
Action ended 12:23:40: InstallExecute. Return value 3.
53+
MSI (s) (0C:C8) [12:23:40:994]: Note: 1: 2265 2: 3: -2147287035
3454
```
3555

3656
This issue occurs if the [PowerShell execution policy](/powershell/module/microsoft.powershell.core/about/about_execution_policies#use-group-policy-to-manage-execution-policy) is configured using group policy and the policy setting is "Allow only signed scripts." All scripts included with the Azure File Sync agent are signed. The Azure File Sync agent installation fails because the installer is performing the script execution using the Bypass execution policy setting.
3757

3858
To resolve this issue, temporarily disable the [Turn on Script Execution](/powershell/module/microsoft.powershell.core/about/about_execution_policies#use-group-policy-to-manage-execution-policy) group policy setting on the server. Once the agent installation completes, the group policy setting can be re-enabled.
3959

4060
<a id="agent-installation-on-DC"></a>**Agent installation fails on Active Directory Domain Controller**
41-
If you try to install the sync agent on an Active Directory domain controller where the PDC role owner is on a Windows Server 2008 R2 or below OS version, you may hit the issue where the sync agent will fail to install.
61+
62+
In the agent installation log, the following error is logged:
63+
64+
```
65+
CAQuietExec64: Error 0x80070001: Command line returned an error.
66+
CAQuietExec64: Error 0x80070001: CAQuietExec64 Failed
67+
CustomAction InstallHFSRequiredWindowsFeatures returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)
68+
Action ended 8:51:12: InstallExecute. Return value 3.
69+
MSI (s) (EC:B4) [08:51:12:439]: Note: 1: 2265 2: 3: -2147287035
70+
```
71+
72+
This issue occurs if you try to install the sync agent on an Active Directory domain controller where the PDC role owner is on a Windows Server 2008 R2 or below OS version.
4273

4374
To resolve, transfer the PDC role to another domain controller running Windows Server 2012 R2 or more recent, then install sync.
4475

articles/storage/file-sync/file-sync-troubleshoot-sync-errors.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@ This article is designed to help you troubleshoot and resolve common sync issues
2020
[!INCLUDE [storage-sync-files-change-detection](../../../includes/storage-sync-files-change-detection.md)]
2121

2222
<a id="serverendpoint-pending"></a>**Server endpoint health is in a pending state for several hours**
23-
This issue is expected if you create a cloud endpoint and use an Azure file share that contains data. The change enumeration job that scans for changes in the Azure file share must complete before files can sync between the cloud and server endpoints. The time to complete the job is dependent on the size of the namespace in the Azure file share. The server endpoint health should update once the change enumeration job completes.
23+
This issue is expected if you create a cloud endpoint and use an Azure file share that contains data. The cloud change enumeration job that scans for changes in the Azure file share must complete before files can sync between the cloud and server endpoints. The time to complete the job is dependent on the size of the namespace in the Azure file share. The server endpoint health should update once the change enumeration job completes.
24+
25+
To check the status of the cloud change enumeration job, go the Cloud Endpoint properties in the portal and the status is provided in the Change Enumeration section.
2426

2527
### <a id="broken-sync"></a>How do I monitor sync health?
2628
# [Portal](#tab/portal1)
@@ -781,7 +783,7 @@ Server endpoint provisioning fails with this error code if these conditions are
781783
* This server endpoint was provisioned with the initial sync mode: [server authoritative](file-sync-server-endpoint-create.md#initial-sync-section)
782784
* Local server path is empty or contains no items recognized as able to sync.
783785

784-
This provisioning error protects you from deleting all content that might be available in an Azure file share. Server authoritative upload is a special mode to catch up a cloud location that was already seeded, with the updates from the server location. Review this [migration guide](../files/storage-files-migration-server-hybrid-databox.md) to understand the scenario for which this mode has been built for.
786+
This provisioning error protects you from deleting all content that might be available in an Azure file share. Server authoritative upload is a special mode to catch up a cloud location that was already seeded, with the updates from the server location. Review this [migration guide](../files/storage-files-migration-server-hybrid-databox.md) to understand the scenario for which this mode has been built.
785787

786788
1. Remove the server endpoint in the sync group by following the steps documented in [Remove a server endpoint](file-sync-server-endpoint-delete.md).
787789
1. Create a new server endpoint in the sync group by following the steps documented in [Add a server endpoint](file-sync-server-endpoint-create.md).

articles/storage/files/storage-files-faq.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,13 @@ ms.topic: conceptual
2525

2626
* <a id="afs-conflict-resolution"></a>
2727
**If the same file is changed on two servers at approximately the same time, what happens?**
28+
File conflicts are created when the file in the Azure file share doesn't match the file in the server endpoint location (size and/or last modified time is different).
29+
30+
The following scenarios can cause file conflicts:
31+
- A file is created or modified in an endpoint (for example, Server A). If the same file is modified on a different endpoint before the change on Server A is synced to that endpoint, a conflict file is created.
32+
- The file existed in the Azure file share and server endpoint location prior to the server endpoint creation. If the file size and/or last modified time is different between the file on the server and Azure file share when the server endpoint is created, a conflict file is created.
33+
- Sync database was recreated due to corruption or knowledge limit reached. Once the database is recreated, sync enters a mode called reconciliation. If the file size and/or last modified time is different between the file on the server and Azure file share when reconciliation occurs, a conflict file is created.
34+
2835
Azure File Sync uses a simple conflict-resolution strategy: we keep both changes to files that are changed in two endpoints at the same time. The most recently written change keeps the original file name. The older file (determined by LastWriteTime) has the endpoint name and the conflict number appended to the file name. For server endpoints, the endpoint name is the name of the server. For cloud endpoints, the endpoint name is **Cloud**. The name follows this taxonomy:
2936

3037
\<FileNameWithoutExtension\>-\<endpointName\>\[-#\].\<ext\>

articles/storage/files/storage-files-scale-targets.md

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ File scale targets apply to individual files stored in Azure file shares.
9090
<sup>3 Azure Files supports 2,000 open handles per share, and in practice can go higher. However, if an application keeps an open handle on the root of the share, the share root limit will be reached before the per-file or per-directory limit is reached.</sup>
9191

9292
## Azure File Sync scale targets
93-
The following table indicates which target are soft, representing the Microsoft tested boundary, and hard, indicating an enforced maximum:
93+
The following table indicates which targets are soft, representing the Microsoft tested boundary, and hard, indicating an enforced maximum:
9494

9595
| Resource | Target | Hard limit |
9696
|----------|--------------|------------|
@@ -109,7 +109,7 @@ The following table indicates which target are soft, representing the Microsoft
109109
> [!Note]
110110
> An Azure File Sync endpoint can scale up to the size of an Azure file share. If the Azure file share size limit is reached, sync will not be able to operate.
111111
112-
### Azure File Sync performance metrics
112+
## Azure File Sync performance metrics
113113
Since the Azure File Sync agent runs on a Windows Server machine that connects to the Azure file shares, the effective sync performance depends upon a number of factors in your infrastructure: Windows Server and the underlying disk configuration, network bandwidth between the server and the Azure storage, file size, total dataset size, and the activity on the dataset. Since Azure File Sync works on the file level, the performance characteristics of an Azure File Sync-based solution should be measured by the number of objects (files and directories) processed per second.
114114

115115
For Azure File Sync, performance is critical in two stages:
@@ -119,7 +119,8 @@ For Azure File Sync, performance is critical in two stages:
119119
> [!Note]
120120
> When many server endpoints in the same sync group are syncing at the same time, they are contending for cloud service resources. As a result, upload performance will be impacted. In extreme cases, some sync sessions will fail to access the resources, and will fail. However, those sync sessions will resume shortly and eventually succeed once the congestion is reduced.
121121
122-
To help you plan your deployment for each of the stages, below are the results observed during the internal testing on a system with a config
122+
## Internal test results
123+
To help you plan your deployment for each of the stages (initial one-time provisioning and ongoing sync), below are the results observed during the internal testing on a system with the following configuration:
123124

124125
| System configuration | Details |
125126
|-|-|
@@ -129,6 +130,8 @@ To help you plan your deployment for each of the stages, below are the results o
129130
| Network | 1 Gbps Network |
130131
| Workload | General Purpose File Server|
131132

133+
### Initial one-time provisioning
134+
132135
| Initial one-time provisioning | Details |
133136
|-|-|
134137
| Number of objects | 25 million objects |
@@ -138,8 +141,6 @@ To help you plan your deployment for each of the stages, below are the results o
138141
| Upload Throughput | 20 objects per second per sync group |
139142
| Namespace Download Throughput | 400 objects per second |
140143

141-
### Initial one-time provisioning
142-
143144
**Initial cloud change enumeration**: When a new sync group is created, initial cloud change enumeration is the first step that will execute. In this process, the system will enumerate all the items in the Azure File Share. During this process, there will be no sync activity i.e. no items will be downloaded from cloud endpoint to server endpoint and no items will be uploaded from server endpoint to cloud endpoint. Sync activity will resume once initial cloud change enumeration completes.
144145
The rate of performance is 80 objects per second. Customers can estimate the time it will take to complete initial cloud change enumeration by determining the number of items in the cloud share and using the following formulae to get the time in days.
145146

@@ -157,6 +158,8 @@ Splitting your data into multiple server endpoints and sync groups can speed up
157158

158159
**Namespace download throughput** When a new server endpoint is added to an existing sync group, the Azure File Sync agent does not download any of the file content from the cloud endpoint. It first syncs the full namespace and then triggers background recall to download the files, either in their entirety or, if cloud tiering is enabled, to the cloud tiering policy set on the server endpoint.
159160

161+
### Ongoing sync
162+
160163
| Ongoing sync | Details |
161164
|-|--|
162165
| Number of objects synced| 125,000 objects (~1% churn) |

0 commit comments

Comments
 (0)