Missing AutoSys /CA7 cross-scheduler jobs with Machine scripts in AAI 24․4
search cancel

Missing AutoSys /CA7 cross-scheduler jobs with Machine scripts in AAI 24․4

book

Article ID: 431872

calendar_today

Updated On:

Products

Automation Analytics & Intelligence

Issue/Introduction

After upgrading to AAI version 24․4, AutoSys jobs that use a chooser script to demand CA7 jobs do not appear in the Cross-Platform Relationships tab․​​​​​‌​‍

SYMPTOMS:

  • AutoSys jobs with script-based machine definitions are missing from the CA7 and AutoSys Cross-Platform Scheduler Relationships page․

  • Start-to-Start job dependencies between AutoSys and CA7 are not visible․

CONTEXT: This occurs when the AutoSys machine definition includes a script that takes multiple machines as input to determine the CA7 instance․

IMPACT: Administrators cannot map the successor scheduler alias to the correct AAI scheduler for these specific jobs․

Environment

Automation Analytics & Intelligence Integration (AAI) 24.4
AutoSys
Automic
CA7

Cause

This is a new feature release in 24.4 that has a Regex parameter that must be set up.
Once this is in place, NEW jobs runs will have the information.
This is not retroactive

Resolution

PREREQUISITES:

  • Administrator access to the AAI Configuration Tool․

  • AAI version 24․4․0 or higher․

STEPS:

1․ IDENTIFY THE SCRIPT PATTERN

Determine the exact machine name pattern used in your AutoSys job definitions․
Example: /path/to/WhichCA7\․sh ARG1 ARG2

2․ OPEN AAI CONFIGURATION TOOL

Launch the AAI Configuration Tool․

3․ NAVIGATE TO PARAMETERS

Go to the Params tab․ Select the option for less commonly configured parameters․

4․ CONFIGURE THE REGEX PATTERN

Locate the customCrossSchedulerMachineNamePattern parameter․
Enter a valid Regular Expression (regex) that matches the ENTIRE machine name string․
Path/Command: ^/path/to/WhichCA7\․sh․*

 

EXPECTED:
The regex must match the full string because AAI uses the Java matches() function, not find()․
NOTE: Special characters like the dot and forward slash should be handled carefully in the regex․

5․ APPLY AND UPDATE

Save the configuration․ Wait for the next Job Definition Update for the relevant scheduler․

VERIFY SUCCESS:

  • Jobs with machines matching this pattern will appear in the CA7 & AutoSys Cross-Platform Scheduler Relationships page․

  • Administrators can successfully map the successor scheduler alias․

Additional Information

Machine Creation
When a match is found, the machine is created as a custom cross-scheduler machine with type "u" (instead of the default type).
This marks it for display on the Cross-Platform Relationships page.

Cross-Platform Relationships Page
: Jobs with machines matching this pattern will appear in the CA7 & AutoSys Cross-Platform Scheduler Relationships page, allowing administrators to map the successor scheduler alias to the correct AAI scheduler.

 

Before AAI 24․4, the system did not inherently support Start-to-Start dependencies where the machine definition was a script rather than a standard hostname․
The new customCrossSchedulerMachineNamePattern server parameter allows AAI to identify these custom cross-scheduler machines and assign them a type "u" for display․

KNOWN LIMITATIONS:

  • The regex must match the entire machine name string․

  • Patterns that only match a portion of the string will fail․