Upgrading agents in silent mode#

You can upgrade agents by specifying the installation properties in a text file.

  1. From the new version of the server, download the agent installer for the new agent version.

    • To download the installer, log in to the server and click the Help icon at the upper right of any page on the server, and click Tools. Then, click HCL™ Launch Agent, and download and extract the file.
    • To find the installer on the server with the command line, go to the following location, and copy the file to the target computer: installation_folder/opt/tomcat/webapps/ROOT/tools/ucd-agent.zip
    • Transfer the new agent installation package to the system that hosts the agent and extract the package.
  2. Create or update the agent installation properties file.

    For more information see Installing agents in silent mode.

  3. Stop the agent.

  4. Run the installation file with the install-agent-from-file.bat command on Windows™ or the ./install-agent-from-file.sh command on Linux™. Provide the properties file as a command-line argument.

    On Windows, if the properties file is named install.properties, type the following command:

    install-agent-from-file install.properties

  5. Restart the agent.

On the server, click Resources > Agents and verify that the agent shows the new version.

Upgraded or installed agents are migrated to compact mode. Note that agents are updated to compact only if the agent is installed/upgraded on a platform that supports compact agents.

Parent topic: Upgrading agents