WA Agent fails to upgrade in silent mode
search cancel

WA Agent fails to upgrade in silent mode

book

Article ID: 193332

calendar_today

Updated On:

Products

Workload Automation Agent

Issue/Introduction

When trying to upgrade the WA Agent from older to newer version, the upgrade may fail if properties is not setup correctly.

server$ ./setup.bin -f /opt/CA/upgrade.properties
Preparing to install
Extracting the JRE from the installer archive...
Unpacking the JRE...
Extracting the installation resources from the installer archive...
Configuring the installer for this system's environment...

Launching installer...

Error! - Valid properties/response file not specified in command line and not found in default directory
Command Line Arguments contain illegal values.




Environment

Release : 11.4

Component : CA WORKLOAD AUTOMATION AGENT MONITOR

Cause

The properties file is possibly missing parameters to upgrade the agent.

Resolution

An upgrade.properties file is provided with Workload Automation Agent 11.4 and 11.5 DVD.  

Here is a sample upgrade.properties file:

ACCEPT_EULA=ACCEPT
INSTALLER_UI=SILENT
AGENT_UPGRADE_FORCE=true
AGENT_UPGRADE_PATH=/opt/CA/WA_AGENT
UPGRADE_BACKUP_LOCATION=/opt/CA/agent_backups


Note: UPGRADE_BACKUP_LOCATION is optional. If it is not specified then install will create a back up of old agent inside the agent install in a directory called backup.


Change AGENT_UPGRADE_PATH to exact WA Agent current install location. Next, run this command:

setup.bin -f /path/to/upgrade.properties

 

Additional Information

For more information on upgrading, refer to this documentation link.