lift n shift of ssis package to azurerms.koenig-solutions.com/sync_data/trainer/qms/1098...2) visual...
TRANSCRIPT
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.
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.
It will start a wizard. Fill the desired information as follows
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
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.
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.
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.
Click on Deploy button and It will start the deployment wizard
The first Screen is Introduction Screen, Read it and click on Next button
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.
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
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.
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.
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