590 likes | 698 Views
TWS/Graph. The Best View to TWS. How to use the monitor. H O RIZONT Software for Datacenters. Garmischer Str. 8 D- 80339 München Tel ++49(0)89 / 540 162 - 0 www.horizont-it.com. TWS/Graph Status Monitor. Create job lists Monitor milestones Generate tickets (BMW)
E N D
TWS/Graph The Best View to TWS How to use the monitor HORIZONT Software for Datacenters Garmischer Str. 8 D- 80339 München Tel ++49(0)89 / 540 162 - 0www.horizont-it.com
TWS/Graph Status Monitor • Create job lists • Monitor milestones • Generate tickets (BMW) • Monitor if production is late (Caja Madrid) This presentation shows you four examples how to use the monitor:
Example 1: Create Lists The first example shows how create easily job lists with the monitor
Create HTML Lists • 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 This (simple) example shows you how to create a homepage that meets following requirements:
Create new file • Create a new monitor definition
Insert top level • Insert top level (any text is ok)
Insert ERROR object • Insert Operation object to create ERROR list
Create other objects • Create Operation objects for ERROR, WAITING, ARRIVING, and COMPLETE
Arrange objects New with V5R2: Order can be changed
Save definitions • Save definition, then start
Start monitor • Specify all needed HTML options
Review status Monitor is now up and running. No errors!
Resulting HTML Top level entry point...
Resulting HTML Access to lists…
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!
Resulting HTML Detailed job information for all jobs that are complete. Automatically updated every five minutes!
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
Modify Sort order in TWSGRAPH.CFG Change HTML Sort Order
Example 2: Milestones The second example shows how to use milestones to monitor production
Milestones Probably the best way to monitor the Critical Path is to insert “milestones”
Create Dummy Workstation • Create a dedicated dummy workstation to be used only for monitoring
Create Dummy Workstation • Create “milestones” as successors to “important” jobs…
Create Dummy Workstation • Specify “deadline”…
Production with Milestones • Milestones are now inserted into production (without any functional effect to TWS)
Create Monitor Definition • The status monitor of TWS/graph needs only one object
Start Monitor • Start the monitor
HTML with Milestones • The resulting list shows if you are in time… …or not: Status L(ate)
Pros and Cons • 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 We think Milestones is the best method to monitor thousands of jobs:
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.
Initial Situation • Some critical jobs where checked manually • No checks between 00:00 and 05:00 • Tickets where created manually
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
Status Monitor Web Designer BMW is major test site for the new web application to maintain the monitor definition.
Status Monitor Web Designer TEC and Remedy parameters can be maintained together with TWS/Graph definitions
File Export to TWS/Graph MONITOR.LST Web to EXE In the actual test installation TWS/Graph Web exports monitor definitions to TWS/Graph Client
Refresh Rate The refresh rate is 5 minutes. One “refresh“ takes 3-4 seconds and requires 0,1 CPU seconds.
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
Alerts and Tickets In case of Error- or Late jobs a Perl script is started
Perl Script • TWS/Graph passes TWS, TEC, and remedy Parameters to the script • The Script generates and sends Command „postemsg“ to the TEC
TEC Events TEC-Events generated by TWS/Graph
Remedy Tickets Remedy Tickets generated by TEC
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.
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
Target Operating needs early warnings when a critical job will probably not end in time 06:00 05:00
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
Jobs on the critical path(s) TWS/Graph can monitor as many critical end jobs as needed. Here we have two critical end jobs. Das kann jetzt (5.1) auch der Status Monitor for einen oder mehrere Ende-Jobs
Late Options Use the TWS/Graph dialog to define an object for every critical end job The critical job (Application Id and Operation Number Aaa Late time as an offset to IAT Predecessor levels that should be taken into account
Calculated remaining duration Path The end job and all predecessors that are not complete After having started the monitor, TWS/Graph automatically builds a flowchart with all jobs that are on the critical path
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
Calculated remaining duration The actual buffer is calculated frequently 13:30
Calculated remaining duration If it looks like the critical end time will be missed, the buffer becomes negative 14:01