How to source /etc/auto.profile on the System Agent?
search cancel

How to source /etc/auto.profile on the System Agent?

book

Article ID: 48815

calendar_today

Updated On: 10-03-2023

Products

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

Issue/Introduction

The System agent does not source /etc/auto.profile

 

Environment

Release: ATSAGE99000-11.3-Workload Automation AE-Remote Agent
Component:

Resolution

Set the following in agentparm.txt and restart the Agent:

oscomponent.profiles.global.override=true
When this one is set, the following will be true:

  • If job profile is present, it will be sourced, but the EWAGLOBALPROFILE (/etc/auto.profile) will not.
  • If the job profile is not present, then EWAGLOBALPROFILE will be sourced.

oscomponent.environment.variable_manager_$AUTOSERV_SCH=/opt/CA/WorkloadAutomationAE/SystemAgent/WA_AGENT/profiles/$AUTOSERV.txt
Note: The value of $AUTOSERV is your 3 character AutoSys instance name.

In /opt/CA/WorkloadAutomationAE/SystemAgent/WA_AGENT/profiles/$AUTOSERV.txt set:
EWAGLOBALPROFILE=/etc/auto.profile