You can upgrade the Smart Agent manually by uninstalling and reinstalling it. 

To upgrade Smart Agent using the Agent Management UI, you require to use Smart Agent >= 24.7.

Before You Begin

  • You must install the following packages to upgrade Smart Agent:
    • bzip2
    • jq
    • pip3
  • Back up the following files and add these files in the Smart Agent directory after the upgrade.
    • <smartagent-hostname>/config.ini - This is required to keep the same Smart Agent config.ini configuration.

    • <smartagent-hostname>/id - This is required to use the same Smart Agent ID after the upgrade.

    • <smartagent-hostname>/lib/ld_preload.json - This is required to auto attach supported agents to the process.

    • <smartagent-hostname>/store.yaml - This is required to track all the packages that were installed using Smart Agent.

    • <smartagent-hostname>/.process.json - If this file does not exist, you can ignore this file. This is required to keep the Machine Agent process alive.

Upgrade the Smart Agent

The following steps are needed to upgrade Smart Agent:

  1. Uninstall Smart Agent
  2. Install Smart Agent