- Distributed File system, Sync’s data across your on-premises file servers.
- The files are stored in Azure file Share.
- The data can then be cached on your on-premises servers.
Features and Benefits
- Multiple File Servers at multiple locations. Sync all to single Azure File Storage.
- Commonly used files are cached on local server.
- The older, rarely accessed files will move to Azure thus freeing your local file server.
- A disaster Recovery Solutions for File Server. If local File Server is Destroyed, set up a VM or Physical server, join to the previous sync group and you get ‘’rapid restore’’
- A Storage Account with Azure file share.
- Ensure that Azure file sync is available in the desired region.
- Deploy the Azure sync service in your resource group.
- Create a sync Group. Here you need to specify a storage account.
Preparing your server
- Your on-premise Windows server is running Windows server 2012 R2 or higher.
- Ensure PowerShell 5.1 running on your system.
- Install the Azure RM module.
- Internet Explorer Enhance security is off for Administrators and Users
- Download and install Azure File Sync agent
Lab Azure File Sync
- First create a storage account
- Create a file share
- Deploy the sync service in your resource group
- Create a Sync group with file shares. This creates an entity known as a cloud endpoint.
- On the Windows server
- Check the pre-requisites
- Download and install the Azure File Sync Agent
- Register the server in the portal
- Once the server has been registered, in the Sync group, add the server endpoint
- When you add the server endpoint, you have to decide on the local folder on the windows server which you want to sync
- Once the server endpoint is created, wait for the status of the server endpoint to change to healthy
- Then let’s place a file on one server and see it sync to the cloud
- Let’s then register a second server
- And then see the file being available on the second server
Steps 1 Create Azure Storage Account.
Steps 2 Create Azure File Share.
We can create a file share with storage quota ranging from 1GB to 5TB.
Steps 3 you can see Azure File Share.
Steps 4 Create Azure Storage File Sync.
Steps 5 Create Sync Group and Select the storage account that we created in the first step.
Steps 6 You can see Sync Groups.
Steps 7 Turn off Internet Explorer Enhanced Security Configuration on both VM’s.
Steps 8 This Is File-Server01 with location set as London.
Steps 8 This is File Server02 with location set as Singapore.
Steps 9 Click on registered Server.
Steps 10 You can download Azure File Sync Agent through link Given below.
Steps 11 Download StorageSyncAgent_V4_WS2016.msi.
Steps 12 Before Installing the Sync Agent Please install PowerShell Module on both VM’S, Click On Install.
Steps 13 Click on Run.
Steps 14 Click on Next Button.
Steps 15 Click on Next ( End user license Agreement).
Steps 17 Click on next button.
Steps 18 Click on Next button.
Steps 19 Click on next Button.
Steps 20 Click on Install Agent Button.
Steps 21 Setup Completed Click on finish Button.
Steps 21 Click on Update.
Steps 22 Click on Azure file Sync -Server Registration.
Steps 23 Enter Your credentials.
Steps 24 Choose your Azure Subscription, Resource Group and Storage Sync Services.
Steps 25 Enter Your Credentials.
Steps 26 Azure File Sync Server Registration has been Completed.
Steps 27 Click on Add server Endpoint.
Steps 28 Add server Endpoint one by one for both File Server01 and File Server02.
Steps 29 You can see both server endpoint have been added.
Steps 30 If you create folders on the FileServer01 (London), as shown below.
You will be able to see the exact data being replicated on File-server02 (Singapore).
Steps 31 All the data that is shared between the two vm’s with location London and Singapore is stored on Azure File Share as shown below.
I hope this will help you setup Azure File Sync for your needs. If you have any queries, Please feel free to contact us here https://www.mismosystems.com/contact-us/