You are on page 1of 14

Oracle Data Integrator 11g Bootcamp

Lesson 17 : Scheduling

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

Agenda
Understand the role ODI Schedules
Step through the process of creating and refreshing schedules
Learn how to view different schedules on an agent
Create and apply a schedule
Summary

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

ODI Scheduling
ODI provides scheduling mechanism to automate the execution of jobs
Schedules can only be created for scenarios and load plans
A schedule is alway tied to an ODI agent and a context
Agents execute schedules at defined intervals

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

Creating a Schedule Step 1 : Choose a Scenario


Select a scenario of an ODI object, expand the scenario tree
Right-click on the Scheduling entry, select New Schedule

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

Creating a Schedule Step 2 : Set Context and Agent


Set Context and Agent using the drop down menu
Name of the schedule is set from the values of Context and Agent
Schedule name format <context_name>/<agent_name>

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

Creating a Schedule Step 3 : Set Status Properties


Set schedule status
Active for period - enable for a certain time span
- Various property like Starting, Ending, etc can be set by enabling the check
boxes for fine control
Active - enable a schedule
Inactive - disable a schedule

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

Creating a Schedule Step 4 : Set Execution Properties


Set the execution schedule
Weekly - Set time to execute on selected day(s) of a week
Yearly - Set time,day and month for execution
Daily - Set time for daily execution
... and so on

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

Creating a Schedule Step 5 : Save and Verify


Save the schedule and the schedule entry will be created for the scenario

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

Refreshing Schedule(s) for an Agent


Under Topology>Physical Architecture expands Agents tree
Right-click an agent and select Update Schedule
On the Select Repositories dialog, select work repositories and click the OK
button to refresh\activate schedules for them

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

Viewing Agent Schedule(s)


Under Topology>Physical Architecture expand Agents tree
Right-click on an agent and select View Schedule

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

Using the View Schedule Dialog


Scenario Details Panel
Schedule Inputs

Displays details and execution


Schedule Gantt Diagram Panel
statistics
for scheduled
scenariofor selected
View shedules
and scenarios
JAob
Type
X-axis - scheduled time of execution
gents
JW
obork
names
Y-axis - Scenario names
Repositories
Displays scenarios with different colors based on
STtart
imetime
frame
MRinimum
time
estimated time required to execute
efresh &execution
Update schedule
and scenarios
ASverage
timeon the schedule gantt diagram
et valueexecution
for time axis
MMaximum
time
inutes toexecution
Hour
Work Repository

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

Hands-On Labs
Lab 17 - Scheduling

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

Summary
ODI Scheduling is a flexible way to automate execution of integration tasks
Monitor schedules across agents

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 17 : Scheduling

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