TWS/Graph - horizont

Download Report

Transcript TWS/Graph - horizont

TWS/Graph
The Best View to TWS
How to use the monitor
HORIZONT
Software
for Datacenters1
HORIZONT
Garmischer Str. 8
D- 80339 München
Tel ++49(0)89 / 540 162 - 0
www.horizont-it.com
TWS/Graph
TWS/Graph Status Monitor
This presentation shows you four examples how to
use the monitor:
• Create job lists
• Monitor milestones
• Generate tickets (BMW)
• Monitor if production is late (Caja Madrid)
HORIZONT
2
TWS/Graph
Example 1: Create Lists
The first example shows how
create easily job lists with the
monitor
HORIZONT
3
TWS/Graph
Create HTML Lists
This (simple) example shows you how to create a
homepage that meets following requirements:
• List all jobs that are waiting
• List all jobs that are active
• List all jobs that are complete
• List all jobs that are in error
HORIZONT
4
TWS/Graph
Create new file
1. Create a new monitor
definition
HORIZONT
5
TWS/Graph
Insert top level
2. Insert top level
(any text is ok)
HORIZONT
6
TWS/Graph
Insert ERROR object
3. Insert Operation
object to create
ERROR list
HORIZONT
7
TWS/Graph
Create other objects
4. Create Operation objects for
ERROR, WAITING,
ARRIVING, and COMPLETE
HORIZONT
8
TWS/Graph
Arrange objects
New with V5R2:
Order can be changed
HORIZONT
9
TWS/Graph
Save definitions
5. Save definition, then
start
HORIZONT
10
TWS/Graph
Start monitor
6. Specify all needed
HTML options
HORIZONT
11
TWS/Graph
Review status
Monitor is
now up and
running.
No errors!
HORIZONT
12
TWS/Graph
Resulting HTML
Top level
entry point...
HORIZONT
13
TWS/Graph
Resulting HTML
Access to
lists…
HORIZONT
14
TWS/Graph
Resulting HTML
PS: You can use the link to
access e.g. ERROR lists
directly. As long as you
use this definition, the file
name doesn’t change!
HORIZONT
15
TWS/Graph
Resulting HTML
Detailed job information for all jobs
that are complete. Automatically
updated every five minutes!
HORIZONT
16
TWS/Graph
Modify list layout in TWSGRAPH.CFG
Modify TWSGRAPH.CFG:
LIST_POS=CPO_OP_
contains the names of columns
Remember: All variable
names are listed in
TWSGRAPH.LBL
HORIZONT
17
TWS/Graph
Modify Sort order in TWSGRAPH.CFG
Change HTML Sort Order
HORIZONT
18
TWS/Graph
Example 2: Milestones
The second example shows how
to use milestones to monitor
production
HORIZONT
19
TWS/Graph
Milestones
Probably the best way to monitor the
Critical Path is to insert “milestones”
HORIZONT
20
TWS/Graph
Create Dummy Workstation
1. Create a dedicated
dummy workstation to
be used only for
monitoring
HORIZONT
21
TWS/Graph
Create Dummy Workstation
2. Create “milestones”
as successors to
“important” jobs…
HORIZONT
22
TWS/Graph
Create Dummy Workstation
3. Specify “deadline”…
HORIZONT
23
TWS/Graph
Production with Milestones
4. Milestones are now inserted
into production (without any
functional effect to TWS)
HORIZONT
24
TWS/Graph
Create Monitor Definition
5. The status monitor of
TWS/graph needs only
one object
HORIZONT
25
TWS/Graph
Start Monitor
6. Start the monitor
HORIZONT
26
TWS/Graph
HTML with Milestones
7. The resulting list
shows if you are in
time…
…or not: Status L(ate)
HORIZONT
27
TWS/Graph
Pros and Cons
We think Milestones is the best method to monitor
thousands of jobs:
+ Simply to use
+ Excellent performance
(TWS/Graph must monitor only the milestones, and not the
whole stuff)
+ If there is a known delay to the start of batch by,
say 2 hours, you only need to change the 'late time'
field to '02:00' in the status monitor definition
- Milestones must be maintained
HORIZONT
28
TWS/Graph
Example 3: BMW
The third example shows
how BMW uses the monitor.
BMW has its headquarter in Munich.
BMW is using TWS/Graph, TWS/Audit,
TWSBatchAD, TWSBatchCP, SmartJCL
and XINFO.
HORIZONT
29
TWS/Graph
Initial Situation
• Some critical jobs where checked manually
• No checks between 00:00 and 05:00
• Tickets where created manually
HORIZONT
30
TWS/Graph
Target
• Generate Alerts and Tickets automatically
- For Error Jobs
- For Late Jobs
• Generate Status Information
- For the programmers who are responsible for the tickets
- For non IT-departments
HORIZONT
31
TWS/Graph
Status Monitor Web Designer
BMW is major test site for the
new web application to maintain
the monitor definition.
HORIZONT
32
TWS/Graph
Status Monitor Web Designer
TEC and Remedy
parameters can be
maintained together with
TWS/Graph definitions
HORIZONT
33
TWS/Graph
File Export to TWS/Graph
In the actual test installation TWS/Graph Web
exports monitor definitions to TWS/Graph Client
MONITOR.LST
Web to EXE
HORIZONT
34
TWS/Graph
Refresh Rate
The refresh rate is 5 minutes.
One “refresh“ takes 3-4 seconds
and requires 0,1 CPU seconds.
HORIZONT
35
TWS/Graph
HTML Status Information via Intranet
The HTML directory is shared,
anybody (who is authorised) can
view the files
Department names are used as
entry points
HORIZONT
36
TWS/Graph
Alerts and Tickets
In case of Error- or Late jobs a
Perl script is started
HORIZONT
37
TWS/Graph
Perl Script
1. TWS/Graph passes TWS, TEC, and
remedy Parameters to the script
2. The Script generates and sends
Command „postemsg“ to the TEC
HORIZONT
38
TWS/Graph
TEC Events
TEC-Events generated by
TWS/Graph
HORIZONT
39
TWS/Graph
Remedy Tickets
Remedy Tickets generated by TEC
HORIZONT
40
TWS/Graph
Example 4: Caja Madrid
The fourth example shows
how Caja Madrid uses
TWS/Graph.
Caja Madrid is a Spanish bank, the
headquater is in Madrid.
Caja Madrid is using TWS/Graph,
SmartJCL and XINFO.
HORIZONT
41
TWS/Graph
Initial Situation
• Tickets are generated automatically
(EQQUX007)
• They have few but important key
applications
• The Batch Window is too small
• Operating is not able to see possible delays
in time
HORIZONT
42
TWS/Graph
Target
Operating needs early warnings when a
critical job will probably not end in time
H OR 10D A Y
H OR 10007 *
H OR 10D A Y
H OR 10006 *
H OR 00D A Y
001 TIME C
H OR 10D A Y
001 D MY C
H OR 10D A Y
H OR 10005 *
H OR 10D A Y
H OR 10035 W
H OR 10D A Y
H OR 10036 W
H OR 10D A Y
H OR 10037 W
H OR 10D A Y
H OR 10030 W
H OR 10D A Y
H OR 10031 W
H OR 10D A Y
H OR 10032 W
H OR 10D A Y
H OR 10033 W
H OR 10D A Y
H OR 10025 W
H OR 10D A Y
H OR 10026 W
H OR 10D A Y
H OR 10020 W
H OR 10D A Y
H OR 10021 W
H OR 10D A Y
H OR 10022 W
H OR 10D A Y
H OR 10023 W
H OR 10D A Y
H OR 10010 W
H OR 10D A Y
H OR 10011 W
H OR 10D A Y
H OR 10012 W
H OR 10D A Y
H OR 10013 W
H OR 10D A Y
255 D MY W
H OR 10D A Y
H OR 10015 W
H OR 40D A Y
001 D MY W
H OR 60D A Y
001 TIME A
H OR 40D A Y
H OR 40025 W
H OR 40D A Y
H OR 40026 W
H OR 40D A Y
H OR 40006 W
H OR 40D A Y
H OR 40020 W
H OR 40D A Y
H OR 40021 W
H OR 40D A Y
H OR 40022 W
H OR 40D A Y
H OR 40023 W
H OR 40D A Y
H OR 40005 W
H OR 40D A Y
H OR 40010 W
H OR 40D A Y
H OR 40011 W
H OR 40D A Y
H OR 40012 W
H OR 40D A Y
H OR 40013 W
H OR 40D A Y
H OR 40030 W
H OR 40D A Y
H OR 40031 W
H OR 40D A Y
H OR 40032 W
H OR 40D A Y
H OR 40033 W
H OR 40D A Y
H OR 40035 W
H OR 40D A Y
H OR 40036 W
H OR 40D A Y
H OR 40037 W
H OR 50D A Y
H OR 50010 W
H OR 40D A Y
255 D MY W
H OR 60D A Y
H OR 60010 W
H OR 40D A Y
H OR 40015 W
H OR 40D A Y
H OR 40007 W
H OR 50D A Y
001 D MY W
H OR 20D A Y
001 D MY C
H OR 20D A Y
H OR 20005 *
H OR 50D A Y
H OR 50005 W
H OR 20D A Y
H OR 20015 W
H OR 50D A Y
H OR 50007 W
H OR 20D A Y
H OR 20006 *
H OR 20D A Y
H OR 20007 *
H OR 30D A Y
001 D MY C
H OR 30D A Y
H OR 30005 *
H OR 30D A Y
H OR 30006 *
H OR 30D A Y
H OR 30007 *
LTS T03D
LTS T30
LTS T00D
001 TIME C
HORIZONT
*
LTS T03D
LTS T05
W
LTS T03D
LTS T10
W
LTS T02D
LTS T15
W
H OR 50D A Y
H OR 50011 W
H OR 50D A Y
H OR 50012 W
H OR 50D A Y
H OR 50013 W
H OR 50D A Y
H OR 50020 W
H OR 50D A Y
H OR 50021 W
H OR 50D A Y
H OR 50022 W
H OR 50D A Y
H OR 50023 W
H OR 50D A Y
H OR 50025 W
H OR 50D A Y
H OR 50026 W
H OR 50D A Y
H OR 50030 W
H OR 50D A Y
H OR 50031 W
H OR 50D A Y
H OR 50032 W
H OR 50D A Y
H OR 50033 W
H OR 50D A Y
H OR 50035 W
H OR 50D A Y
H OR 50036 W
H OR 50D A Y
H OR 50037 W
H OR 20D A Y
255 D MY W
H OR 20D A Y
H OR 20010 W
H OR 20D A Y
H OR 20011 W
H OR 20D A Y
H OR 20012 W
H OR 20D A Y
H OR 20013 W
H OR 20D A Y
H OR 20020 W
H OR 20D A Y
H OR 20021 W
H OR 20D A Y
H OR 20022 W
H OR 20D A Y
H OR 20023 W
H OR 20D A Y
H OR 20025 W
H OR 20D A Y
H OR 20026 W
H OR 20D A Y
H OR 20030 W
H OR 20D A Y
H OR 20031 W
H OR 20D A Y
H OR 20032 W
H OR 20D A Y
H OR 20033 W
H OR 25D A Y
H OR 25001 W
H OR 20D A Y
H OR 20035 W
H OR 20D A Y
H OR 20036 W
H OR 20D A Y
H OR 20037 W
H OR 30D A Y
H OR 30013 W
H OR 30D A Y
255 D MY W
H OR 30D A Y
H OR 30010 W
H OR 30D A Y
H OR 30011 W
H OR 30D A Y
H OR 30012 W
H OR 30D A Y
H OR 30020 W
H OR 30D A Y
H OR 30021 W
H OR 30D A Y
H OR 30022 W
H OR 30D A Y
H OR 30023 W
H OR 30D A Y
H OR 30025 W
H OR 30D A Y
H OR 30026 W
H OR 30D A Y
H OR 30030 W
H OR 30D A Y
H OR 30031 W
H OR 30D A Y
H OR 30032 W
H OR 30D A Y
H OR 30033 W
H OR 30D A Y
H OR 30035 W
H OR 30D A Y
H OR 30036 W
H OR 30D A Y
H OR 30037 W
H OR 30D A Y
H OR 30015 W
LTS T03D
LTS T35
LTS T05D
LTS T05
W
LTS T05D
LTS T20
W
LTS T05D
LTS T10
W
LTS T05D
LTS T30
W
LTS T04D
LTS T10
W
LTS T04D
LTS T20
W
LTS T04D
LTS T15
W
LTS T04D
LTS T15
W
W
LTS T02D
LTS T20
*
LTS T02D
LTS T20
W
LTS T02D
LTS T30
W
LTS T01D
LTS T10
*
LTS T01D
LTS T30
W
LTS T01D
LTS T15
W
LTS T01D
LTS T25
W
H OR 50D A Y
255 D MY W
H OR 50D A Y
H OR 50015 W
H OR 50D A Y
H OR 50006 W
43
05:00
06:00
H OR 35D A Y
H OR 35001 W
LTS T06D
LTS T10
W
LTS T06D
LTS T10
W
LTS T06D
LTS T05
W
LTS T06D
LTS T15
W
LTS T99D
LTS TE N D
W
TWS/Graph
Technical Overview
Based on Caja Madrid’s requirements,
HORIZONT developed a monitor concept:
• Only critical end jobs must be defined to TWS/Graph
• TWS calculates Planned Duration for every job while
extending the Current Plan
• TWS/Graph searches all predecessors of the critical jobs
• TWS/Graph uses the Planned Duration to find the critical
path for every critical job
• TWS/Graph calculates the estimated execution time of every
critical path and shows the remaining buffer time
HORIZONT
44
TWS/Graph
Jobs on the critical path(s)
Das
kann jetztcan
(5.1)
auch der
TWS/Graph
monitor
as
Status
oder
manyMonitor
critical for
endeinen
jobs as
mehrere
needed.
HereEnde-Jobs
we have two
critical end jobs.
HORIZONT
45
TWS/Graph
Late Options
Use the TWS/Graph dialog to define
an object for every critical end job
The critical job
Aa
(Application Id and
a
Operation Number
Late time as an
offset to IAT
Predecessor levels that should
be taken into account
HORIZONT
46
TWS/Graph
Calculated remaining duration Path
After having started the monitor,
TWS/Graph automatically builds a
flowchart with all jobs that are on
the critical path
HORIZONT
47
The end job and all
predecessors that are
not complete
TWS/Graph
Calculated remaining duration
Information
window
Number of
jobs on the
critical path
Calculated
Late-Time:
17:00
Actual buffer:
1 hour
Status
Remaining runtime:
3 hours
HORIZONT
48
TWS/Graph
Calculated remaining duration
The actual buffer is
calculated frequently
13:30
HORIZONT
49
TWS/Graph
Calculated remaining duration
If it looks like the critical end
time will be missed, the buffer
becomes negative
14:01
HORIZONT
50
TWS/Graph
Calculated remaining duration
The Monitor signalises “Late”
HORIZONT
51
TWS/Graph
Calculated remaining duration
Jobs are
running now,
some jobs are
complete
Now the buffer is
sufficient again
14:07
HORIZONT
52
TWS/Graph
Calculated remaining duration
Path becomes
shorter
14:30
HORIZONT
53
TWS/Graph
Calculated remaining duration
Summary: TWS/Graph can show
you where you are and the best
estimate of when the Batch will end
15:00
HORIZONT
54
TWS/Graph
Some figures
Even we where concerned about performance,
but the result was better than expected:
• 6 critical jobs are monitored
• Refresh-Rate is 1 hour
• Runtime (one Monitor for 6 Jobs)
- 18 Minutes right after “Begin of production”
- 10 Minutes just before “End of production”
• Runtime (6 Monitors parallel)
- Each monitor requires 5 down to 2.5 minutes
HORIZONT
55
TWS/Graph
Benefits of TWS/Graph Status Monitor
Let us summarize the benefits of
TWS/Graph’s integrated Status Monitor:
• Easy to install
(no installation if you have TWS/Graph)
• Different targets can be addressed
(Lists, Tickets, Late)
• No system modifications needed (Exits etc.)
• All jobs controlled by TWS can be monitored,
z/OS as well as End2End jobs
HORIZONT
56
TWS/Graph
Do you have any questions?
[email protected]
• Create job lists
• Monitor milestones
• Generate tickets (BMW)
• Monitor if production is late (Caja Madrid)
HORIZONT
57
TWS/Graph
TWS/Graph
The Best View to TWS
Many thanks for your
attention!
HORIZONT
Software
für Rechenzentren
58
HORIZONT
Garmischer Str. 8
D- 80339 München
Tel ++49(0)89 / 540 162 - 0
www.horizont-it.com
TWS/Graph