ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

Change the Autosys server hostname

book

Article ID: 46802

calendar_today

Updated On:

Products

CA Workload Automation AE

Issue/Introduction

What changes need to be performed in the Workload Automation AE server environment when a  hostname needed to be changed.

 

 

 

Cause

Depends on business requirement if a hostname need to be changed, Need to follow below instructions

Environment

Release: ATSYHA99000-11.3.6-Workload Automation AE-High Availability Option
Component:CA Workload Automation AE 11.3.6.x on Linux

Resolution

Instructions: 

  • In the config.$AUTOSERV file change the following values:

Autoserver

AutoServerId

AutoServerAliasId

 

  • Insert a new machine with the new hostname

 

  • In the $AUTOUSER directory, modify the names of the shell scripts autosys.*.hostname

 

  • In /etc/auto.profile, modify the script called from the case $AUTOSERV to the new path/filename for the autosys.sh.hostname file

case $AUTOSERV in

LNX)

        AUTOUSER=/opt/CA/WorkloadAutomationAE/autouser.LNX

        test -f $AUTOUSER/autosys.sh.hostname &&

        . $AUTOUSER/autosys.sh.hostname

        ;;

esac

 

  • In /etc/auto.$AUTOSERV change the AUTOENV variable to point to the new autosys.sh.hostname file

AUTOENV=/opt/CA/WorkloadAutomationAE/autouser.LNX/autosys.sh.hostname

 

  • In /etc/init.d/waae_server.$AUTOSERV change the hostname variable

#

# Source the CA environment.

#

test -r /etc/profile.CA && { CA_SECTION=ccs; export CA_SECTION; . /etc/profile.CA; unset CA_SECTION; }

 

AUTOSERV=LNX

AUTOSYS=/opt/CA/WorkloadAutomationAE/autosys

AUTOUSER=/opt/CA/WorkloadAutomationAE/autouser.LNX

EIAMCONFIG=/opt/CA/WorkloadAutomationAE/autouser.$AUTOSERV/eiam.config

hostname=hostname

export PATH

PATH=$PATH:/opt/CA/WorkloadAutomationAE/autosys/bin

 

  • In /etc/init.d/waae_sched.$AUTOSERV change the hostname variable 

#

# Source the CA environment.

#

test -r /etc/profile.CA && { CA_SECTION=ccs; export CA_SECTION; . /etc/profile.CA; unset CA_SECTION; }

 

AUTOSERV=LNX

AUTOSYS=/opt/CA/WorkloadAutomationAE/autosys

AUTOUSER=/opt/CA/WorkloadAutomationAE/autouser.LNX

EIAMCONFIG=/opt/CA/WorkloadAutomationAE/autouser.$AUTOSERV/eiam.config

hostname=hostname

export PATH

 

PATH=$PATH:/opt/CA/WorkloadAutomationAE/autosys/bin