Uninstalling the BMC Application Diagnostics 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.
- Log on with root privileges to the server on which BMC Application Diagnostics Server is installed.
- Navigate to <InstallationDirectory>/UninstallBMCADOPServer folder, for example /opt/bmc/BMC Software/BMC_Application_Diagnostics/UninstallBMCADOPServer.
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-uninstallThis is the default configuration.
- 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:
- In the <InstallationDirectory>/UninstallBMCADOPServer folder open the adop-silent-option-uninstall file in edit mode.
To uninstall only the BMC Application Diagnostics Collector, add the line:
-U bmc_application_diagnostics_collectorTo uninstall only the BMC Application Diagnostics Portal, add the line:
-U bmc_application_diagnostics_portal- If you do not want to delete either component, add a hash sign (#) before the component.
- 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:- Navigate to <installation dir>\utilities
- Run ADOPServerMaintenanceTool.cmd
- Select the last tab Encrypt.
- Enter the password and confirm the password.
- Click Encrypt.
Copy the encrypted password and paste it in the silent option file.
-J db_admin_password=DES\:c8e0fe3ab90cb90e0def21a18dd8454e
Run the silent uninstall command:
./uninstall.sh -i silent -DOPTIONS_FILE=adop-silent-option-uninstall
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*