Uninstalling tc Server: Typical Steps

Uninstall one or more of these components as you wish:

Uninstallation of tc Server mostly entails removing the directories that contain the component files, although a few extra steps might be required, as described below.

Each section covers both Unix and Windows commands. The documentation uses Unix-like forward slashes (/) for directories; if you are on a Windows platform, change these to back slashes (\).

WARNING: The procedures in this section describe how to completely remove the components of tc Server from your computer.

Uninstalling Hyperic Server

To uninstall the Hyperic Server component of tc Server:

  1. Start a terminal window (Unix) or Command Prompt (Windows).

  2. If currently running, stop the Hyperic Server. See Starting and Stopping the Hyperic Server and Agents.

  3. Windows only. If you installed the Hyperic Server as a Windows service, change to the HQ_SERVER_INSTALL_DIR\bin directory (where HQ_SERVER_INSTALL_DIR refers to the directory in which you installed the Hyperic Server, such as \opt\vmware\hyperic\server-4.6.X.X-EE) and uninstall the service using the following command:

    prompt> \opt\vmware\hyperic\server-4.6.X.X-EE\bin 
    prompt> hq-server.exe -u
  4. Remove the directory in which you installed the Hyperic Server, such as /opt/vmware/hyperic/server-4.6.X.X-EE:

    prompt$ cd /opt/vmware/hyperic
    prompt$ rm -rf server-4.6.X.X-EE

Uninstalling Hyperic Agent

To uninstall the Hyperic Agent component of tc Server:

  1. If the agent itself is managed by Hyperic, remove the platform for the agent using the Hyperic user interface.

  2. Start a terminal window (Unix) or Command Prompt (Windows).

  3. If currently running, stop the Hyperic Agent. See Starting and Stopping the Hyperic Server and Agents.

  4. Windows only. If you installed the Hyperic Agent as a Windows service, you should now uninstall it. Change to the HQ_AGENT_INSTALL_DIR\bin directory, where HQ_AGENT_INSTALL_DIR refers to the directory in which you installed the Hyperic Agent, such as \opt\vmware\hyperic\agent-4.6.X.X-EE. Once in this directory, uninstall the service using the hq-agent.bat remove command. For example:

    prompt> cd \opt\vmware\hyperic\agent-4.6.X.X-EE\bin
    prompt> hq-agent.bat remove
  5. Remove the directory in which you installed the Hyperic Agent. For example:

    prompt$ cd /opt/vmware/hyperic
    prompt$ rm -rf agent-4.6.X.X-EE

Uninstalling tc Runtime

The following procedure describes how to uninstall the tc Runtime and all its associated instances.

  1. If currently running, stop all tc Runtime instances. See Starting and Stopping tc Runtime Instances.

  2. Start a terminal window (Unix) or Command Prompt (Windows).

  3. Windows only. If you installed any tc Runtime instances as Windows services, change to the CATALINA_BASE\bin directory of each instance (such as \var\opt\vmware\vfabric-tc-server-standard\myserver\bin) and uninstall the service using the following command:

    prompt> \var\opt\vmware\vfabric-tc-server-standard\myserver\bin
    prompt> tcruntime-ctl.bat uninstall
  4. Remove the main tc Server installation directory. For example, if you installed Standard Edition, the delete command might look something like the following:

    prompt$ rm -rf /opt/vmware/vfabric-tc-server-standard

    By default, the home directory of all tc Runtime instances is under the main tc Server installation directory; if you used this default location when you created the tc Runtime instances with the tcruntime-instance script, then the preceding delete command also deleted all tc Runtime instances.

  5. If you created any tc Runtime instances in locations other than the default tc Server installation directory, remove their corresponding home directories.