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.

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:

<agent_install_directory>\_uninst\uninstaller.exe

Back to top

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:

  1. Stop and kill all agent processes as follows:

    1. 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:

      ./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/MicroFocus/Deployment Automation Agent
    • Inventory files (if found): /tmp/microfocus/var/
    • Temp install files (if found): /tmp/da_agent_install

Back to top

See also: