How to start 2 agents on the same UNIX box?
search cancel

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) Workload Automation Agent DSERIES- SERVER CA Workload Automation DE - System Agent (dSeries)

Issue/Introduction

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.

 

Environment

All Supported Workload Automation Agent releases

Resolution

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

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.