Update Dynatrace Managed
To run a successful update, you need at least 5 GB of available disk space on the partition where Dynatrace Managed is installed. For details see Managed hardware requirements.
Update of Dynatrace Managed consists of two steps:
- Downloading the update package.
- Performing the actual update.
Updates of Dynatrace Managed can only be done sequentially with regard to versions. If your Dynatrace Managed cluster currently runs for example, version
1.212 and you want to upgrade it to version
1.218, you'll have to upgrade first to version
1.214 and then to version
Update package download
By default, update packages are downloaded automatically as soon as they are available to your cluster.
However, if you need strict control over download packages, you can opt out from automatic download of updates. In that case, you need to update your license. Contact a Dynatrace product expert via live chat within your Dynatrace environment. For air-gapped deployment (not connected to Mission Control) or when you opt out from automatic download, you will receive an email notification whenever a new update package is available. It will contain a link to download the update packages, so you can upload it manually to the cluster.
Use Cluster Management Console (CMC) to upload the patch to the cluster. In the Dynatrace menu, go to Settings > Automatic update and select Upload. Cluster Management Console will propagate the update package to all of the nodes. If you do not want to use the UI, you can manually copy the extracted cluster installer files to the
<INSTALLATION_DIR>/installer/upgrade directory on each cluster node.
Automatic update (recommended)
For automatic updates, specify a convenient time for the system to upgrade itself (for example, during a maintenance window).
Your monitoring and cluster management pages won't be accessible during the upgrade process if your cluster consists of less than 3 nodes.
To define a start time for automatic updates:
From the navigation menu, select Settings > Automatic update.
Set the Install Dynatrace cluster updates automatically switch to the On position.
This switch is disabled if your license doesn't allow to opt out from automatic updates. To change your license allowance, contact a Dynatrace product expert via live chat within your Dynatrace environment.
Specify a weekly maintenance window start time. Dynatrace Managed updates will start at the time you specify.
After the Dynatrace cluster update is downloaded, a 24-hour waiting period is required before an automatic update can run. This means that an automatic update is attempted during the first scheduled maintenance window that occurs 24 hours after the download completes. For example, if you download a cluster update today and the maintenance window is scheduled for 1:00 AM tomorrow, your update will be executed in the following week, not tomorrow, because the 24-hour waiting period will not be finished by 1:00 AM tomorrow.
Manually triggered update
For manually triggered updates, you have to trigger the actual update with the user interface (in the Dynatrace menu, go to Settings > Automatic update) or via the Cluster REST API. Once triggered, the update process is performed in the same way as in the automatic updates. Typically, you would use the manually triggered update if you wish to initiate the update outside scheduled maintenance window.
For manual updates, you must manually initiate the update script on each node. Since the node that's being updated isn't operating, it's crucial that you manually update one node at a time: Wait until the node update completes before starting an update on the next node.
To manually update the cluster, perform this procedure for each node in sequence one node at a time:
Find the update script in
Give the update script executable permissions. Use Linux
chmod +x dynatrace-managed-188.8.131.5220309-065315.sh
184.108.40.20620309-065315is an example installer script version. Installer script of an updated version by default is placed at
<INSTALLATION_DIR>/installer/upgrade/, provided that your automatic version update process is turned on.
rootuser, execute the update script. Once the update completes successfully, move to the next node and repeat the procedure.shell
./dynatrace-managed-220.127.116.1120309-065315.sh --upgradeNode upgrade exampleshell
./dynatrace-managed-18.104.22.16820309-065315.sh --upgrade Starting Dynatrace 22.214.171.12420309-065315 installer ... OK Testing connection to Dynatrace Mission Control ... OK Verifying system compatibility ... OK Verifying disk space ... OK Verifying Dynatrace directories ... OK Verifying system privileges ... OK Verifying system connectivity ... OK Stopping Dynatrace ... OK Preparing system user for Dynatrace ... OK Initializing upgrade ... OK Checking user permissions ... OK Checking file ownership ... OK Downloading Dynatrace OneAgent. This may take a few minutes ... OK Upgrading. This may take a few minutes ... OK Preparing connectivity settings ... OK Setting up cluster configuration. This may take a few minutes ... OK Starting Dynatrace. This may take up to half an hour ... OK Upgrade completed successfully after 8 minutes 50 seconds. Dynatrace binaries are located in directory /opt/dynatrace-managed Dynatrace data is located in directory /var/opt/dynatrace-managed Dynatrace metrics repository is located in directory /var/opt/dynatrace-managed/cassandra Dynatrace Elasticsearch store is located in directory /var/opt/dynatrace-managed/elasticsearch Dynatrace server store is located in directory /var/opt/dynatrace-managed/server Dynatrace session replay store is located in directory /var/opt/dynatrace-managed/server/replayData You can now log into your Dynatrace Server at https://10.10.10.10
Dynatrace Managed version check
To check which Dynatrace Managed version you currently use:
Log into Cluster Management Console or one of your monitoring environments.
Open the User menu in the top right corner. The version number appears at the bottom right corner of the User menu.
Navigate to the home page of your Cluster Management Console, where you can view your Dynatrace Managed deployment status.
Click a Dynatrace Managed node to open the overview page of this node. The installed version appears right under the title of the page.