CAUAJM_E_50007 Hostname [ip-xx-xx-xx-xx.ec2.internal] is invalid or unreachable over the network error with Autosys Client programs on EC2 server
search cancel

CAUAJM_E_50007 Hostname [ip-xx-xx-xx-xx.ec2.internal] is invalid or unreachable over the network error with Autosys Client programs on EC2 server

book

Article ID: 281019

calendar_today

Updated On:

Products

Autosys Workload Automation

Issue/Introduction

autorep from an EC2 instance of AutoSys client installation gives:

[03/20/2024 11:02:45]      CAUAJM_E_10527 Timed out waiting for response from the AutoSys Application Server: [AEServerProd.example.com:9004]
[03/20/2024 11:03:45]      CAUAJM_E_50033 Error initializing tx subsystem:  CAUAJM_E_10062 Failed to get initial configuration from AutoSys Application Server(s).

Architecture:

  • The EC2 node name where the client+agent is: ip-XX-XX-XX-XX.ec2.internal   it's IP is:  YY.YY.YY.YY
  • Real DNS Name of that is:  AEClient.Example.com  and it resolves to YY.YY.YY.YY

 

Below messages are seen in the AutoSys server log, $AUTOUSER/out/as_server.ACE for the above operation attempt

[03/20/2024 11:02:45]      CAUAJM_I_30030 Client [AutoSys AutoRep:5615][16][ip-XX-XX-XX-XX.ec2.internal:50042:YY.YY.YY.YY] [-j %abcd%] session established.
[03/20/2024 11:02:45]      CAUAJM_E_50007 Hostname [ip-XX-XX-XX-XX.ec2.internal] is invalid or unreachable over the network.
[03/20/2024 11:02:45]      CAUAJM_E_30035 Client [AutoSys AutoRep:5615][16][ip-XX-XX-XX-XX.ec2.internal:50042:YY.YY.YY.YY] is not reachable. Session aborting...
[03/20/2024 11:02:45]      CAUAJM_I_30033 Client [AutoSys AutoRep:5615][16][ip-XX-XX-XX-XX.ec2.internal:50042:YY.YY.YY.YY] session ended.

 

All the necessary ports were open correctly between the Client and the Server. 

Environment

AutoSys Workload Automation 

Cause

AutoSys Client from the Client node passes the real hostname of the Client, ip-XX-XX-XX-XX.ec2.internal, to the AutoSys server to do a name lookup against.

This real hostname of the AutoSys client is not resolvable from the Autosys Server side.  It is only known to the AutoSys server as: AEClient.Example.com

Resolution

  1. Edit AutoSys Client's  $AUTOUSER/config.<instance>  file and look for ManagerHostAlias.
  2. This should be set to a value of the public name of the AutoSys Client hostname that the AutoSys Server can resolve
  3. So, the change would be:

    ManagerHostAlias=AEClient.Example.com

  4.  Save the file
  5. Retry the client operation (autorep) again.
  6. This time in the AutoSys Server's $AUTOUSER/out/as_server.<instance> file  the correct hostname of the client should be seen

CAUAJM_I_30030 Client [AutoSys AutoRep:5615][16][AEClient.Example.com:50042:YY.YY.YY.YY] [-j %abcd%] session established.

Additional Information

Additional information about the option is documented here: managerhostalias

Ports to be opened:  AWS or Azure ports