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.
Dynatrace Managed version updates are performed sequentially. For example, if your installed Managed version is 1.292 and you want to update it to version 1.296, first, you need to update to version 1.294 and then to 1.296.
Dynatrace Managed version 1.296+ You can update Dynatrace Managed faster by skipping certain versions. For example, you're able to update from Managed version 1.296 directly to 1.300.
However, you can skip a Managed version only if its installed version is divisible by 4. If a version is not eligible, you still have to update Dynatrace Managed sequentially. The following table illustrates the version logic:
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. 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:
-
Go to 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 (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.
Manual update
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
<INSTALLATION_DIR>/installer/upgrade
-
Give the update script executable permissions. Use Linux
chmod
command.[root@localhost]# chmod +x dynatrace-managed-1.238.0.20220309-065315.sh1.238.0.20220309-065315
is 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. -
As a
root
user, execute the update script. Once the update completes successfully, move to the next node and repeat the procedure.[root@localhost]# ./dynatrace-managed-1.238.0.20220309-065315.sh --upgrade[root@localhost]# ./dynatrace-managed-1.238.0.20220309-065315.sh --upgradeStarting Dynatrace 1.238.0.20220309-065315 installer ... OKTesting connection to Dynatrace Mission Control ... OKVerifying system compatibility ... OKVerifying disk space ... OKVerifying Dynatrace directories ... OKVerifying system privileges ... OKVerifying system connectivity ... OKStopping Dynatrace ... OKPreparing system user for Dynatrace ... OKInitializing upgrade ... OKChecking user permissions ... OKChecking file ownership ... OKDownloading Dynatrace OneAgent. This may take a few minutes ... OKUpgrading. This may take a few minutes ... OKPreparing connectivity settings ... OKSetting up cluster configuration. This may take a few minutes ... OKStarting Dynatrace. This may take up to half an hour ... OKUpgrade completed successfully after 8 minutes 50 seconds.Dynatrace binaries are located in directory /opt/dynatrace-managedDynatrace data is located in directory /var/opt/dynatrace-managedDynatrace metrics repository is located in directory /var/opt/dynatrace-managed/cassandraDynatrace Elasticsearch store is located in directory /var/opt/dynatrace-managed/elasticsearchDynatrace server store is located in directory /var/opt/dynatrace-managed/serverDynatrace session replay store is located in directory /var/opt/dynatrace-managed/server/replayDataYou can now log into your Dynatrace Server at https://10.10.10.10[root@localhost]#
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.
Alternatively,
-
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.