Vous êtes sur la page 1sur 24

Module 12

Deploying and Configuring SSIS


Packages
Module Overview

• Overview of SSIS Deployment


• Deploying SSIS Projects
• Planning SSIS Package Execution
Lesson 1: Overview of SSIS Deployment

• SSIS Deployment Models


• Package Deployment Model
• Project Deployment Model
• Deployment Model Comparison
SSIS Deployment Models

Package Deployment Model


• SSIS Packages are deployed and managed individually
Project Deployment Model
• Multiple packages are deployed in a single project
Package Deployment Model

• Storage
• MSDB
• File System
• Package Configurations
• Property values to be set dynamically at run
time
• Package Deployment Utility
• Generate all required files for easier
deployment
Project Deployment Model

• The SSIS catalog


• Storage and management for SSIS projects on a SQL
Server instance
• Folders
• A hierarchical structure for organizing and securing
SSIS projects
Deployment Model Comparison

Feature Package Deployment Project Deployment


Unit of Deployment Package Project
Storage File system or MSDB SSIS Catalog
Dynamic configuration Package configurations Environment variables
mapped to project-
level parameters and
connection managers
Compiled format Multiple .dtsx files Single .ispac file
Troubleshooting Configure logging for SSIS catalog includes
each package built-in reports and
views
Lesson 2: Deploying SSIS Projects

• Creating an SSIS Catalog


• Environments and Variables
• Deploying an SSIS Project
• Viewing Project Execution Information
• Demonstration: Deploying an SSIS Project
Creating an SSIS Catalog

• Pre-requisites
• SQL Server 2012 or later
• SQL CLR enabled
• Creating a catalog
• Use SQL Server Management Studio
• One SSIS catalog per SQL Server instance
• Catalog Security
• Folder Security
• Object Security
• Catalog Encryption
• Sensitive Parameters
Environments and Variables

• Environments
• Execution contexts for projects

• Variables
• Environment-specific values that can be mapped to
project parameters and connection manager properties
at run time
Deploying an SSIS Project

• Integration Services Deployment Wizard


• Visual Studio
• SQL Server Management Studio
Viewing Project Execution Information

• Integration Services Dashboard provides built-in


reports
• Additional sources of information:
• Event Handlers
• Error Outputs
• Logging
• Debug Dump Files
Demonstration: Deploying an SSIS Project

In this demonstration you will see how to:


• Configure the SSIS Environment
• Deploy an SSIS Project
• Create Environments and Variables
• Run an SSIS Package
• View Execution Information
Lesson 3: Planning SSIS Package Execution

• Options for Running SSIS packages


• Scheduling the ETL Process
• Configuring Execution Context
• Where to Handle Notifications
• Where to Handle Logging
• Combining SSIS Tasks with Other Tasks
• Implementing SSIS Agent Jobs and Schedules
Options for Running SSIS packages

• SQL Server Management Studio


• Dtexec and Dtexecui
• PowerShell
• SQL Server Agent
Scheduling the ETL Process

• Data Acquisition Windows


• Package Execution Order
• Execution Dependencies
Configuring Execution Context

• Create a credential in the SQL Server instance


• Create a SQL Agent proxy that maps to the
credential
• Activate it for the SQL Server Integration Services
Package job subsystem
• Configure package execution job steps to run as
the proxy
Where to Handle Notifications

• SSIS Package
• SQL Server Agent Job
Where to Handle Logging

• SSIS
• SQL Server Agent Job
Combining SSIS Tasks with Other Tasks

• Create modular packages


• Augment SSIS packages with SQL Agent tasks
• Ensure all processes are documented
Implementing SSIS Agent Jobs and Schedules

1. Select a Windows account that SQL Server


Agent will use
2. Create job subsystem proxies if required
3. Set SQL Server Agent service to start
automatically
4. Create the required jobs and schedules
Lab: Deploying and Configuring SSIS Packages

• Exercise 1: Creating an SSIS Catalog


• Exercise 2: Deploying an SSIS Project
• Exercise 3: Creating Environments for an SSIS Solution
• Exercise 4: Running an SSIS Package in SQL Server
Management Studio
• Exercise 5: Scheduling SSIS Packages with SQL Server
Agent
Logon Information
Virtual machine: 20463C-MIA-SQL
User name: ADVENTUREWORKS\Student
Password: Pa$$w0rd

Estimated Time: 45 minutes


Lab Scenario

You have completed the SSIS project containing


the packages required for the data warehouse ETL
process. Now you must deploy the project to an
SSIS catalog, configure environments for dynamic
configuration, and schedule automatic execution
of packages.
Module Review and Takeaways

• Review Question(s)

Vous aimerez peut-être aussi