Uninstall OneAgent from Cloud Foundry

Uninstalling the Dynatrace OneAgent for BOSH add-ons requires that you update the runtime configuration with an “empty” manifest and re-deploy all BOSH deployments that the add-ons have executed.
Following is an example empty runtime configuration:

releases:
    - name: dynatrace-onagent
      version: 1.0.4
      #specify version of latest release

Update the runtime configuration without Dynatrace-related jobs.

  • For Ops Manager v1.10 or earlier:
    bosh update runtime-config PATH/runtime-config-uninstall-dynatrace.yml

  • For Ops Manager v1.11 or later:
    bosh2 -e my-env update-runtime-config PATH/runtime-config-uninstall-dynatrace.yml

Deploy your changes and uninstall OneAgent from your Cloud Foundry VMs.

  • For Ops Manager v1.10 or earlier:
    bosh deploy

  • For Ops Manager v1.11 or later:
    bosh2 -e my-env -d deployment deploy