How to start 2 agents on the same UNIX box?

book

Article ID: 20108

calendar_today

Updated On:

Products

CA Workload Automation AE - Business Agents (AutoSys) CA Workload Automation AE - Scheduler (AutoSys) CA Workload Automation Agent CA Workload Automation Agents DSERIES- SERVER CA Workload Automation DE - System Agent (dSeries)

Issue/Introduction

Description:

When installing multiple agent on the same UNIX box, only one starts, the other are getting:
WAAE Agent Already running (pid xxxxx) FAILED
This knowledge documentation explains how to get past this matter.

Solution:

Change the cybAgent script in the agent directory:
Modify the last line from:
exec $PWD/cybAgent.bin "[email protected]"
by :
exec `pwd`/cybAgent.bin "[email protected]"

Instead of taking the PWD environment variable, that is common to all agents, the script will actually execute the unix pwd command and take the correct directory. Multiple agents can then coexist.

Environment

Release: ATSYHA99000-11.3.5-Workload Automation AE-High Availability Option
Component: