Job fails to retrieve global variable right after Autosys server restart
search cancel

Job fails to retrieve global variable right after Autosys server restart

book

Article ID: 188139

calendar_today

Updated On:

Products

CA Workload Automation AE - Business Agents (AutoSys) CA Workload Automation AE - System Agent (AutoSys) CA Workload Automation AE - Scheduler (AutoSys) Workload Automation Agent CA Workload Automation AE

Issue/Introduction

We have several jobs that fail while retrieving global variables right after Autosys server restart.  This happens only the first time.  Once the jobs are resubmitted after a few minutes, they all complete successfully. My observation is that there may be some sort of delay with the app server fully initializing while the scheduler starts running the jobs immediately.

We migrated the autosys server from on-prem to Azure cloud.  We have noticed the issue since.  Autosys start/stop procedures hasn't changed.  

Environment

Release : 11.3.6

Component : CA Workload Automation AE (AutoSys)

Resolution

Adding a delay between the start up of the AS Server and AS Scheduler processes resolved the issue.

Before
unisrvcntr start all

After
unisrvcntr start waae_agent-WA_AGENT
unisrvcntr start waae_server.PRD
sleep 60
unisrvcntr start waae_sched.PRD