EXTMON - A way to share Agent tracking data between CA Workload Automation ESP Edition systems.

Document ID : KB000020614
Last Modified Date : 14/02/2018
Show Technical Document Details

Description:

There are different ways to share tracking data for mainframe JOBs between different Masters, like NDS. However, they cannot be used to share tracking data for Agent WOBs.

Solution:

Using EXTMON, you can accomplish it.

Note: EXTMON is designed to share tracking data between ESP Edition and CA Workload Automation dSeries Edition.

Similarly EXTSCH is designed to share tracking data between ESP Edition and CA Workload Automation Autosys Edition.

Here is an example:

Firstly, the Agent needs to be able to connect to both ESPs. In other words, both ESPs should be defined as manager in agentparm file. For example:
communication.managerid_1=L5_MANAGER
communication.manageraddress_1=address1
communication.managerport_1=61000

communication.managerid_2=L1_MANAGER
communication.manageraddress_2=address2
communication.managerport_2=61111

Secondly, the Agent JOB is defined as normal on one ESP Edition. For example, on L5_MANAGER:
APPL AGENT21
......
NT_JOB PAYJOB3
AGENT LUCY2
RUN ANY
CMDNAME c:\batch\exitcode.bat
ENDJOB

Thirdly, on the other ESP (L1_MANAGER, in this example), the job will be defined as EXTMON , as demonstrated below:
APPL EXTMON
EXTMON PAYJOB3 SCHED('TODAY')
EXTSCHEDULER L5_MANAGER
AGENT LUCY2
RUN DAILY
ENDJOB

Note: EXTMON is similar to an external job, which is submitted by another ESP (specified on EXTSCHEDULER).

See more on Command Reference Guide.

The tracking data for NT_JOB PAYJOB3 will be shared between the two ESPs thru the Agent. As seen from Agent transmitter.log:
20111014 10003275+0400 L5_MANAGER LUCY2 PAYJOB3/AGENT21.13/MAIN State EXEC SetStart Status(Executing at LUCY2) Jobno(3896) User(LUCY2) Host(zz13)
20111014 10003286+0400 L1_MANAGER LUCY2 PAYJOB3/EXTMON.1/MAIN EXTSCH POST Extscheduler(L5_MANAGER) STATE(EXEC) Data(Status(EXECUTING))
\WOBRequestID (435682A9DD07B9D49CB67D56018ADCC3C93DD31713186008328480) Plugin(router) User(LUCY2) Host(zz13)
20111014 10003277+0400 L5_MANAGER LUCY2 PAYJOB3/AGENT21.13/MAIN State COMPLETE Cmpc(0) SetEnd User(LUCY2) Host(zz13)
20111014 10003294+0400 L1_MANAGER LUCY2 PAYJOB3/EXTMON.1/MAIN EXTSCH POST Extscheduler(L5_MANAGER) STATE(COMPLETE) Data(Cmpc(0) )
WOBRequestID(435682A9DD07B9D49CB67D56018ADCC3C93DD31713186008329100) Plugin(router) User(LUCY2) Host(zz13)

And NT_JOB PAYJOB3 will show as COMPLETED from both ESPs.