Uninstalling the server on Linux in silent mode


Perform the following steps to uninstall the BMC Application Diagnostics Server on Linux computers using silent mode, which requires no user interaction during uninstallation.

Error
Warning

All the data stored for the component you are uninstalling will be deleted. To retain this data, you must back up the database before continuing with the uninstallation process.

  1. Log on with root privileges to the server on which BMC Application Diagnostics Server is installed.
  2. Navigate to <InstallationDirectory>/UninstallBMCADOPServer folder, for example /opt/bmc/BMC Software/BMC_Application_Diagnostics/UninstallBMCADOPServer.
  3. To silently uninstall the BMC Application Diagnostics Collector and the BMC Application Diagnostics Portal, run the following command: 

    ./uninstall.sh -i silent -DOPTIONS_FILE=adop-silent-option-uninstall

     This is the default configuration.

  4. You can edit the silent installation file to specify which component to uninstall, as well as the MySQL root password for cleaning the database tables:
    1. In the <InstallationDirectory>/UninstallBMCADOPServer folder open the adop-silent-option-uninstall file in edit mode.
    2. To uninstall only the BMC Application Diagnostics Collector, add the line: 

      -U bmc_application_diagnostics_collector
    3. To uninstall only the BMC Application Diagnostics Portal, add the line: 

      -U bmc_application_diagnostics_portal
    4. If you do not want to delete either component, add a hash sign (#) before the component.
    5. Configure the database with the MySQL root password for cleaning the database tables.
       The displayed password is the default password generated during installation. Leave this password if you have not changed the MySQL root password since installation. If you have changed the MySQL root password since installation, enter a new, encrypted password using the following procedure:
      1. Navigate to <installation dir>\utilities
      2. Run ADOPServerMaintenanceTool.cmd
      3. Select the last tab Encrypt.
      4. Enter the password and confirm the password.
      5. Click Encrypt.
      6. Copy the encrypted password and paste it in the silent option file. 

        -J db_admin_password=DES\:c8e0fe3ab90cb90e0def21a18dd8454e
    6. Run the silent uninstall command: 

      ./uninstall.sh -i silent -DOPTIONS_FILE=adop-silent-option-uninstall
Warning

Note

You can view the uninstallation log files in the /tmp folder.

Related topics

BMC-Application-Diagnostics-Server-installation
Upgrading

 

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

BMC Application Diagnostics 2.0