awenv.ini is missing parameters if Tomcat installation is skipped in version 9.4.0 or 9.4.1 installation or upgrade
search cancel

awenv.ini is missing parameters if Tomcat installation is skipped in version 9.4.0 or 9.4.1 installation or upgrade

book

Article ID: 242016

calendar_today

Updated On:

Products

CA Automic Applications Manager (AM)

Issue/Introduction

Applications Manager requires a number of new parameters related to improved disaster recovery management which was an added feature in version 9.4.0+. See Release Notes or documentation link.

These parameters should be added to the awenv.ini file on the master or Automation Engine during the installation process. Below are the parameters:

[shared]
sshdserver_portrange=50000:50010
cmd_w_updatemaster=_AW_HOME_/exec/dr_agent.bat
cmd_u_updatemaster=_AW_HOME_/exec/dr_agent.sh

However, IF the installation of Tomcat is skipped by selecting 'No' to the "Do you want to install Tomcat" prompt, the above parameters are not written to the awenv.ini file.

 

Environment

Release : 9.4, 9.4.1

Component : Applications Manager

Cause

This is due to an incorrect "If" statement within the installation script

Resolution

This bug has been resolved in Applications Manager version 9.4.2

Workaround:

Add the below lines to the Master's and Agent's awenv.ini file. The awenv.ini file can be found at $AW_HOME/site or %AW_HOME%\site (Windows).

[shared]
sshdserver_portrange=50000:50010
cmd_w_updatemaster=_AW_HOME_/exec/dr_agent.bat
cmd_u_updatemaster=_AW_HOME_/exec/dr_agent.sh