12.0 Agent install errors about AUTOSYS_INSTALL_LOCATION and AUTOROOT_PATH
search cancel

12.0 Agent install errors about AUTOSYS_INSTALL_LOCATION and AUTOROOT_PATH

book

Article ID: 201978

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 Autosys Workload Automation

Issue/Introduction

Getting errors like this during install of 12.0 agents

AUTOSYS_INSTALL_LOCATION is not set in this shell.  Start a new session
Execute Custom Code
    class cybermation.iainstaller.library.CybFatalException FatalInstallException AUTOSYS_INSTALL_LOCATION is not set in this shell.  Start a new session

 

Custom Action:            cybermation.iainstaller.library.CybFatalException
                          Status: FATAL ERROR
                          Additional Notes: FATAL ERROR -     class cybermation.iainstaller.library.CybFatalException FatalInstallException: AUTOSYS_INSTALL_LOCATION does not match the AUTOROOT_PATH specified

====================STDERR ENTRIES==================
AUTOSYS_INSTALL_LOCATION does not match the AUTOROOT_PATH specified
Execute Custom Code
    class cybermation.iainstaller.library.CybFatalException FatalInstallException AUTOSYS_INSTALL_LOCATION does not match the AUTOROOT_PATH specified

 

 

Custom Action:            cybermation.iainstaller.library.CybFatalException
                          Status: FATAL ERROR
                          Additional Notes: FATAL ERROR -     class cybermation.iainstaller.library.CybFatalException FatalInstallException: AUTOSYS_INSTALL_LOCATION cannot be set manually

Environment

Release : 12.0

Component : CA Workload Automation System Agent

Cause

With 12.0 Autosys agents when autosys_mode=true is used, we need to make sure that the Autosys Install Location is shared across components the right way.

Resolution

1) if  /etc/profile.CA  exists, with a reference to AUTOSYS_INSTALL_LOCATION    then we need to source that file (basically AUTOSYS_INSTALL_LOCATION env variable should be in the shell prior to running setup)   and then run setup.
#note: AUTOSYS_INSTALL_LOCATION = AUTOROOT_PATH   should be match,  or else installer will quit that they're not same

2) if /etc/profile.CA does not exist,  then agent will install to  AUTOROOT_PATH specified in the silent_install.properties file    (then creates /etc/profile.CA   with AUTOSYS_INSTALL_LOCATION  etc.,).   If you need to add another agent,  you have to repeat step#1 above.

Additional Information

In case of Windows operating system, installer validations would be querying for a registry hive: HKLM\SOFTWARE\WOW6432Node\ComputerAssociates\Unicenter AutoSys JM\11.3_base\Environments\AutoSys   and/or  HKEY_LOCAL_MACHINE\SOFTWARE\ComputerAssociates\Unicenter AutoSys JM\11.3_base\Environments\AutoSys

 

1) AUTOSYS_INSTALL_LOCATION is a system environment variable  

- This is a brand new env variable from r12.

 - So, if this is present,  then installer assumes a previous r12 install was done.  Any additional agents/components have to go to the folder below the folder structure of AUTOSYS_INSTALL_LOCATION)  

Note: AUTOROOT_PATH and AUTOSYS_INSTALL_LOCATION cannot conflict each other

 

2) AGENT_UPGRADE_PATH  this environment variable is used to identify which agent needs to be upgraded.   This upgrade now adds a new env variable AUTOSYS_INSTALL_LOCATION.   We can't change current AGENT_UPGRADE_PATH  to a new location as part of upgrade.

3) If this install is attempted again and again, check Environment Variables section under System / Control Panel for AUTOSYS_INSTALL_LOCATION. If its present kindly remove the path and attempt the install.