Performing the App Visibility server uninstallation silently


Perform the following steps to silently uninstall the App Visibility server. The silent uninstallation does not require user interaction.

Before you begin

  • (Portal or collector) If you want to retain data, back up the database.

    Warning

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

  • (Portal or collector) In a high-availability environment, uninstall the standby node.

    If you want to uninstall only an active node, first stop the component service and wait up to five minutes to confirm failover before uninstalling the component. 

    Warning

    If you are uninstalling only the active node (for example, because you want to replace that node with another computer), you must stop the component service on the active node before running the uninstallation utility, otherwise you might lose data.

    If you are uninstalling both nodes and you have backed up your data, then you do not need to stop the service before performing the uninstallation process.

    • (Windows) Use the Windows services manager (services.msc) to stop the required component:
      • BMC App Visibility Collector
      • BMC App Visibility Portal
    • (Linux) Run the required command:
      • service adop_collector stop
      • service adop_portal stop

To uninstall all App Visibility server components

  1. Log on with administrator privileges to the computer on which App Visibility server is installed.
  2. In a command line, navigate to the UninstallBMCADOPServer directory under the installation directory, for example:
    • Windows
      C:\Program Files\BMC Software\App Visibility\UninstallBMCADOPServer
    • Linux
      /opt/bmc/App_Visibility/UninstallBMCADOPServer
  3. To silently uninstall all the App Visibility server components, run the following command:
    • Windows

      uninstall.exe -i silent -DOPTIONS_FILE="C:\Program Files\BMC Software\App Visibility\UninstallBMCADOPServer\adop-silent-option-uninstall.txt"
    • Linux

      ./uninstall.bin -i silent -DOPTIONS_FILE=/opt/bmc/App_Visibility/UninstallBMCADOPServer/adop-silent-option-uninstall

To uninstall a specific App Visibility component

  1. Log on with administrator privileges to the server on which App Visibility server is installed.
  2. Navigate to the UninstallBMCADOPServer directory under the installation directory, for example:
    • Windows
      C:\Program Files\BMC Software\App Visibility\UninstallBMCADOPServer
    • Linux
      /opt/bmc/BMC Software/App_Visibility/UninstallBMCADOPServer.
  3. Open the adop-silent-option-uninstall file in edit mode.
  4. Add a hash sign (#) before the component that you do not want to uninstall:

    # Uninstall App Visibility Manager Portal
    -U bmc_application_diagnostics_portal
    # Uninstall App Visibility Manager Collector
    -U bmc_application_diagnostics_collector
    # Uninstall App Visibility Manager Proxy
    -U bmc_application_diagnostics_proxy
  5. Run the silent uninstall command:
    • Windows

      uninstall.exe -i silent -DOPTIONS_FILE="C:\Program Files\BMC Software\App Visibility\UninstallBMCADOPServer\adop-silent-option-uninstall.txt"
    • Linux

      ./uninstall.bin -i silent -DOPTIONS_FILE=/opt/bmc/App_Visibility/UninstallBMCADOPServer/adop-silent-option-uninstall

You can view the uninstallation log files in the %temp% directory (Windows) or the /tmp directory (Linux).

Related topics

Installing-the-App-Visibility-server-components

Upgrading-App-Visibility-Manager-components

 

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