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

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

book

Article ID: 20614

calendar_today

Updated On:

Products

Workload Automation Agent DSERIES- SERVER CA Workload Automation DE - System Agent (dSeries)

Issue/Introduction

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.

 

Environment

Release: ENCWLA00200-11.3-Workload Automation-Restart Option-EE
Component:

Resolution

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=MANAGER1
communication.manageraddress_1=address1
communication.managerport_1=6100

communication.managerid_2=MANAGER2
communication.manageraddress_2=address2
communication.managerport_2=6111

Secondly, the Agent JOB is defined as normal on one ESP Edition. For example, on MANAGER1:
APPL AGENT21
......
NT_JOB SAMPLEJOB1
AGENT USER2
RUN ANY
CMDNAME c:\batch\somescript.bat
ENDJOB

Thirdly, on the other ESP (MANAGER2, in this example), the job will be defined as EXTMON , as demonstrated below:
APPL EXTMON
EXTMON SAMPLEJOB1 SCHED('TODAY')
EXTSCHEDULER MANAGER1
AGENT USER2
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 SAMPLEJOB1 will be shared between the two ESPs thru the Agent. As seen from Agent transmitter.log:

20111014 10003275+0400 MANAGER1 USER2 SAMPLEJOB1/AGENT21.13/MAIN State EXEC SetStart Status(Executing at USER2) Jobno(1234) User(USER2) Host(xxxx) 
20111014 10003286+0400 MANAGER2 USER2 SAMPLEJOB1/EXTMON.1/MAIN EXTSCH POST Extscheduler(MANAGER1) STATE(EXEC) Data(Status(EXECUTING))
\WOBRequestID (xxxxxxxxxxxxxxxxxxxxxxxxxx) Plugin(router) User(USER2) Host(xxxx)
20111014 10003277+0400 MANAGER1 USER2 SAMPLEJOB1/AGENT21.13/MAIN State COMPLETE Cmpc(0) SetEnd User(USER2) Host(xxxx)
20111014 10003294+0400 MANAGER2 USER2 SAMPLEJOB1/EXTMON.1/MAIN EXTSCH POST Extscheduler(MANAGER1) STATE(COMPLETE) Data(Cmpc(0) )
WOBRequestID(xxxxxxxxxxxxxxxxxxxxxxxxxx) Plugin(router) User(USER2) Host(xxxx)


And NT_JOB SAMPLEJOB1 will show as COMPLETED from both ESPs.