Updated on 2024-10-23 GMT+08:00

Operating UniAgents in Batches

You can reinstall, upgrade, uninstall, or delete UniAgents on hosts in batches.

If the host where the UniAgent is to be installed runs Windows, you can only upgrade and delete the UniAgent. If you need to reinstall or uninstall the UniAgent, manually perform the operations on the host.

Reinstalling UniAgents

Reinstall UniAgents when they are in the Abnormal, Installation failed, or Not installed state.

  1. Log in to the AOM 2.0 console.
  2. In the navigation pane, choose Settings. The Global Configuration page is displayed.
  3. In the navigation pane, choose Collection Settings > VM Access.
  4. On the VM Access page, select the hosts where UniAgents are to be reinstalled and choose UniAgent Batch Operation > Reinstall.
  5. On the page that is displayed, install UniAgents.

    The IP addresses of the hosts where UniAgents are to be reinstalled cannot be changed.

Upgrading UniAgents

Upgrade your UniAgent to a more reliable, stable new version according to the following procedure:

UniAgents will not be automatically upgraded. Manually upgrade them if needed.

  1. In the navigation pane, choose Settings > Collection Settings > VM Access.
  2. On the VM Access page, select the hosts where UniAgents are to be upgraded and choose UniAgent Batch Operation > Upgrade.
  3. On the displayed page, select the target version and click OK.
  4. Wait for about 1 minute until the upgrade is complete.

Uninstalling UniAgents

Uninstall UniAgents when necessary.

  1. In the navigation pane, choose Settings > Collection Settings > VM Access.
  2. On the VM Access page, select the hosts where UniAgents are to be uninstalled and choose UniAgent Batch Operation > Uninstall.
  3. In the dialog box that is displayed, click OK to uninstall the UniAgents.

    You can also log in to the target server as the root user and run the following command to uninstall the UniAgent:

    bash /usr/local/uniagentd/bin/uninstall_uniagent.sh;

Deleting UniAgents

Delete the UniAgents that are not used or cannot be used according to the following procedure:

  1. In the navigation pane, choose Settings > Collection Settings > VM Access.
  2. On the VM Access page, select the hosts where UniAgents are to be deleted and choose UniAgent Batch Operation > Delete.
  3. In the dialog box that is displayed, click OK to delete the UniAgents.