IBM Performance Management

Uninstalling the server

If you no longer want the Performance Management server on your system, you can uninstall it. The procedure does not remove the monitoring agents other than the Summarization and Pruning agent that was installed with the server. If you installed multiple IBM® Performance Management offerings, you can select which offering to uninstall if you don't want to uninstall all of the offerings.

Before you begin

If the DB2® agent is installed on the Performance Management server system and is monitoring the Performance Management server DB2 database, the agent must be stopped before you uninstall the server. Otherwise, the uninstallation might fail.

Procedure

You must be the root user to uninstall the server.

  1. On the system where the Performance Management server is installed, open the command prompt.
  2. Run the following command in the /opt/ibm/ccm directory (or /custom_path/ccm if you installed the server in a different path):
    ./uninstall.sh
    The uninstaller checks for the Performance Management offerings that are installed and a message asks you to select which offering or offerings to uninstall.
  3. Review the list of installed Performance Management offerings and enter the number of the offering (or offerings) to uninstall or enter q (quit) to cancel the uninstall operation.
  4. Where you are performing a full uninstallation, delete the /opt/ibm/ccm or /custom_path/ccm directory.

Results

The Performance Management server components are uninstalled. If you installed multiple offerings and chose to keep one of the offerings, the server components remain after being reconfigured for the offering that remains.

Example

The following example shows the uninstallation choices for two Performance Management offerings:
The following products are available for uninstallation:
      1) IBM Application Diagnostics
      2) IBM Monitoring
      3) all of the above

What to do next

Before attempting to reinstall your Performance Management server, you must check to confirm that the uninstallation was successful. Check the /tmp/apm/uninstall/apm-server-uninstall_yyyymmdd_hhmmss.log and /tmp/db2_deinstall.log.pid log files to confirm whether the DB2 database uninstall was successful. If the DB2 database uninstallation failed, clean up all DB2 entries. For more information, see Cleaning up DB2 entries.