Presentation is loading. Please wait.

Presentation is loading. Please wait.

© 2012 IBM Corporation Using Shadow Jobs to Manage Cross-Platform Dependencies.

Similar presentations


Presentation on theme: "© 2012 IBM Corporation Using Shadow Jobs to Manage Cross-Platform Dependencies."— Presentation transcript:

1 © 2012 IBM Corporation Using Shadow Jobs to Manage Cross-Platform Dependencies

2 © 2012 IBM Corporation 2 Workload Automation Agenda Introduction Cross dependencies flow Binding process Shadow job status changes Setup Demo / Q&A

3 © 2012 IBM Corporation 3 Workload Automation Introduction (I) Workload is sometimes spread across different scheduling environments, often located in different sites Scheduling environments managed independently Scheduling environments need to interoperate Using cross dependencies Synchronize activities between different scheduling environments

4 © 2012 IBM Corporation 4 Workload Automation Introduction (II) Job B (Local Engine) logically dependent on Job A (Remote Engine) Job A (on Local Engine) represents Job A (on Remote Engine) Local Engine Tivoli Workload Scheduler Distributed Tivoli Workload Scheduler for z/OS (Session 3603) Remote Engine Tivoli Workload Scheduler Distributed Tivoli Workload Scheduler for z/OS

5 © 2012 IBM Corporation 5 Workload Automation Cross dependencies flow Shadow Job on the local engine is free from dependencies

6 © 2012 IBM Corporation 6 Workload Automation Cross dependencies flow Broker of the local engine sends binding request to the remote engine

7 © 2012 IBM Corporation 7 Workload Automation Cross dependencies flow Broker of the remote engine sends binding response to the local engine Broker of the local engine updates the status of the Shadow Job

8 © 2012 IBM Corporation 8 Workload Automation Cross dependencies flow Remote Job starts running Broker of the remote engine sends the status update to the local engine Broker of the local engine updates the status of the Shadow Job

9 © 2012 IBM Corporation 9 Workload Automation Cross dependencies flow Remote Job completes successfully Broker of the remote engine sends the status update to the local engine Broker of the local engine updates the status of the Shadow Job Successor of the Shadow Job is released

10 © 2012 IBM Corporation 10 Workload Automation Binding request (remote engine = TWSd) Europe/Brussels 2300 JS1 WS1 XYZ 2012-04-12T13:00:00Z 2012-04-12T00:00:00Z TWS3_REM_ENG#JOBS.TEST_L1636311662.JNUM-560798319 2f39b341-0ec6-311c-a9b7-6f27e33a2229 https://tws1.swg.be.ibm.com:31116/JobManagerRESTWeb/JobScheduler/job https://tws2.swg.be.ibm.com:31116/JobManagerRESTWeb/JobScheduler/job

11 © 2012 IBM Corporation 11 Workload Automation Binding process (remote engine = TWSd) If Scheduled time of Shadow Job Preproduction Plan end time

12 © 2012 IBM Corporation 12 Workload Automation Binding process (remote engine = TWSd) If Scheduled time of Shadow Job Preproduction Plan end time If a matching job stream instance in found in the Preproduction Plan

13 © 2012 IBM Corporation 13 Workload Automation Binding process (remote engine = TWSd) If Scheduled time of Shadow Job Preproduction Plan end time If a matching job stream instance in found in the Preproduction Plan If Scheduled time of Shadow Job Current Plan end time

14 © 2012 IBM Corporation 14 Workload Automation Binding process (remote engine = TWSd) If Scheduled time of Shadow Job Preproduction Plan end time If a matching job stream instance in found in the Preproduction Plan If Scheduled time of Shadow Job Current Plan end time Look for the job in matching job stream instance in Current Plan (Example : XYZ )

15 © 2012 IBM Corporation 15 Workload Automation Binding process (remote engine = TWSd) If Scheduled time of Shadow Job Preproduction Plan end time If a matching job stream instance in found in the Preproduction Plan If Scheduled time of Shadow Job Current Plan end time Look for the job in matching job stream instance in Current Plan (Example : XYZ ) If found Send INFO notification back to the local engine (Shadow Job = BOUND).

16 © 2012 IBM Corporation 16 Workload Automation Binding process (remote engine = TWSd)

17 © 2012 IBM Corporation 17 Workload Automation Binding process (remote engine = TWSd) If Scheduled time of Shadow Job Preproduction Plan end time If a matching job stream instance in found in the Preproduction Plan If Scheduled time of Shadow Job Current Plan end time Look for the job in matching job stream instance in Current Plan (Example : XYZ ) If found Send INFO notification back to the local engine (Shadow Job = BOUND). Else Send ERROR notification back to the local engine (Shadow Job = ERROR).

18 © 2012 IBM Corporation 18 Workload Automation Binding process (remote engine = TWSd)

19 © 2012 IBM Corporation 19 Workload Automation Binding process (remote engine = TWSd) If Scheduled time of Shadow Job Preproduction Plan end time If a matching job stream instance in found in the Preproduction Plan If Scheduled time of Shadow Job Current Plan end time Look for the job in matching job stream instance in Current Plan (Example : XYZ ) If found Send INFO notification back to the local engine (Shadow Job = BOUND). Else Send ERROR notification back to the local engine (Shadow Job = ERROR). Else Send INFO notification back to the local engine (Shadow Job = BOUND).

20 © 2012 IBM Corporation 20 Workload Automation Binding process (remote engine = TWSd)

21 © 2012 IBM Corporation 21 Workload Automation Binding process (remote engine = TWSd) If Scheduled time of Shadow Job Preproduction Plan end time If a matching job stream instance in found in the Preproduction Plan If Scheduled time of Shadow Job Current Plan end time Look for the job in matching job stream instance in Current Plan (Example : XYZ ) If found Send INFO notification back to the local engine (Shadow Job = BOUND). Else Send ERROR notification back to the local engine (Shadow Job = ERROR). Else Send INFO notification back to the local engine (Shadow Job = BOUND). Else Send ERROR notification back to the local engine (Shadow Job = ERROR).

22 © 2012 IBM Corporation 22 Workload Automation Binding process (remote engine = TWSd)

23 © 2012 IBM Corporation 23 Workload Automation Binding process (remote engine = TWSd) If Scheduled time of Shadow Job Preproduction Plan end time If a matching job stream instance in found in the Preproduction Plan If Scheduled time of Shadow Job Current Plan end time Look for the job in matching job stream instance in Current Plan (Example : XYZ ) If found Send INFO notification back to the local engine (Shadow Job = BOUND). Else Send ERROR notification back to the local engine (Shadow Job = ERROR). Else Send INFO notification back to the local engine (Shadow Job = BOUND). Else Send ERROR notification back to the local engine (Shadow Job = ERROR). Else Delay notification to the local engine (Shadow Job remains in WAIT ).

24 © 2012 IBM Corporation 24 Workload Automation Binding request (remote engine = TWSz) Europe/Brussels APP1 002 2012-04-15T15:00:00Z TWS4_REM_ENG#JOBS.TEST_L1636311663.JNUM-560799234 2f39b341-0ec6-311c-a9b7-6f27e34r2229 http://tws1.swg.be.ibm.com:31115/JobManagerRESTWeb/JobScheduler/job http://tws2.swg.be.ibm.com:31115/JobManagerRESTWeb/JobScheduler/job

25 © 2012 IBM Corporation 25 Workload Automation Binding process (remote engine = TWSz) If CP end time < Scheduled time of Shadow Job LTP end time Search Long Term Plan Interval searched : CP end time < x Scheduled time of Shadow Job

26 © 2012 IBM Corporation 26 Workload Automation Binding process (remote engine = TWSz) If no instances are found in the LTP interval Search Current Plan Interval searched : x Scheduled time of Shadow Job

27 © 2012 IBM Corporation 27 Workload Automation Binding process (remote engine = TWSz) Search Long Term Plan Matched APP1 found in LTP interval Shadow job set to BOUND

28 © 2012 IBM Corporation 28 Workload Automation Binding process (remote engine = TWSz) Search Current Plan Matched APP1 found in CP interval and it contains 002 Shadow job set to BOUND

29 © 2012 IBM Corporation 29 Workload Automation Binding process (remote engine = TWSz) Search Current Plan Matched APP1 found in CP interval and it contains 002 (but deleted) Shadow job set to SUCC

30 © 2012 IBM Corporation 30 Workload Automation Binding process (remote engine = TWSz) Search Current Plan Matched APP1 found in CP interval and it contains 002 Shadow job set to BOUND

31 © 2012 IBM Corporation 31 Workload Automation Binding process (remote engine = TWSz) Search Current Plan Matched APP1 found in CP interval but it does not contain 002 Shadow job set to ERROR

32 © 2012 IBM Corporation 32 Workload Automation Binding process (remote engine = TWSz) Search Current Plan No match found in CP interval Shadow job set to ERROR

33 © 2012 IBM Corporation 33 Workload Automation Binding process (remote engine = TWSz) Search Current Plan Instances APP1 deleted in LTP interval Shadow job set to BOUND

34 © 2012 IBM Corporation 34 Workload Automation Shadow job status changes

35 © 2012 IBM Corporation 35 Workload Automation Setup Remote Engine Tivoli Workload Scheduler Distributed: Nothing Tivoli Workload Scheduler for z/OS Update ROUTOPTS in controller PARMLIB

36 © 2012 IBM Corporation 36 Workload Automation Setup Local Engine Define Remote Engine workstation Remote Engine = Tivoli Workload Scheduler Distributed Remote Engine = Tivoli Workload Scheduler for z/OS

37 © 2012 IBM Corporation 37 Workload Automation Setup Local Engine Define Shadow Job Remote Engine = Tivoli Workload Scheduler Distributed Remote Engine = Tivoli Workload Scheduler for z/OS

38 © 2012 IBM Corporation 38 Workload Automation


Download ppt "© 2012 IBM Corporation Using Shadow Jobs to Manage Cross-Platform Dependencies."

Similar presentations


Ads by Google