We direct a distributed job to agent SERVER_AB, which points to a DNS containing both SERVER_A and SERVER_B.
Is it possible to see from the spool file (via the WSF command in CSF) whether the job actually ran on SERVER_A or SERVER_B?
Component: ESP Workload Automation
While the job is running the actual node will be displayed in the “Job Status” field.
It will not be in the spool file unless the job does an echo HOSTNAME.
In the ESP Auditlog, the messages for the WOB will display the Agent name and the host where the job runs.
agentname jobname/appname.nnn/MAIN State EXEC SetStart Status(Executing at agentname)
Jobno(1356) JobLogId(81B16E062ECD4F356867EF94764C50B52591FCC0) User(agentname) Host(hostname)
Host is where the job executed.
Also in the AgentParm.txt the following parameter can be added:
Does the equivalent of an env command, and sends it to the spool file.
The HOSTNAME is in there.