How to set environment variables AGENT_RECV_TIMEOUT
search cancel

How to set environment variables AGENT_RECV_TIMEOUT

book

Article ID: 220754

calendar_today

Updated On:

Products

Autosys Workload Automation

Issue/Introduction

How to set environment variables with below example?

variable AGENT_RECV_TIMEOUT

Environment

Release : 11.3.6, 12.x

Component : CA WORKLOAD AUTOMATION AE

Resolution

1. Locate to $AUTOUSER 

2. vi  autosys.sh.<hostname> 

3. After the variables below:

# Set CA Workload Automation AE variables
AUTOSYS=/opt/CA/WorkloadAutomationAE/autosys ; export AUTOSYS
AUTOUSER=/opt/CA/WorkloadAutomationAE/autouser.SP8 ; export AUTOUSER
AUTOSERV=SP8 ; export AUTOSERV
ISDBGACTIV=OFF ; export ISDBGACTIV


4.  Add below line using "i" in Vi editor

AGENT_RECV_TIMEOUT=40 ; export AGENT_RECV_TIMEOUT

5. Save the file "wq!" in Vi editor

6. Make sure to source the file 

. ./autosys.sh.<hostname>

 

Additional Information

Environment Variables -- Application Server

You can define the following environment variables to customize the behavior of the application server:
AGENT_RECV_TIMEOUT
Specifies the time (in seconds) that the application server waits for a response from the scheduler or the agent. Increasing this value might delay the application server when the scheduler or agent becomes unresponsive. Decreasing the value might result in more time outs.
Default: 20
Limits: 1 or higher.
If you set this variable, the CONNECTION_TIMEOUT variable is ignored.
For the communication between the application server and the scheduler, this variable applies to the chk_auto_up request. For the communication between the application server and the agent, this variable applies to the autoping and chase requests.