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 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. 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

Installing-the-BMC-Application-Diagnostics-Server
Upgrading

 

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

BMC Application Diagnostics 2.5