Agent Maintenance Tool Guide
Install, upgrade, roll back, and uninstall HEAL agents with the AMT CLI tool.
What the Agent Maintenance Tool is#
The Agent Maintenance Tool (AMT) is a command-line utility that performs maintenance operations on HEAL agents through the Supervisor running on the target box. Instead of having IT personnel manually install and upgrade agents on each machine — an effort that grows with the number of target boxes in the data center — the Supervisor carries out these operations on your behalf.
You drive the tool by running agent-maintenance-tool.sh with a set of case-sensitive attributes (such as SupervisorId, AgentType, and Command). It supports the following HEAL agents: ForensicAgent, PSAgent, ComponentAgent, LogForwarder, JIMAgent, VersionUtil, Supervisor, and LogScanAgent.
Using the AMT you can:
- Install an agent of a required version on a target box
- Fetch and update an agent's configuration remotely
- Upgrade an agent (the Supervisor backs up the existing version first)
- Roll back or uninstall an agent
- Push files to the target box, including the Supervisor directory
In this guide#
Start with the Introduction to understand the tool and its architecture, then move to the specific operation you need.
| Article | What it covers |
|---|---|
| Agent Maintenance Tool: Introduction | What the AMT does, the maintenance operations it supports, the agent package format, and the agent directory structure. |
| Agent Maintenance Tool: Command Structure | The case-sensitive attributes that make up an AMT command, the queries used to fetch their values, and the command response codes. |
| Install Agent | The Install command for placing a required agent version on a target box. |
| Agent Configuration | Fetching an agent's configuration files and updating settings remotely, including the agents' self-healing parameters. |
| Upgrade Agent | The Upgrade command, which backs up the current version before installing the new one. |
| Agent Maintenance Tool: Agent File | Copying files to the target box using the PushFile command. |
| Uninstall Agent | The Uninstall command for removing the currently installed agent version. |
| Generating the Multi-Command File | Generate the multi-command file for FetchFile automatically from the agent topology, and hand it off to the tool. |
Before you run a command
Several operations require you to stop the target agent from the Control Center UI before executing the command. Check the note at the top of each article for its specific prerequisites.