SSIS - Automation of ETL packages
We are proposing to automate the ETL packages to our logistics customer. SSIS is using project deployment and not package deployment. We have developed detailed framework for package deployment which will not work here.
More than 150 packages used to integrate legacy systems to Salesforce. All the legacy systems push their feed into FTP and SSIS data load framework pull it from this FTP path. Some of the packages are having dependency on other packages. All the source to stage packages will fail if they didn’t find the files on FTP.
ETL project implemented in three releases and all the releases using different solution approach.
We can use master package to call all these data load packages based on the scheduled time specified. As the packages are deployed in different projects, master package should have access to all these projects.
Normally SSIS master package can access those packages in the same solution. To overcome this issue we can use below script in execute SQL task of one package which can act as Master Package. We are planning to use stored procedure to better accommodate scheduling times, dependency etc. and dynamically change the folder and package name.
Declare @execution_id bigint
DECLARE @var0 smallint = 1
@object_type=50, (20 for project parameter and 30 for package parameter)
--execute the job
EXEC [SSISDB].[catalog].[start_execution] @execution_id