Unsupported content

 

This version of the product has reached end of support. The documentation is available for your convenience. However, you must be logged in to access it. You will not be able to leave comments.

Uninstalling

This topic describes how to uninstall the TrueSight Vulnerability Management application, database, and Elasticsearch.

Recommendation

BMC recommends that you uninstall in the following sequence to ensure smooth uninstallation of database, Elasticsearch, and application.

  1. Application
  2. Elasticsearch
  3. Database

Before you begin

Ensure that you have downloaded and extracted the Stack Manager tool (TSVM<versionNo>-SM-LIN64.zip) from the BMC Electronic Product Distribution (EPD).

Uninstalling the application

To uninstall the TrueSight Vulnerability Management application, follow these steps:

  1. Navigate to the TSVM<versionNo>-SM-LIN64/truesight-sm directory.
  2. Run the following command:

    python truesight-sm.py uninstall --deployment application --force

    Note

    This command only deletes the application directory from the installation directory.

    The following directories are not deleted:

    <APP_INSTALL_DIR>/truesight/.postgresql/data

    <APP_INSTALL_DIR>/sm/registry/inputs_file.yml

    Ensure that you delete the <APP_INSTALL_DIR>/truesight/.postgresql/data directory before installing the application again on the same host.

Uninstalling the database

Note

The command mentioned in this procedure is valid only if you have installed the database through the Stack Manager tool.

To uninstall the database, follow these steps:

  1. Navigate to the TSVM<versionNo>-SM-LIN64/truesight-sm directory.
  2. Run the following command:

    python truesight-sm.py uninstall --deployment database --force

    Note

    This command only cleans up the database. It does not delete the <DB_INSTALL_DIR>/truesight/.postgresql and <DB_INSTALL_DIR>/sm/registry/inputs_file.yml directories. You must delete the directories manually using the rm -rf command for a clean uninstall.

Uninstalling Elasticsearch

Note

The command mentioned in this procedure is valid only if you have installed Elasticsearch through the Stack Manager tool.

To uninstall Elasticsearch, follow these steps:

  1. Navigate to the TSVM<versionNo>-SM-LIN64/truesight-sm directory.
  2. Run the following command:

    python truesight-sm.py uninstall --deployment elasticsearch --force
Was this page helpful? Yes No Submitting... Thank you

Comments