Information
Documentation update To provide a better user experience, we have now created a separate documentation space for BMC Helix Automation Console (previously called BMC Helix Vulnerability Management). Users of BMC Helix Automation Console can find the latest documentation at BMC Helix Automation Console..

Uninstalling


This topic describes how to uninstall TrueSight Automation Console application and the database. 

Uninstalling the application

Uninstall the application first and then the database.

To uninstall the application, do the following: 

  1. Navigate to the directory where the Stack Manager launcher is installed. 
    Default value: /opt/bmc
  2. Run the following command:

    ./stackmanager uninstall --deployment application

    Application is uninstalled successfully.

Uninstalling the database

To uninstall the database, do the following: 

  1. Navigate to the directory where the Stack Manager launcher is installed. 
    Default value: /opt/bmc
  2. (For containerized PostgreSQL database) Run the following command:

    ./stackmanager uninstall --deployment database

    This cleans up the database. 

    Warning

    Note

    The ./stackmanager uninstall <component> command deletes only the specified component (application or database) directory from the installation directory.

    The following directories are not deleted:

    /var/bmc/truesight/postgresql/data

    <InstallationDirectory>/sm

    <InstallationDirectory>/stackmanager

    Ensure that you delete these directories before installing the database and the application again on the same host.

  3. (Optional) To delete the old registry image, registry container, and the Stack Manager folder, do these steps:
    1. Run the following commands to stop and remove the registry:

      docker stop registry
      docker rm registry

      Then, run the rm -rf <registry_location> command to remove the registry mapped location. 

    2. Run the following command to remove the Stack Manager folder:

      rm -rf <InstallationDirectory>
  4. (For external PostgreSQL database) Log on to PostgreSQL database using PGAdmin, and delete the databases created for TrueSight Automation Console. 

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*

TrueSight Automation Console 22.1