05 | Configuration and Deployment Richard Currey | Senior Technical Trainer–New Horizons United...
-
Upload
basil-doyle -
Category
Documents
-
view
226 -
download
1
Transcript of 05 | Configuration and Deployment Richard Currey | Senior Technical Trainer–New Horizons United...
![Page 1: 05 | Configuration and Deployment Richard Currey | Senior Technical Trainer–New Horizons United George Squillace | Senior Technical Trainer–New Horizons.](https://reader035.fdocuments.in/reader035/viewer/2022062304/56649da75503460f94a92f11/html5/thumbnails/1.jpg)
Click to edit Master subtitle style05 | Configuration and
Deployment
Richard Currey | Senior Technical Trainer–New Horizons UnitedGeorge Squillace | Senior Technical Trainer–New Horizons Great Lakes
![Page 2: 05 | Configuration and Deployment Richard Currey | Senior Technical Trainer–New Horizons United George Squillace | Senior Technical Trainer–New Horizons.](https://reader035.fdocuments.in/reader035/viewer/2022062304/56649da75503460f94a92f11/html5/thumbnails/2.jpg)
• Troubleshooting
• Debugging
• Logging
• Event Handlers
• Deployment
Module 5 Overview
![Page 3: 05 | Configuration and Deployment Richard Currey | Senior Technical Trainer–New Horizons United George Squillace | Senior Technical Trainer–New Horizons.](https://reader035.fdocuments.in/reader035/viewer/2022062304/56649da75503460f94a92f11/html5/thumbnails/3.jpg)
Topic: Troubleshooting
![Page 4: 05 | Configuration and Deployment Richard Currey | Senior Technical Trainer–New Horizons United George Squillace | Senior Technical Trainer–New Horizons.](https://reader035.fdocuments.in/reader035/viewer/2022062304/56649da75503460f94a92f11/html5/thumbnails/4.jpg)
Topic: Troubleshooting
• Troubleshooting in SSIS
• Troubleshooting approaches
![Page 5: 05 | Configuration and Deployment Richard Currey | Senior Technical Trainer–New Horizons United George Squillace | Senior Technical Trainer–New Horizons.](https://reader035.fdocuments.in/reader035/viewer/2022062304/56649da75503460f94a92f11/html5/thumbnails/5.jpg)
Troubleshooting in SSIS
• The process of determining the source of problems that occur during package execution
• Tasks that can occur during the troubleshooting process–Monitoring execution path–Monitoring values, both data and variable–Monitoring events that occur–Monitoring the outcome of the package
![Page 6: 05 | Configuration and Deployment Richard Currey | Senior Technical Trainer–New Horizons United George Squillace | Senior Technical Trainer–New Horizons.](https://reader035.fdocuments.in/reader035/viewer/2022062304/56649da75503460f94a92f11/html5/thumbnails/6.jpg)
Troubleshooting Approaches
• Debugging– Setting breakpoints– Viewing execution progress– Viewing / modifying variable values– Viewing data flow
• Logging
• Event Handlers
![Page 7: 05 | Configuration and Deployment Richard Currey | Senior Technical Trainer–New Horizons United George Squillace | Senior Technical Trainer–New Horizons.](https://reader035.fdocuments.in/reader035/viewer/2022062304/56649da75503460f94a92f11/html5/thumbnails/7.jpg)
Topic: Debugging
![Page 8: 05 | Configuration and Deployment Richard Currey | Senior Technical Trainer–New Horizons United George Squillace | Senior Technical Trainer–New Horizons.](https://reader035.fdocuments.in/reader035/viewer/2022062304/56649da75503460f94a92f11/html5/thumbnails/8.jpg)
Topic: Debugging
• Breakpoints
• Watches
• Data Viewers
![Page 9: 05 | Configuration and Deployment Richard Currey | Senior Technical Trainer–New Horizons United George Squillace | Senior Technical Trainer–New Horizons.](https://reader035.fdocuments.in/reader035/viewer/2022062304/56649da75503460f94a92f11/html5/thumbnails/9.jpg)
Breakpoints
• Pauses execution when reached
• Enabled for any task or container in the package
• Can be configured to stop at:– Any time-will pause execution every time that the task is
encountered– Hit Count Equals-will pause after a specific number of
times that the breakpoint is reached– Hit Count Greater or Equal-will pause every time after the
threshold value is reached– Hit Count Multiple-will pause when the task is reached a
multiple of the value entered
![Page 10: 05 | Configuration and Deployment Richard Currey | Senior Technical Trainer–New Horizons United George Squillace | Senior Technical Trainer–New Horizons.](https://reader035.fdocuments.in/reader035/viewer/2022062304/56649da75503460f94a92f11/html5/thumbnails/10.jpg)
Watches
• Displays a variable and its associated value during execution
• Values can be modified while execution is paused
• Watch window displays requested variables
• Locals window displays all variables that are currently in scope
![Page 11: 05 | Configuration and Deployment Richard Currey | Senior Technical Trainer–New Horizons United George Squillace | Senior Technical Trainer–New Horizons.](https://reader035.fdocuments.in/reader035/viewer/2022062304/56649da75503460f94a92f11/html5/thumbnails/11.jpg)
Data Viewers
• Data can be copied from the viewer
• Used to watch records flow between data flow transforms
• Can be enabled between any two data flow components– Between a data source and a transform– Between any two transforms– Between transform and data destination
• Will pause the execution of the package while data is examined
![Page 12: 05 | Configuration and Deployment Richard Currey | Senior Technical Trainer–New Horizons United George Squillace | Senior Technical Trainer–New Horizons.](https://reader035.fdocuments.in/reader035/viewer/2022062304/56649da75503460f94a92f11/html5/thumbnails/12.jpg)
DEMODebugging a Package
![Page 13: 05 | Configuration and Deployment Richard Currey | Senior Technical Trainer–New Horizons United George Squillace | Senior Technical Trainer–New Horizons.](https://reader035.fdocuments.in/reader035/viewer/2022062304/56649da75503460f94a92f11/html5/thumbnails/13.jpg)
Topic: Logging
![Page 14: 05 | Configuration and Deployment Richard Currey | Senior Technical Trainer–New Horizons United George Squillace | Senior Technical Trainer–New Horizons.](https://reader035.fdocuments.in/reader035/viewer/2022062304/56649da75503460f94a92f11/html5/thumbnails/14.jpg)
Topic: Logging
• What Is Logging?
• Events
• Log Providers
• Configuring Logging
![Page 15: 05 | Configuration and Deployment Richard Currey | Senior Technical Trainer–New Horizons United George Squillace | Senior Technical Trainer–New Horizons.](https://reader035.fdocuments.in/reader035/viewer/2022062304/56649da75503460f94a92f11/html5/thumbnails/15.jpg)
What Is Logging?
• The process of persisting the details of package execution
• Can be used to determine where package execution failed in a production environment
• Can be used to help troubleshoot performance issues
![Page 16: 05 | Configuration and Deployment Richard Currey | Senior Technical Trainer–New Horizons United George Squillace | Senior Technical Trainer–New Horizons.](https://reader035.fdocuments.in/reader035/viewer/2022062304/56649da75503460f94a92f11/html5/thumbnails/16.jpg)
Events
• Events are the things that happen during package execution
• Events have properties that expose information that can be logged
• Events have some properties that are common to all events and some that are unique for that particular event
![Page 17: 05 | Configuration and Deployment Richard Currey | Senior Technical Trainer–New Horizons United George Squillace | Senior Technical Trainer–New Horizons.](https://reader035.fdocuments.in/reader035/viewer/2022062304/56649da75503460f94a92f11/html5/thumbnails/17.jpg)
• Are the destinations for the messages that are being logged
• Are data destinations so they require connection managers
• Types include text file, Windows Event Log, XML file, SQL Server, and SQL Server Profiler
Log Providers
![Page 18: 05 | Configuration and Deployment Richard Currey | Senior Technical Trainer–New Horizons United George Squillace | Senior Technical Trainer–New Horizons.](https://reader035.fdocuments.in/reader035/viewer/2022062304/56649da75503460f94a92f11/html5/thumbnails/18.jpg)
• Determine the executables to log
• Choose the Log Provider to use
• Determine the events that should be enabled
• Choose the information for each event
Configuring Logging
![Page 19: 05 | Configuration and Deployment Richard Currey | Senior Technical Trainer–New Horizons United George Squillace | Senior Technical Trainer–New Horizons.](https://reader035.fdocuments.in/reader035/viewer/2022062304/56649da75503460f94a92f11/html5/thumbnails/19.jpg)
DEMOConfiguring Logging
![Page 20: 05 | Configuration and Deployment Richard Currey | Senior Technical Trainer–New Horizons United George Squillace | Senior Technical Trainer–New Horizons.](https://reader035.fdocuments.in/reader035/viewer/2022062304/56649da75503460f94a92f11/html5/thumbnails/20.jpg)
Topic: Event Handlers
![Page 21: 05 | Configuration and Deployment Richard Currey | Senior Technical Trainer–New Horizons United George Squillace | Senior Technical Trainer–New Horizons.](https://reader035.fdocuments.in/reader035/viewer/2022062304/56649da75503460f94a92f11/html5/thumbnails/21.jpg)
Topic: Event Handlers
• What Are Event Handlers?
• Configuring Event Handling
![Page 22: 05 | Configuration and Deployment Richard Currey | Senior Technical Trainer–New Horizons United George Squillace | Senior Technical Trainer–New Horizons.](https://reader035.fdocuments.in/reader035/viewer/2022062304/56649da75503460f94a92f11/html5/thumbnails/22.jpg)
• Workflows that only occur when the event occurs
• Are tied to an event and an executable
• Error events are the most commonly defined event handlers
• Control flow is defined for each individual event handler
What Are Event Handlers?
![Page 23: 05 | Configuration and Deployment Richard Currey | Senior Technical Trainer–New Horizons United George Squillace | Senior Technical Trainer–New Horizons.](https://reader035.fdocuments.in/reader035/viewer/2022062304/56649da75503460f94a92f11/html5/thumbnails/23.jpg)
• Choose the executable and event that needs a response
• Design and implement a control flow to execute when the event occurs
Configuring Event Handling
![Page 24: 05 | Configuration and Deployment Richard Currey | Senior Technical Trainer–New Horizons United George Squillace | Senior Technical Trainer–New Horizons.](https://reader035.fdocuments.in/reader035/viewer/2022062304/56649da75503460f94a92f11/html5/thumbnails/24.jpg)
DEMOConfiguring Event Handling
![Page 25: 05 | Configuration and Deployment Richard Currey | Senior Technical Trainer–New Horizons United George Squillace | Senior Technical Trainer–New Horizons.](https://reader035.fdocuments.in/reader035/viewer/2022062304/56649da75503460f94a92f11/html5/thumbnails/25.jpg)
Topic: Deployment
![Page 26: 05 | Configuration and Deployment Richard Currey | Senior Technical Trainer–New Horizons United George Squillace | Senior Technical Trainer–New Horizons.](https://reader035.fdocuments.in/reader035/viewer/2022062304/56649da75503460f94a92f11/html5/thumbnails/26.jpg)
Topic: Deployment
• Deployment Types
• Package Configurations
• Environments
![Page 27: 05 | Configuration and Deployment Richard Currey | Senior Technical Trainer–New Horizons United George Squillace | Senior Technical Trainer–New Horizons.](https://reader035.fdocuments.in/reader035/viewer/2022062304/56649da75503460f94a92f11/html5/thumbnails/27.jpg)
Deployment Types
• Package deployment– The process of moving individual packages to a production
environment
• Project deployment –Moves all packages from a project into the production
environment– Includes all project-level resources
• Deployment can be to SQL Server, file system or SSIS catalog
![Page 28: 05 | Configuration and Deployment Richard Currey | Senior Technical Trainer–New Horizons United George Squillace | Senior Technical Trainer–New Horizons.](https://reader035.fdocuments.in/reader035/viewer/2022062304/56649da75503460f94a92f11/html5/thumbnails/28.jpg)
Package Configurations
• Are only available with package deployment
• Are used to set property values from outside of the package and to persist those values for reuse
• Can be direct or indirect– Direct configurations map an executable and property to a specific
value– Indirect configurations map an executable and a property to the
location where the property value can be found
• Include environment variables, registry entries, XML files, SQL Server, and the parent package variable
![Page 29: 05 | Configuration and Deployment Richard Currey | Senior Technical Trainer–New Horizons United George Squillace | Senior Technical Trainer–New Horizons.](https://reader035.fdocuments.in/reader035/viewer/2022062304/56649da75503460f94a92f11/html5/thumbnails/29.jpg)
DEMOImplementing Configurations
![Page 30: 05 | Configuration and Deployment Richard Currey | Senior Technical Trainer–New Horizons United George Squillace | Senior Technical Trainer–New Horizons.](https://reader035.fdocuments.in/reader035/viewer/2022062304/56649da75503460f94a92f11/html5/thumbnails/30.jpg)
Environments
• Provide similar functionality for packages as configurations– External mapping of property and value
• Multiple environments can be created– Dev– Test– Prod
• Property values can be specified in each environment– Connection string to a different SQL Server instance for
example
• Environment to use can be specified at runtime
![Page 31: 05 | Configuration and Deployment Richard Currey | Senior Technical Trainer–New Horizons United George Squillace | Senior Technical Trainer–New Horizons.](https://reader035.fdocuments.in/reader035/viewer/2022062304/56649da75503460f94a92f11/html5/thumbnails/31.jpg)
DEMOImplementing Environments
![Page 32: 05 | Configuration and Deployment Richard Currey | Senior Technical Trainer–New Horizons United George Squillace | Senior Technical Trainer–New Horizons.](https://reader035.fdocuments.in/reader035/viewer/2022062304/56649da75503460f94a92f11/html5/thumbnails/32.jpg)
©2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Office, Azure, System Center, Dynamics and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.