SSIS by Anjali

15
SSIS PROJECT DEPLOYMENT

description

Tech

Transcript of SSIS by Anjali

Page 1: SSIS by Anjali

SSIS PROJECT DEPLOYMENT

Page 2: SSIS by Anjali

Deployment Approaches

• SSIS packages are XML files• "copy and configure" approach to deployments.• In such cases, the packages are typically manually

copied to shared locations or msdb, where they're executed.

• Configuration information is then stored in configuration files or special database tables meant only for storing SSIS configuration values.

Page 3: SSIS by Anjali

Problem Of Copy and Configure

• A project where all the SSIS configuration parameters, including connection strings, were stored in a database table. As a result, whenever we restored a copy of the production database in the test environment, all the SSIS packages in the test environment would point to the production database—which isn't a good scenario.

Page 4: SSIS by Anjali

SSISDB

• SSIS 2012 provides some new package deployment features, including the new SSISDB catalog and database.

• SSIS 2012 stores all the packages, projects, parameters, permissions, server properties, and operational history in the SSISDB database

Page 5: SSIS by Anjali

SSISDB Creation

• The first task is to create the SSISDB catalog • SSMS->Integration Services Catalogs folder in

Object Explorer->right-click the Integration Services Catalogs folder and select Create Catalog

Page 6: SSIS by Anjali

Structure Of SSISDB

Page 7: SSIS by Anjali

Types Of Deployment

• SSIS Package Deployment• SSIS Project Deployment

Page 8: SSIS by Anjali

SSIS Project Deployment StepsStep1 :

Page 9: SSIS by Anjali

Step2. Creating Deployment Environment

Page 10: SSIS by Anjali

Step 3.Name the environment variable

Page 11: SSIS by Anjali

Step 4:Selecting the Environment Variable to Map

Page 12: SSIS by Anjali

Deployment Approach: By Creating Jobs

Example To Take Database Backup Using Jobs:• Create a  demo database and insert sample data • Create SQL Agent Job

Page 13: SSIS by Anjali
Page 14: SSIS by Anjali
Page 15: SSIS by Anjali

References

• http://blogs.msdn.com/b/sqlagent/archive/2010/10/12/create-a-database-backup-job-using-sql-server-management-studio.aspx

• http://sqlmag.com/sql-server-integration-services/ssis-deployment-sql-server-2012