AutoSys Workload Automation

 View Only

 chase job

Corrie Kantowski's profile image
Corrie Kantowski posted Jun 22, 2022 03:48 PM
I have 2 questions regarding the following Broadcom documentation:

The chase command does the following:
  • Obtains a list of jobs from the database that have been in the STARTING state for more than 120 seconds
  • Obtains a list of jobs from the database that are in the RUNNING state
  • Passes the list of jobs that are in the RUNNING state to the associated agents
Each agent then verifies that the jobs are running and returns the process status to the chase command. If the chase command detects errors, it can be instructed to send an alarm or send an event to change the status of the job to FAILURE.

1) Today, I found 3 jobs stuck in the RESTART state (probably due to an ungraceful shutdown). Could the chase job be configured to check for this status and send an event to change the job STATUS, similar to what it does with jobs stuck in the RUNNING state?

2) Why does the chase job obtain a list a jobs that have been in the STARTING state for > 120 secs, when it does nothing, at least that I am aware of, with that information?

Thank you!
Michael Woods's profile image
Broadcom Employee Michael Woods
Hi,

for your first question:
  • Running the chase command does not result in the automatic restart of jobs that are stuck in the STARTING state. Instead, chase writes a message to standard output that manual intervention might be required. Jobs that are stuck in the STARTING state are not be automatically restarted -- it is possible (for example, due to network problems) that the job might already have run, and its state was not yet communicated to the database. Verify the actual status of these jobs before you manually restart them.

for your second question:  If you use the '-A' option it will send an alarm when it finds a job stuck ini starting, which you could then take action on.

The documentation has some more detail as well: https://techdocs.broadcom.com/us/en/ca-enterprise-software/intelligent-automation/workload-automation-ae-and-workload-control-center/11-3-6-SP8/reference/ae-commands/maintain-system/chase-command-verify-job-starting-or-running-status.html

Regards,
Mike