lift n shift of ssis package to azurerms.koenig-solutions.com/sync_data/trainer/qms/1098...2) visual...

13
LIFT n Shift of SSIS Package to Azure Prerequisites: 1) Azure SQL server instance to be created and we have added a server firewall with ip from 0.0.0.0 to 255.255.255.255 to avoid any failure . It is not recommended for real time. 2) Visual studio 2019 Enterprise with SQL server data tools and SSMS 2017 is installed. First of all we should create Azure Data Factory account and to do that the steps are as follows: 1) Go to Home page of your azure portal and click on Create a resource icon. 2) Click on Analytics category and select Data Factory from it. 3) Fill the desires information and click on create button.

Upload: others

Post on 07-Jul-2020

0 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: LIFT n Shift of SSIS Package to Azurerms.koenig-solutions.com/Sync_data/Trainer/QMS/1098...2) Visual studio 2019 Enterprise with SQL server data tools and SSMS 2017 is installed. First

LIFT n Shift of SSIS Package to Azure

Prerequisites:

1) Azure SQL server instance to be created and we have added a server firewall with ip from

0.0.0.0 to 255.255.255.255 to avoid any failure . It is not recommended for real time.

2) Visual studio 2019 Enterprise with SQL server data tools and SSMS 2017 is installed.

First of all we should create Azure Data Factory account and to do that the steps are as follows:

1) Go to Home page of your azure portal and click on Create a resource icon.

2) Click on Analytics category and select Data Factory from it.

3) Fill the desires information and click on create button.

Page 2: LIFT n Shift of SSIS Package to Azurerms.koenig-solutions.com/Sync_data/Trainer/QMS/1098...2) Visual studio 2019 Enterprise with SQL server data tools and SSMS 2017 is installed. First

When your Data Factory account is ready then open it and click on Author& Monitor button to

open it in another tab.

Once it is ready in another tab then click on “Configure SSIS Integration” icon on the Home page

of Data Factory.

Page 3: LIFT n Shift of SSIS Package to Azurerms.koenig-solutions.com/Sync_data/Trainer/QMS/1098...2) Visual studio 2019 Enterprise with SQL server data tools and SSMS 2017 is installed. First

It will start a wizard. Fill the desired information as follows

Page 4: LIFT n Shift of SSIS Package to Azurerms.koenig-solutions.com/Sync_data/Trainer/QMS/1098...2) Visual studio 2019 Enterprise with SQL server data tools and SSMS 2017 is installed. First

In the following Screenshot you should click on “create new” link under Vnet option if you don’t have

any Vnet created.

To create Vnet the steps are as follows

Page 5: LIFT n Shift of SSIS Package to Azurerms.koenig-solutions.com/Sync_data/Trainer/QMS/1098...2) Visual studio 2019 Enterprise with SQL server data tools and SSMS 2017 is installed. First

Here my Vnet name is FactoryVnet and IP I have given as : 10.0.0.0/16 and subnet name is factorysubnet

and address range is 10.0.0.0/24

Once it is successfully created the same should reflect in your Integration Runtime Setup wizard.

Click on Vnet validation button for Test and if Successful click on continue button else troubleshoot it.

Now The wizard will show you a summary report, Check it and click on Create button to implement it.

Page 6: LIFT n Shift of SSIS Package to Azurerms.koenig-solutions.com/Sync_data/Trainer/QMS/1098...2) Visual studio 2019 Enterprise with SQL server data tools and SSMS 2017 is installed. First

Now The Integration Runtime creation process is over and Azure Data Factory will start the IR. It may

take some time to start. You should click on Monitor section to check the progress and Status.

A general reason to fail the start of IR is Azure SQL server Firewall and that why we have set it to a range

from 0.0.0.0 to 255.255.255.255, else you need to set the IP address of your connection to the Firewall

and only the IR start will be successful.

Ensure that IR is in running state.

Once IR is up now we will go to Visual Studio 2019 to design a Package.

Page 7: LIFT n Shift of SSIS Package to Azurerms.koenig-solutions.com/Sync_data/Trainer/QMS/1098...2) Visual studio 2019 Enterprise with SQL server data tools and SSMS 2017 is installed. First

I have created a package in which Data is transferred from One Azure SQL Database (source) to another

Azure SQL Database(dest).

Package Name is : Package.dtsx

Project Name is : ssisonazure

Source server : kksnp.database.windows.net

Source Table : saleslt.customer

Destination Server : kksnp.database.windows.net

Destination Table : dbo.OLEDNDestination

After designing of the Package, Test it and if no error then we will deploy it on Azure by following steps:

1) Go to your Project in solution explorer and click right button, you will see Deploy option there.

Page 8: LIFT n Shift of SSIS Package to Azurerms.koenig-solutions.com/Sync_data/Trainer/QMS/1098...2) Visual studio 2019 Enterprise with SQL server data tools and SSMS 2017 is installed. First

Click on Deploy button and It will start the deployment wizard

The first Screen is Introduction Screen, Read it and click on Next button

Page 9: LIFT n Shift of SSIS Package to Azurerms.koenig-solutions.com/Sync_data/Trainer/QMS/1098...2) Visual studio 2019 Enterprise with SQL server data tools and SSMS 2017 is installed. First

Next Dialogue Box is select deployment Traget, there are 2 option in this step. Select “SSIS in Azure Data

Factory” option and click Next

Provide the server name, User Name and Password and the Path which is – SSISDB and Folder Name.

Page 10: LIFT n Shift of SSIS Package to Azurerms.koenig-solutions.com/Sync_data/Trainer/QMS/1098...2) Visual studio 2019 Enterprise with SQL server data tools and SSMS 2017 is installed. First

Now Click on Next button, Review the settings and Click on Deploy button to start the deployment

process.

Once this is done, then we will open SSMS 2017 with default database name as SSIDB, To set the

default database name in SSMS, click on Option button at the time of providing server connection

details

Page 11: LIFT n Shift of SSIS Package to Azurerms.koenig-solutions.com/Sync_data/Trainer/QMS/1098...2) Visual studio 2019 Enterprise with SQL server data tools and SSMS 2017 is installed. First

Once you are connected then you will see “ Integration Service Catalog” option in object explorer.

Now Expend “Integration Service Catalog” and you will see your Folder Name and Project Name under

it.

Page 12: LIFT n Shift of SSIS Package to Azurerms.koenig-solutions.com/Sync_data/Trainer/QMS/1098...2) Visual studio 2019 Enterprise with SQL server data tools and SSMS 2017 is installed. First

You can right click on Package and execute it directly just like a Local Deployment model.

Otherwise you can click on Schedule option to design a Scheduled pipeline in ADF through it.

Page 13: LIFT n Shift of SSIS Package to Azurerms.koenig-solutions.com/Sync_data/Trainer/QMS/1098...2) Visual studio 2019 Enterprise with SQL server data tools and SSMS 2017 is installed. First

So in this way we have designed a complete cloud migration where designing a package is dome in Local

SSIS but source, Target and Deployment, Scheduling etc. is done on Azure