CA Workload Automation ESP Edition Tips and Tricks

  • Slides: 29
Download presentation
CA Workload Automation ESP Edition Tips and Tricks John Rooney, Sr. Principal Consultant, CA

CA Workload Automation ESP Edition Tips and Tricks John Rooney, Sr. Principal Consultant, CA Technologies March 22, 2016

Abstract John Rooney Sr. Principal Consultant, CA Technologies In this Tech Talk you will

Abstract John Rooney Sr. Principal Consultant, CA Technologies In this Tech Talk you will learn about ways to reduce manual intervention, and streamline your batch and online systems for increased efficiencies. Join John Rooney, CA Technologies, to hear about ways to optimize and improve job flows in CA Workload Automation ESP Edition (CA WLA ESP). 2 © 2016 CA. ALL RIGHTS RESERVED.

CA WLA ESP 11. 4 has been releasing enhancements instream as PTFs § Separate

CA WLA ESP 11. 4 has been releasing enhancements instream as PTFs § Separate documentation is created for each of the new enhancements 3 © 2016 CA. ALL RIGHTS RESERVED.

Download the CA WLA ESP Bookshelf and/or check for updates occasionally 4 © 2016

Download the CA WLA ESP Bookshelf and/or check for updates occasionally 4 © 2016 CA. ALL RIGHTS RESERVED.

The Bookshelf contains documentation on the instream enhancements 5 © 2016 CA. ALL RIGHTS

The Bookshelf contains documentation on the instream enhancements 5 © 2016 CA. ALL RIGHTS RESERVED.

Documentation on the individual enhancements 6 © 2016 CA. ALL RIGHTS RESERVED.

Documentation on the individual enhancements 6 © 2016 CA. ALL RIGHTS RESERVED.

CA Workload Automation Agents docops – NEW! https: //docops. ca. com/ca-wlaagents-1134 -en Check for

CA Workload Automation Agents docops – NEW! https: //docops. ca. com/ca-wlaagents-1134 -en Check for the latest platform certifications CA WLA ESP coming soon! 7 © 2016 CA. ALL RIGHTS RESERVED.

A great guide for information on the 11. 3. 4 Agents included with the

A great guide for information on the 11. 3. 4 Agents included with the 11. 3. 4 incremental 2 download 8 © 2016 CA. ALL RIGHTS RESERVED.

What is the version of a specific deployed agent? C: Program FilesCAWA Agent R

What is the version of a specific deployed agent? C: Program FilesCAWA Agent R 11. 3. 4 DB 7535>cybagent -v § Cybagent -v CA Workload Automation Agent for: Microsoft Windows 64 -bit R 11. 3, Service Pack 4, Maintenance Level 3, Build 821 Enabled plug-in(s): - runner - router - filemon - objmon - filebrowser - ftp - database Enabled Advanced Integration(s): Built at: Jan 12 2016, 12: 01: 44 9 © 2016 CA. ALL RIGHTS RESERVED.

Also, what about the versions of the plugin(s)? C: Program FilesCAWA Agent R 11.

Also, what about the versions of the plugin(s)? C: Program FilesCAWA Agent R 11. 3. 4 DB 7535>cybagent -vv § Cybagent –vv § New command introduced in 11. 3 SP 4 (Incremental 2) CA Workload Automation Agent for: Microsoft Windows 64 -bit R 11. 3, Service Pack 4, Maintenance Level 3, Build 821 Functionality Installed with Agent: Name - config - filebrowser - filemon - ftp - management - objmon - router - runner - snmp Enabled No Yes Yes Yes No Additional Integrations/Plugins Installed on Agent: Name Enabled Version - Database Yes R 11. 3, Service Pack 5, Build 830 Additional Advanced Integrations Installed on Agent: None Built at: Jan 12 2016, 12: 01: 44 10 © 2016 CA. ALL RIGHTS RESERVED.

The new Dynamic Agent Configuration commands are used by Agent Monitor (soon to be

The new Dynamic Agent Configuration commands are used by Agent Monitor (soon to be Agent Orchestrator) § Need to open up a webport in The command sent to the server is: agent jprr 1134 list Workstation Server to enable RESTful commands - RO 70737 § “Agent – list” issued to the CA WLA ESP Master to get the agent information - RO 70180, RO 71348 § JPRR 1134 Address ROOJO 02 W 7. CA. COM Port 7535 OS (Windows 7 for amd 64) Release (R 11. 3) Build (821, Service Pack 4, Maintenance Level 3) Comm. Type TCP/IP, Charcode ASCII Encryption(DES) Retry Interval 12000 Owned by 141. 202. 36. 10 Active Last send at 23. 52. 49 on MONDAY MARCH 21 ST, 2016 Messages sent 91, queued 0 The build information is not currently supported for aliases 11 © 2016 CA. ALL RIGHTS RESERVED.

Agent Monitor display of agents defined to CA WLA ESP 12 © 2016 CA.

Agent Monitor display of agents defined to CA WLA ESP 12 © 2016 CA. ALL RIGHTS RESERVED.

Did you ever see “Error in manager message format? ” 13 © 2016 CA.

Did you ever see “Error in manager message format? ” 13 © 2016 CA. ALL RIGHTS RESERVED.

Ensure that the APPL name in agentparm. txt matches up to the REAL CA

Ensure that the APPL name in agentparm. txt matches up to the REAL CA WLA ESP APPL name (if you are using one) # # Communications # communication. inputport=7535 communication. managerid_1=DSERIES 113 communication. manageraddress_1=ROOJO 02 W 7 communication. managerport_1=7507 communication. monitorobject_1=JPRR 1134/AGENTMON. 0/MAIN communication. managerid_2=CM_CAESP 21 communication. manageraddress_2=TSO 21 communication. managerport_2=8665 communication. monitorobject_2=JPRR 1134/AGENTMON. 0/MAIN communication. managerid_3=JPR communication. manageraddress_3=c. A 11 communication. managerport_3=9671 communication. monitorobject_3=JPRR 1134/AGENTMON. 0/MAIN 14 © 2016 CA. ALL RIGHTS RESERVED.

Common CA WLA ESP performance issues § Are you seeing a delay in your

Common CA WLA ESP performance issues § Are you seeing a delay in your Events generating applications? § Are your applications taking longer to process? 15 © 2016 CA. ALL RIGHTS RESERVED.

Check your Event Initiator Classes (EICLASS) You may want to consider adding additional classes

Check your Event Initiator Classes (EICLASS) You may want to consider adding additional classes EICLASS [DISPLAY|SET|DELETE] [CLASS(nnn)] [MPL(nn)] [STATISTICS(DISPLAY|CLEAR)] The command sent to the server is: oper eiclass display Class 0: Current=3, Max=3, Active=0 Init 1: 306 Events, 5 Jobs Init 2: 467 Events, 4 Jobs Init 3: 474 Events, 0 Jobs 0 free Event initiators 16 © 2016 CA. ALL RIGHTS RESERVED.

Check your Event Initiator Class statistics Look for high CPU usage applications The command

Check your Event Initiator Class statistics Look for high CPU usage applications The command sent to the server is: oper eiclass statistics(display) Class 0: Current=3, Max=3, Active=0 Init 1: 306 Events, 5 Jobs Highest elapsed time 00. 01. 79 on 08. 00 MARCH 19 TH, 2016 by Event ROOJO 02. SADGEN Highest CPU time 00. 00. 02 on 08. 00. 03 MARCH 19 TH, 2016 by Event ROOJO 02. PAYROLL, Appl PAYROLL. 968 for job ZOS 1 Init 2: 672 Events, 204 Jobs Highest elapsed time 00. 01. 80 on 08. 00 MARCH 19 TH, 2016 by Event ROOJO 02. PAYROLL Highest CPU time 00. 00. 04 on 22. 56. 35 MARCH 21 ST, 2016 by Event ROOJO 02. LATTEST, Appl LATTEST 2. 1 for job TEST 001. 132 Init 3: 475 Events, 0 Jobs Highest elapsed time 00. 01. 25 on 08. 00 MARCH 21 ST, 2016 by Event ROOJO 02. PAYROLL Highest CPU time 00. 00. 02 on 18. 21. 58 MARCH 21 ST, 2016 by Event ROOJO 02. AGENTMON, UNCONDITIONAL 17 © 2016 CA. ALL RIGHTS RESERVED.

Review the high CPU usage applications § Are there large amounts of REXX commands?

Review the high CPU usage applications § Are there large amounts of REXX commands? – Try to reduce the amount of REXX if possible § Look for cyclic applications getting scoreboard information – If using JOBONCSF, consider rewriting the applications to use LCSF command § AJ commands also use Event Initiators – Some field developed applications use a lot of AJ commands 18 © 2016 CA. ALL RIGHTS RESERVED.

Set-up a new EICLASS if you determine more classes are needed § Issued as

Set-up a new EICLASS if you determine more classes are needed § Issued as an oper command, the EICLASS will The command sent to the server is: oper EICLASS set class(99) MPL(1) ESPWSS 1714 I Event multiprogramming level for class 99 set to 1 not be persistent across CA WLA ESP restarts § Need to be put in CA WLA ESP Parm member to make permanent 19 The command sent to the server is: oper EICLASS display Class 0: Current=3, Max=3, Active=0 Init 1: 306 Events, 5 Jobs Init 2: 691 Events, 204 Jobs Init 3: 484 Events, 0 Jobs Class 99: Current=0, Max=1, Active=0 0 free Event initiators © 2016 CA. ALL RIGHTS RESERVED.

Other uses for specifying a separate/unique EICLASS in the Event Definition § Can be

Other uses for specifying a separate/unique EICLASS in the Event Definition § Can be used to single thread applications § Can be used to separate critical workload § Useful during DR testing to start critical workload without opening up all workload 20 © 2016 CA. ALL RIGHTS RESERVED.

Cache your procs for additional performance improvements § Many customers will notice more of

Cache your procs for additional performance improvements § Many customers will notice more of an improvement from caching the procs than from setting up a new EICLASS § Usually very beneficial for applications containing 400 or more jobs 21 © 2016 CA. ALL RIGHTS RESERVED.

Documentation on caching a Proc § You can cache individual procs § You will

Documentation on caching a Proc § You can cache individual procs § You will need to delete the cached copy when you make changes 22 © 2016 CA. ALL RIGHTS RESERVED.

You may be used to making changes to a Proc and having the changes

You may be used to making changes to a Proc and having the changes take effect immediately You can make changes to any of the following commands and statements listed below. Global changes, outside the scope of any JOB statements, apply to all subsequent submissions. Job specific changes, within the scope of a JOB statement, apply to the next submission of that job. ■ CCCHK ■ CCFAIL ■ COPYJCL ■ DATASET ■ DOCLIB ■ DOCMEM ■ ESP ■ INVOKE ■ JCLLIB ■ MEMBER ■ MODEL ■ MONITOR ■ NOTIFY ■ PNODES ■ SEND ■ SUBMIT ■ TEMPLIB ■ VS commands and statements Statements related to distributed workload, for example ARGS, CMDNAME, ENVAR, and USER, also take effect immediately. © 2016 CA. ALL RIGHTS RESERVED. 23

Also, Tempproc uses caching § Will always be on § Be aware of changes

Also, Tempproc uses caching § Will always be on § Be aware of changes to a tempproc will need to use cproc 24 © 2016 CA. ALL RIGHTS RESERVED.

Consider using the z. IIP processor if you are caching applications Tests are performed

Consider using the z. IIP processor if you are caching applications Tests are performed to see if the amount of data surpasses internal thresholds. For instance: § A large application that has application caching on: – More than 600 jobs § Update of a large checkpoint file § Workstation check of scoreboard updates if there a large number of jobs – More than 100, 000 total jobs – Timestamps are checked every 5 seconds(WSSCTL INTERVAL) 25 © 2016 CA. ALL RIGHTS RESERVED.

Costs and limitations of using the z. IIP Processor § Work on the General

Costs and limitations of using the z. IIP Processor § Work on the General Processor(GP) is necessary to prepare for the jump to the use of the z. IIP Processor – The cost of the use of the GP for this purpose may outweigh the costs saved by using the z. IIP § z. IIP cannot execute I/O to files 26 © 2016 CA. ALL RIGHTS RESERVED.

z. IIP Processing for the ESP Master STC § z. IIP Processing – Internal

z. IIP Processing for the ESP Master STC § z. IIP Processing – Internal Tasks were identified that were long running and worthy of additional overhead necessary to switch to z. IIP processor § STC Startup PARM – //IEFPROC EXEC PGM=CYBJS 000, PARM='ZIIP‘ § Display z. IIP usage status - OPER DSPMODE TASKS 27 © 2016 CA. ALL RIGHTS RESERVED.

z. IIP Processing for Workstation Server Note: Some customers report significant MIPS savings §

z. IIP Processing for Workstation Server Note: Some customers report significant MIPS savings § z. IIP Processing on the Workstation Server – Used when large number of jobs are on scoreboard § STC Startup PARM – //IEFPROC EXEC PGM=CYBES 064, PARM='ZIIP', § Display z. IIP usage status - OPER DSPMODE TASKS 28 © 2016 CA. ALL RIGHTS RESERVED.

Thank you • CA Workload Automation Documentation • https: //docops. ca. com/ • CA

Thank you • CA Workload Automation Documentation • https: //docops. ca. com/ • CA Workload Automation Sprints (sign up) • validate. ca. com • CA Workload Automation User Communities • communities. ca. com • More Information: • ca. com/wla • John. Rooney@ca. com 29 © 2016 CA. ALL RIGHTS RESERVED.