Auto sourcing issue with 2 clients
search cancel

Auto sourcing issue with 2 clients

book

Article ID: 239119

calendar_today

Updated On:

Products

CA Workload Automation AE

Issue/Introduction

We have single agent installed on a server and 2 AutoSys clients (PRD & PR1). When we try running a job that executes AutoSys commands, they are running in the old PRD environment instead of PR1 environment. How can we get the job to run in the new environment instead?

Environment

Release : 12.0

Component : CA Workload Automation AE (AutoSys)

Resolution

Here are 2 solutions to choose from.

  • Solution 1: Dedicated User for AutoSys related command execution

    Create a separate user account on your Linux machine whose sole purpose is to process AutoSys related jobs. You will need to source the autosys environment in this users .profile on the server. You'll also need to ensure that the account has the proper access rights to be able to execute the commands.


  • Solution 2: Update Job definition to source the proper autosys environment

    You'll need to add the profile: job attribute to the job definition. For example, you'll add the following line to your job definition:
    profile: /apps/autosys/r1136/autouser.PR1/autosys.<shell>.lnapp022.hphc.org

These are the only options that you have to make this work.