Update OneAgent on Cloud Foundry

Find out below how to update OneAgent according to your particular deployment strategy. For a clear view of all the deployment alternatives, see Cloud Foundry deployment strategies.

Update OneAgent BOSH lightweight release

For Cloud Foundry VMs, the auto-update mechanism is built into Dynatrace OneAgent. This means you don't have to worry about manually updating the OneAgents running on your Cloud Foundry VMs.

Following any auto-update you must manually restart the platform processes and the Cloud Foundry processes/applications so that they are monitored with the latest version of Dynatrace OneAgent.

cf restart <app_name>

Update OneAgent BOSH immutable release

To update the immutable BOSH release, follow the Deploy instructions for downloading the latest release, uploading it to your BOSH blobstore, and changing the versions in the runtime configuration.

Update OneAgent for application-only monitoring

When a new version of Dynatrace OneAgent becomes available, you must restage your Cloud Foundry application.

cf restage <app_name>

The Cloud Foundry buildpack will automatically fetch the latest version of Dynatrace OneAgent. After the restage, your Cloud Foundry applications will be monitored with the latest version of Dynatrace OneAgent.

If you've specified a default Dynatrace OneAgent installation version for new hosts and applications in your Dynatrace OneAgent updates settings, the Cloud Foundry buildpack will automatically fetch the defined default version of Dynatrace OneAgent.