AutoSys Workload Automation

  • 1.  Restarting Autosys

    Posted May 31, 2016 12:34 AM

    I need to prepare some documentation for a software rollback which needs to also rollback Workload Automation changes.

    I have inherited very little documentation with this requirement, so I need a little help. I have some brief notes, but am not sufficiently familiar with the application to know what they mean in a practical sense. Can someone assist by explaining these steps in terms of Workload Automation:

    1) Shutdown Autosys

    2) Put all Autosys jobs on hold (Global Auto Hold has been mentioned)

    3) Restart Autosys

    4) Enable Autosys jobs

    Thanks for any assistance.



  • 2.  Re: Restarting Autosys

    Posted May 31, 2016 10:39 AM

    Hi Chris,

    This depends somewhat on what version of WAAE you are using.

    In the later versions there is a variable in the configuration file located in $AUTOUSER/config.INS(TANCE)

    set GlobalAutoHold=1 to turn on Global Auto Hold

    Autosys will need to be stop/started to notice the change.

    Restart Autosys - no jobs will start due to the Autohold being in place - you can confirm by checking $AUTOUSER/out/event_demon.INS(TANCE) log file.

    To turn off GlobalAutoHold - edit the config file and set the value to 0, save, restart Autosys

     

    Older versions: Global Auto Hold was a switch on the eventor demon not in the config file so you would have to stop Autosys and restart using a eventor -G to turn Global Auto Hold on.



  • 3.  Re: Restarting Autosys
    Best Answer

    Posted Jun 01, 2016 08:30 AM

    Chris,

    Here is where you can read more about configuring the scheduler, and using the

    globalautohold mode and what its impact would be.

     

    https://docops.ca.com/ca-wla-ae-wcc/11-4-2/en/administrating/ae-configuration/configuring-a-scheduler

     

    There are multiple ways to start and stop AE.

    Doing ALL AutoSys processes:

    unisrvcntr stop CA-WAAE

    unisrvcntr start CA-WAAE

     

    Or one at a time:

    unisrvcntr stop waae_sched.$AUTOSERV

    unisrvcntr stop waae_server.$AUTOSERV

    unisrvcntr stop waae_agent-WA_AGENT

    unisrvcntr start waae_sched.$AUTOSERV

    unisrvcntr start waae_server.$AUTOSERV

    unisrvcntr start waae_agent-WA_AGENT

     

    or

    /etc/init.d/waae_sched.$AUTOSERV stop

    etc...

     

    and yes, if you are familar with the older versions eventor can be used.

     

    If you are new to AutoSys (AE) we recommend you make use of the wiki (docops)

    to familiarize yourself with the AE components, commands, usages etc...

     

    https://docops.ca.com/ca-wla-ae-wcc/11-4-2/en/getting-started/ae-overview/ca-workload-automation-ae-components

     

    CA support

    MarkW



  • 4.  Re: Restarting Autosys

    Posted Jun 02, 2016 12:15 AM

    Thank you Mark, we are on 11.3.6.2. I will do some reading as suggested by you and hope I can get all the information out of this.

    Chris