HCL Workload Automation on Amazon Web Services

Updating an agent on UNIX and Linux operating systems

This scenario describes the procedure to update an agent on UNIX operating systems.

To update the agent, complete the following steps:
Note: For a description of the operating system commands, see Command reference.
  1. From the Dynamic Workload Console landing page, in the Download and Install section, download the agent installation files for the selected operating system platform.
  2. Go to the directory where you saved the compressed agent update files, in this example, /WAAgent.
  3. Extract the agent update files to this directory:
    • For Solaris 64 bit, extract the TWS94_SOL_I386_AGENT.zip
    • For Linux for IBM System z, extract the TWS94_LNX_S390_AGENT.zip
    • For Linux for PPC, extract the TWS94_LNX_PPC_AGENT.zip
    • For Linux, extract the TWS94_LNX_X86_64_AGENT.zip
    • For AIX, extract the TWS94_AIX_AGENT.zip
    • For HP-UX, extract the TWS94_HPIA64_AGENT.zip
  4. From a shell on the computer on which you want to update the product, log on:
    • As root, if the agent was installed by the root user.
    • Using the login of the user who installed the agent, if the installer was a non-root user. To find the login name used by the installer, see the InstallationLoginUser parameter in the JobManager.ini configuration file in the agent installation directory.
  5. To update the agent using the default settings, run the following command from the directory where you downloaded the agent update files:
    ./installWAAgent.sh -update [-uname user_name] -acceptlicense yes
    Where:
    -update
    Updates the agent on the workstation where you run the command.
    -uname user_name
    The user name of the agent, defined at installation time. If you are logged in as a non-root user, you can omit this keyword, since user_name equals the login name.
    -acceptlicense yes|no
    Specify whether or not to accept the License Agreement. If you specify no, the update exits without performing any action.

After a successful update, proceed with the update of another agent if necessary.

If the update did not complete successfully, an error is displayed on the screen. Correct the error as described in the Operator Response error that you can find in the inst_dir/logs file, and rerun the update.