This topic explains how to uninstall the agent files from an agent machine.
For details on how to deactivate agents and remove them from servers through the Deployment Automation user interface, see Agents page overview.
Uninstall agent on Windows
To uninstall a Deployment Automation agent on Windows, run the uninstaller.
To uninstall an agent on Windows:
As a Windows local system user, run the following interactive uninstaller executable in the installation path _uninst subdirectory. For example:
Uninstall agent on UNIX/Linux
To uninstall a Deployment Automation agent on UNIX/Linux, stop all agent processes and manually remove agent files.
To uninstall an agent on UNIX/Linux:
Stop and kill all agent processes as follows:
To stop the agent, change to core/bin directory of the Deployment Automation installation, for example:
cd /opt/MicroFocus/Deployment \ Automation \ Agent/core/bin
Then source the agent service executable using the stop parameter, for example:
Find the process IDs and kill them. Typically, there are two processes, although the previous step should have stopped them.
Enter a command to list any processes of the name Deployment Automation Agent, for example:
ps -ef | grep "Deployment Automation Agent"
If you find any processes running for Deployment Automation Agent, enter the command to kill each process using the corresponding process ID:
Remove the following directories:
- Installation files: /opt/MicroFocus/Deployment Automation Agent
- Inventory files (if found): /tmp/microfocus/var/
Temp install files (if found): /tmp/da_agent_install