<%@ page isELIgnored="true" %> <%@ taglib uri="cms" prefix="cms" %> Uninstalling AnthillPro

Uninstalling AnthillPro

Both the AnthillPro server and agent are installed within a root directory, so under most circumstances simply deleting them from the file system is sufficient. The only exception is if the server or agent is installed as a service -- in this case it is necessary to remove the service (see here for the server and here for the agent) prior to deleting the server or agent from the file system.

Uninstall the Server

If the server is not installed as a service, uninstall AnthillPro by deleting it from the file system after stopping the server. If the agent is installed as a Windows Service, you will need to remove the service before removing the agent from the file system (see below).

To uninstall the server:

  1. Shutdown the server.

  2. Delete the server from the file system.

To uninstall the server running as a Windows Service:

  1. Shutdown the server and stop the service.

  2. Open the Administrative Command Prompt. Note that you will not be able to remove the service unless you are running as the Windows administrator. For example, run:

    runas /noprofile /user:mymachine\administrator cmd

    and then enter the password when prompted. Please consult the Windows documentation if you are having trouble running as the administrator.

  3. Go to %SERVER_HOME%\bin\service on the file system where the server is installed.

  4. With the Administrative Command Prompt pointing to the server's \bin\service directory, run:

    ah3server remove <<uniquename>>

    Ensure that you replace the value uniquename with the actual name used to install the server as a service.

  5. Verify that the service has been removed.

  6. Once the service has been removed, you can delete the server from the file system.

Once the server is deleted, it is also a good idea to uninstall all the agents that were connected to it (see Uninstall the Agent).

Uninstall the Agent

Uninstalling the agent is similar to that of the server -- it simply needs to be removed from the file system. However, if the agent is installed as a Windows Service, you will need to remove the service before removing the agent from the file system (see below).

To uninstall an agent:

  1. Shutdown the agent.

  2. Remove all references to the agent from the AnthillPro UI. For example:

    • Fixed Agent Filters

    • Fixed Agents on Quiet Period

    • Any Build Lives that reference the agent

    • Any scripts of properties that reference the agent

    If you do not remove every reference, any build, etc., that references the removed agent will most likely fail.

  3. Ignore the agent in the UI.

  4. Delete the ignored agent.

  5. Delete the agent from the file system.

To uninstall an agent running as a Windows Service:

  1. Shutdown the agent and stop the service.

  2. Remove all references to the agent from the AnthillPro UI. For example:

    • Fixed Agent Filters

    • Fixed Agents on Quiet Period

    • Any Build Lives that reference the agent

    • Any scripts of properties that reference the agent

    If you do not remove every reference, any build, etc., that references the removed agent will most likely fail.

  3. Ignore the agent in the UI.

  4. Delete the ignored agent.

  5. Open the Administrative Command Prompt. Note that you will not be able to remove the service unless you are running as the Windows administrator. For example, run:

    runas /noprofile /user:mymachine\administrator cmd

    and then enter the password when prompted. Please consult the Windows documentation if you are having trouble running as the administrator.

  6. Go to %AGENT_HOME%\bin\service on the file system where the agent is installed.

  7. With the Administrative Command Prompt pointing to the agent's \bin\service directory, run:

    ah3agent remove <<uniquename>>

    Ensure that you replace the value uniquename with the actual name used to install the agent as a service.

  8. Verify that the service has been removed.

  9. Once the service has been removed, you can delete the agent from the file system.