Connect ADF to SQL hybrid availability group for data copy

DanielB 1 Reputation point
2020-08-04T15:46:46.88+00:00

Hi everyone,

What's the best possible solution to connect Azure Data Factory to a hybrid SQL always-on availability Group for Data copy ?

Current Situation:
Azure Data factory is currently connected via self-hosted integration runtime to connect to the on-prem SQL databases.
At the same time, we are setting up an always on availability group (with read-intend routing) between our on-prem cluster and a VM running in Azure in a private VNET.

Is there a possibility to connect Azure Data factory directly to the VM running in Azure, and if yes, what would be the impact or changes that we need to do?

In the current setup, when using the read-intend routing our self-hosted integration runtime will probably handle the data transfer, meaning the data is downloaded from the cloud and uploaded again to the data factory.
Is there a possibility to avoid the download and upload of the data (since it is already replicated to Azure) ?

Here a quick visual of the setup:
15583-image.png

SQL Server on Azure Virtual Machines
Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
{count} votes

1 answer

Sort by: Most helpful
  1. HimanshuSinha 19,547 Reputation points Microsoft Employee Moderator
    2020-08-05T21:30:42.793+00:00

    Hello ,

    Thanks for the ask and using this forum .

    Please do allow me to put forward my understanding . Since you are already having a secondary replica running on Azure of the always on setup , the ask is if we can use that to connect to ADF .

    Since we don't have the setup so we are not able to test this , but in theory this should work . To my understanding you may have to move the SHIR on to the VM on which SQL is running , since the VM is in Azure it can work without that also , but I am not sure .

    Please do let us know how it goes .

    Thanks Himanshu

    Please do consider to click on "Accept Answer" and "Up-vote" on the post that helps you, as it can be beneficial to other community members

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.