Since Azure Files became generally available, we’ve consistently heard from our customers that they want to embrace the power and flexibility of the cloud without giving up the locality of their on-premises file server. Today, we are excited to announce the preview of a great new feature in Azure Files that enables you to get the best of both the cloud and on-premises worlds: Azure File Sync.
Since Azure File Sync is a multi-master sync solution, it makes it easy to solve global access problems introduced by having a single point of access on-premises, or in Azure by replicating data between Azure File shares and servers anywhere in the world. With Azure File Sync, we’ve introduced a very simple concept, the Sync Group, to help you manage the locations that should be kept in sync with each other. Every Sync Group has one cloud endpoint, which represents an Azure File share, and one or more server endpoints, which represents a path on a Windows Server. That’s it! Everything within a Sync Group will be automatically kept in sync!
Azure File Sync also helps you leverage Azure to get control over your on-premises data. Since cloud tiering moves old and infrequently accessed files to Azure, it effectively helps you make unpredictable storage growth predictable. When disasters strike, Azure File Sync can help. Simply set up a new Windows Server, install Azure File Sync, and the namespace is nearly instantly synced down as your cache is rebuilt.
STEP-UP INSTRUCTIONS AND PRE-REQUISITES:
- Two Servers namely CD1 and CD2 and one more server (named Push here) for pushing data to both the servers in the same resource group
- Create a storage account with a unique account and LRS within the same resource group as the VM’s
- After creation of the storage, account go inside the smb file share and create one.
- Go to Azure file sync.
- Give a unique name and stick it in the same resource group.
- Put agents in the servers
- Go to the resource group and find the sync-test.
- Register the servers here.(follow pre-requisites after this step)
- Download and Run the Sync Agent.
- Once installed azure file sync server registration will pop up
- Log In using the azure account.
- Select the same resource group and select sync-test under storage sync option.
- Once done the server will be registered.
- Create a sync group and select the storage account that was created. This is our cloud endpoint.
- Create a server endpoint and specify the path” < path >”.
- Repeat the process from process 8 for the other servers.
Pre-requisites for the servers:
- The server named push shall receive data after the build is done.
- Go to server manager , go to Local Server and turn off the IE Enhanced Security Configuration “OFF”.
- Get into the Powershell ISE and run it as an administrator.
- Run the azure command “install-module azurerm” and select yes on the nuget prompt.