Uninstall agents

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.

To uninstall an agent on Windows:

Run the following interactive uninstaller executable in the installation path _uninst subdirectory as a Windows local system user. For example:

C:\Program Files (x86)\Micro Focus\Deployment Automation Agent\_uninst\uninstaller.exe

To uninstall an agent on UNIX/Linux:

  1. Stop and kill all agent processes as follows:

    1. To stop the agent, navigate to the installation directory core/bin subdirectory, for example:

      cd /opt/Micro \ Focus/Deployment \ Automation \ Agent/core/bin

      Then source the agent service executable using the stop parameter, for example:

      ./sraagent stop

    2. Find the process IDs and kill them. Typically there are two processes, although the previous step should have stopped them.

      1. Enter a command to list any processes of the name Deployment Automation Agent, for example:

        ps -ef | grep "Deployment Automation Agent"

      2. If you find any processes running for Deployment Automation Agent, enter the command to kill each process using the corresponding process ID:

        kill <pid>

  2. Remove the following directories:

    • Installation files: /opt/Micro \ Focus/Deployment Automation Agent
    • Inventory files (if found): /tmp/microfocus/var/
    • Temp install files (if found): /tmp/da_agent_install

Back to top

See also: