How to convert a Autosys V1(Classic) to AutoSys V2(Next Generation) in AAI
search cancel

How to convert a Autosys V1(Classic) to AutoSys V2(Next Generation) in AAI

book

Article ID: 417953

calendar_today

Updated On:

Products

Automation Analytics & Intelligence

Issue/Introduction

When adding an AutoSys scheduler there are two prediction models that can be selected from the Advanced tab of the Add Scheduler dialog box:

Under the "Prediction Model" section, you will see:

  • "Next Generation" also known as "AutoSys V2"
  • "Classic", also known as "AutoSys V1"

 

Once the scheduler is added, there is no means to change the scheduler type within the UI.

 

In the legacy Thick Client, the scheduler would default to AutoSys V1, when adding a scheduler.

In the current AAI Web UI it now defaults to the recommended scheduler type of "Next Generation".

 

Below are some differences between the two scheduler types:

  • The Next Generation Autosys scheduler:
    • Allows for newer features including cross scheduler conditions, such as from Autosys to Autosys, or Autosys and CA7
    • Creates predictions for every job in AAI as opposed to just jobs that are part of jobstreams
    • Currently the only Autosys scheduler type that will still receive code fixes and enhancements
  • The Classic Autosys scheduler
    • Only creates predictions for jobs that are part of jobstreams
    • If there are issues making a prediction on a job within a jobstream, it may cause. your jammer cycles to be significantly delayed, which you will have to delete the affected jobstreams to workaround the issue
    • Supports additional NPTF root causes
    • No longer being updated for fixes or enhancements

 

 

Resolution

Before attempting to change the scheduler type there are some important considerations you must take into account.
 
1. Make a backup of your AAI database before attempting this
 
2. Due to the different prediction model, AAI may require more memory to be allocated to the application in order to make predictions on all jobs within the scheduler in AAI. This may require you to allocate more memory to AAI.  Make sure to consult the most updated Sizing Worksheet located within the Preparing for the Installation section of the AAI guide.
 
The only way to change the scheduler typ
 
1. Stop AAI
 
2. Run the update SQL statements below for each scheduler and make sure to commit the changes:
 
update JobScheduler set schedulerType = 'autosys_v2' where schedulerName='<scheduler name>';
 
For example for scheduler name "scheduler1" the SQL would be:
 
update JobScheduler set schedulerType = 'autosys_v2' where schedulerName='scheduler1';
commit;
 
3. Check the JobSheduler table if the column for the specific scheduler shows schedulerType shows autosys_v2

select jobSchedulerId , schedulerName , schedulerType FROM jobscheduler

5. Start AAI