Sie sind auf Seite 1von 16

Oracle Data Integrator 11g Bootcamp

Lesson 20 : Promotion to Production

T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : enquiries@rittmanmead.com W: www.rittmanmead.com

Agenda
Understand different types of work repository
Understand different repository models
Learn how to create an execution work repository
Learn how to promote scenarios across different ODI environments
Learn about different ODI tools to automate scenario deployment
Summary

T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : enquiries@rittmanmead.com W: www.rittmanmead.com

Types of ODI Work Repository


ODI work repositories are of two types
Development work repository (DWR)
- Design and maintain ODI projects
- Generate scenarios
- Place to perform unit testing
Execution work repository (EWR)
- Solely for execution and monitoring of scenarios
- Scenarios imported from DWR
- No access to designer navigator
ODI work repositories must be registered with master repository

T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : enquiries@rittmanmead.com W: www.rittmanmead.com

Different Repository Models


Different combination of repositories (Master, DWR and EWR) can be chosen
based on project
Environments (DEV,UAT,TEST,PROD)
Types (Data Warehousing\Integration, Data Migration)
Right combination can
Lead to easy maintenance
Simplify promotion of code
Enhance security
Two common repository models
One Master and DWR, and multiple EWR
Different Master, DWR and EWR

T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : enquiries@rittmanmead.com W: www.rittmanmead.com

Repository Model - One Master and DWR, Multiple EWR


One master and DWR repository for all environments and one EWR for each
environment
Enables strict control over designing and versioning of ODI projects
Provides easy promotion of code (scenarios only)
Suitable for data migration projects
- Data models do not change often

T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : enquiries@rittmanmead.com W: www.rittmanmead.com

Repository Model - Different Master, DWR and EWR


Different Master, DWR and EWR for each environment
Developer flexibility for designing
Requires audits to make sure versioned objects are synced across all
environments
Promotion is export\import of ODI objects
Suitable for Data warehousing projects
- Data Models changes frequently
- Development ahead of production
- Saves the time to restore multiple objects in right order for production fixes
as each environment has its own DWR

T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : enquiries@rittmanmead.com W: www.rittmanmead.com

Creating an EWR Step 1 : Specify Database Schema


Under Operator>Repositories, right click Work Repositories and select New Work
Repository
On the Create Work Repository - Step 1 of 2 dialog, set values for database
Technology, JDBC Driver, JDBC Url, User and Password
Click Next to continue

T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : enquiries@rittmanmead.com W: www.rittmanmead.com

Creating an EWR Step 2 : Set Work Repository Details


On the Create Work Repository - Step 2 of 2 dialog, set values for ID (unique for
each repository), Name and Password
Set Work Repository Type to Execution from the drop down menu
Click Finish to create EWR

T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : enquiries@rittmanmead.com W: www.rittmanmead.com

Promoting Code Step 1 : Export Scenarios


Under Operator>Scenarios, right-click a scenario and select Export
On the Export of <Scenario name> dialog, set the Export Directory to store the
generated xml file with name Export Name
To export dependent scenarios select check box for Child components export
Use Advanced Options to set character set, if needed
Click OK to generate the export file

T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : enquiries@rittmanmead.com W: www.rittmanmead.com

Promoting Code Step 2 : Select Scenarios to Import


Login into EWR, navigate to Operator navigator
On the Scenarios accordion, click the sole icon and select Import Scenario
On the Import Scenario (XML File) dialog, set the File import directory
Select the file(s) to import by selecting

T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : enquiries@rittmanmead.com W: www.rittmanmead.com

Promoting Code Step 3 : Chose Import Type


Select Import Type form drop down
Synonym Mode INSERT_UPDATE - overwrites if exists, else creates a new
Synonym Mode INSERT - insert only if new, else aborts
Synonym Mode UPDATE - overwrites the object if it exists, else aborts
DUPLICATE - creates a new object with different internal Id

T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : enquiries@rittmanmead.com W: www.rittmanmead.com

Promoting Code Step 4 : Import Schedules and Verify


Use the check box to Import Schedules attached with scenario
Click OK to import

T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : enquiries@rittmanmead.com W: www.rittmanmead.com

Automating Code Promotion - ODI Tools


ODI tools for scenarios
OdiGenerateAllScen - generates automatically a set of scenarios from
components contained in a folder or project that match a certain criteria
OdiExportScen - exports a scenario
OdiImportScen - imports a scenario
OdiDeleteScen - deletes a scenario
ODI tools for objects
OdiExportObject - exports an ODI object
OdiImportObject - imports an ODI object
ODI Packages can be created to automate promotion and deployment

T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : enquiries@rittmanmead.com W: www.rittmanmead.com

Hands-On Labs
Lab 20 - Promotion to Production

T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : enquiries@rittmanmead.com W: www.rittmanmead.com

Summary
ODI provides flexibility to chose different repository models
ODI objects can be promoted both manually and automatically

T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : enquiries@rittmanmead.com W: www.rittmanmead.com

Oracle Data Integrator 11g Bootcamp


Lesson 20 : Promotion to Production

T : +44 (0) 8446 697 995 or (888) 631 1410 (USA) E : enquiries@rittmanmead.com W: www.rittmanmead.com

Das könnte Ihnen auch gefallen