Azure File Sync

Azure File Sync

Azure File Sync

Files are an important resource in a company. For workstations rarely connected to the local network, these files are stored locally.
It is therefore important to ensure that these files are synchronized on an enterprise server or in the cloud. All protocols offered by Windows Server (SMB, NFS et FTPS) are available in Azure File Sync.

Prerequisites

Several prerequisites are necessary to set up Azure File Sync :

  • Create Azure storage account
  • Create a file share in Azure
  • have a Windows Server instance

Before implementing the solution, it’s important to check the availability of the functionality.
Availability Azure File Sync

Create account storage

From the Azure portal (Azure.microsoft.com), click on All services then Storage account.

Azure File Sync

A new window appears, click on Add.

Azure File Sync

Enter the name of the storage account, if valid select the Azure region. Then select the desired redundancy. Create or select ressource groups and click to Create button.

Azure File Sync

The account storage has now been created.

Create file sharing

Azure file sharing requires the prior creation of a storage account. From the Azure portal, click on All Resources then on the storage account previously created.

Azure File Sync

In the center panel, click Files.

Azure File Sync

Click File Share in the center panel.

Azure File Sync

Enter the name of the share and the quota in GB.

Azure File Sync

Sharing is now created

Deployment of Azure File Sync

In order to be able to deploy Azure File Sync, it is necessary to perform some operations in the Azure portal. From the Azure portal, click Create a ressource and then search azure File Sync. Click Create on the central panel.

Azure File Sync

Enter the desired name and the resource group to be used. Click to Create for lauch creation

Azure File Sync

Azure File Sync is now correctly configured.

Azure File Sync

Click to Getting started to see the operations to be performed.

Azure File Sync

Register your servers

You need install Windows Management Framework 5.1 and AzureRM PowerShell on the server where agent will be installed.

You can download Windows Management Framework 5.1 on this web page.
https://www.microsoft.com/en-us/download/details.aspx?id=54616

When it’s installed, you can execute the command PowerShell for install AZureRM PowerShell Module.

  • Install-Module PowerShellGet -Force
  • Install-Module -Name AzureRM -AllowClobber

Azure File Sync

In the Getting Started, click to the Download the sync agent link for download the agent.

Azure File Sync

Launch the agent file on the server then in the welcome window, click Next.

Azure File Sync

Validate the following windows then proceed to install the agent.

Azure File Sync

Click Finish at the end of the installation. A window appears to verify that the agent is up to date.

Azure File Sync

Click Sign in to register the server. Enter the Azure identifiers in the window that appears.

Azure File Sync

Use the drop-down lists to select Azure Subscription, Resource Group and Storage Sync Service. Click to Register to validate operation.

Azure File Sync

Create a synchronization group

From the Azure portal, click on All Resources then on the File sync service previously created.

Azure File Sync

In the center panel, click Sync group.

Azure File Sync

Enter the name of the storage group and select the storage account. From the drop-down list, select Azure file sharing. Click to create to lauch creation

Azure File Sync

Click on the previously created Sync group. An endpoints server must be added. To do this click on Add server Endpoint in the central panel. Select the desired server Registered then in the Path field enter the path of the directory containing the data. Click to create to lauch creation.

Azure File Sync

Azure File Sync

Files and folders in the directory are replicated in Azure. Depending on the quantity of Data, this operation can be more or less long. If you return to the created share, the files are present.

Azure File Sync

Click Connect for instructions to connecting a network drive.

Azure File Sync

Azure File Sync

you can run the command to connect the network drive

Azure File Sync

Azure File Sync

Laisser un commentaire

Votre adresse de messagerie ne sera pas publiée. Les champs obligatoires sont indiqués avec *

Ce site utilise Akismet pour réduire les indésirables. En savoir plus sur comment les données de vos commentaires sont utilisées.