Batch ID (Linux) - clarification
search cancel

Batch ID (Linux) - clarification

book

Article ID: 241137

calendar_today

Updated On:

Products

Autosys Workload Automation

Issue/Introduction

We have specified in job definition as below which is incorrect but job is executing successfully.  We are running this job on Linux server.  Would you please check and let us know why it's running successfully even the server texesdu3 does not exist. Thanks.     

machine: test123
owner: auXXXXX@test234

Environment

Release : 12.0

Component : CA Workload Automation AE (AutoSys)

Resolution

AutoSys only needs to send the user portion of the user@host if the job is a command job that runs on a unix/linux platform.
So, it is not passing the @<badhost>.
The user does exist on the agent, yes?
Or is some network id that can login, yes?


Quick test:

[autosys@xx] autorep -d -J test123

Job Name                                                         Last Start           Last End             ST/Ex Run/Ntry Pri/Xit
________________________________________________________________ ____________________ ____________________ _____ ________ _______
test123                                                       2022/05/04 09:38:08  2022/05/04 09:38:08  SU    294506/1 0

  Status/[Event]  Time                 Ntry ES  ProcessTime           Machine
  --------------  --------------------- --  --  --------------------- ----------------------------------------
  STARTING        2022/05/04 09:38:08    1  PD  2022/05/04 09:38:06   xx.com

  RUNNING         2022/05/04 09:38:08    1  PD  2022/05/04 09:38:07   xx.com
    <Executing at WA_AGENT>
  SUCCESS         2022/05/04 09:38:08    1  PD  2022/05/04 09:38:07   xx.com

[autosys@xx]$ autorep -q -J test123


/* ----------------- test123 ----------------- */

insert_job: test123   job_type: CMD
command: echo 123
machine: xx.com
owner: autosys@totallyfakehost
permission:
date_conditions: 0
std_out_file: "/tmp/test123.out"
std_err_file: "/tmp/test123.err"
alarm_if_fail: 1
alarm_if_terminated: 1
[autosys@xx]$ hostname
xx.com
[autosys@xx]$ autorep -M xx.com -q


/* ----------------- xx.com ----------------- */

insert_machine: xx.com
type: a
max_load: 100
factor: 1.00
port: 7520
node_name: xx.com
agent_name: WA_AGENT
encryption_type: DEFAULT
character_code: ASCII

[autosys@xx]$ autorep -M totallyfakehost -q
CAUAJM_E_50111 Invalid Machine Name: totallyfakehost