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.
- Application
- Elasticsearch
- 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:
- Navigate to the TSVM<versionNo>-SM-LIN64/truesight-sm directory.
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:
- Navigate to the TSVM<versionNo>-SM-LIN64/truesight-sm directory.
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:
- Navigate to the TSVM<versionNo>-SM-LIN64/truesight-sm directory.
Run the following command:
python truesight-sm.py uninstall --deployment elasticsearch --force
Comments
Log in or register to comment.