<

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x

Integration Service Catalog in SSIS 2012

Published on
12,048 Points
4,348 Views
2 Endorsements
Last Modified:
Approved
Over the last 2 years, I have been working on SSIS 2008. Really the tough tasks in SSIS are to deploy packages and pass parameters (Values from outside package).

The latter is certainly a headache for developers, particularly for me. We had to make use of Environment variable, SQL Table or XML config file for that. From a deployment perspective, SSIS packages are deployed to MSDB database for SQL Server deployment.

From SQL Server 2012 (SSIS 2012) there is a new feature called Integration Service Catalog. I am loving the feature. Let me explain why.

The feature provides the whole project deployment with project level variable and parameter deployment as well. In SSIS 2008, you have to deploy on 3 different environments (Dev, Test and Production). From SSIS 2012 there is new thing called Environment and just change the Environment on single deployment.

Let go through an example step by step.

1. Create Integration Service Catalog to Deploy SSIS Project using new feature of SSIS 2012

To deploy the project you need the Integration Service Catalog in the SQL Server instance. Please see the attached screen for reference.

Create Integration Service CatalogNote: You can not create more than one Integration Service Catalog. It is available in Database Engine service.

2. How to deploy SSIS project.

To See the deployment, we are here to target the Project parameters and new feature of Environment in Integration Service Catalog. Hence, lets see how to create project level parameter in SSIS project.

You can create parameter by expanding solution explorer and click on project parameter node. From where you can create parameter just like variables. There is some more fields like Required. Please see the below image.

Project ParameterAfter doing parameter and creating the SSIS project with multiple SSIS packages move to deployment. It's user friendly step have to follow.

Deployment to Integration Service CatalogNow you project are deployed and you can see it in Integration service catalog.

View of SSISDBNote: Benefit of this Parameters are introduced at Package and Project level.

3. How to create environment and Assign the environment to Project or Package.

To create environment go to the Integration Service Catalog and Expand the node till Environment.

Right click and Create Environment as like in image.

Create EnvironmentSave it and Open Property of newly created Environment. Create Variable(s) as required and give permission to use that.

General Tab of EnvEnv variablesEnv PermissionsAfter creating the environment the real picture come up of Package configuration (like in SSIS 2008).

To configure package go to Package, right click and open configure.

Package ConfigFor image you can see, you have different levels of configuration (Project level, solution level and package level).

Now assign value to parameter as per the environment (Development, Test or Production).

and Select Environment in Reference tab to Map environment variables with Package or project parameters.

Environment SelectionBy these way you can use the new functionality. Hope you leaned something new and enjoyed.
2
Comment
1 Comment

Expert Comment

by:sksamguru
Hi PatelAlpesh,

Is there anything to do from scripts task with environment variables. My company follow standard procedure first in script task which check all the connection and serverName and so and so fort then data flow task.

There environment variables xml file don't have much info
1.generated person details
2. ConfigurationType, Path from variables
3. ServerName Path="\Package.Variables[User::Environment].Properties[Value]" ValueType="String">
0

Featured Post

Exploring SQL Server 2016: Fundamentals

Learn the fundamentals of Microsoft SQL Server, a relational database management system that stores and retrieves data when requested by other software applications.

Join & Write a Comment

Using examples as well as descriptions, and references to Books Online, show the documentation available for date manipulation functions and by using a select few of these functions, show how date based data can be manipulated with these functions.
Via a live example, show how to extract information from SQL Server on Database, Connection and Server properties

Keep in touch with Experts Exchange

Tech news and trends delivered to your inbox every month