To convert a Managed Cluster from offline to online mode, follow the steps below.
Confirm that your Managed Cluster meets the following requirements before you start the conversion.
Contact your Dynatrace sales representative and request a Dynatrace Managed license in online mode with automatic updates turned off. You receive an online license key, which you need to run the conversion script.
Run the script on each Cluster node sequentially to convert it from offline to online mode:
/bin/sh /opt/dynatrace-managed/installer/convert-to-online.sh --api-token <api-token-value> --online-license <online-license-key>
<api-token-value> with your API token.<online-license-key> with your online license key.--install-agent on or --install-agent off. The default is off.If the script hasn't converted all Cluster nodes yet, it outputs the following message at the end:
Not all nodes have finished the conversion to online successfully yet. IDs of nodes left to convert: [2]
If the conversion fails on a node, rerun the script on that node. The script is idempotent, and the Managed Cluster stays in maintenance mode until all nodes convert to online.
When the script finishes on the last Cluster node, it displays a message that confirms the conversion of all Cluster nodes.
To confirm that the conversion is complete, go to Cluster Management Console > Home > Events and find the following event:
Your Dynatrace Managed cluster has exited maintenance mode due to the end of node conversion to online.
In the Cluster Management Console, go to Home > Settings > API tokens > Cluster tokens > Generate token.
For details, see Cluster API authentication.
A Managed Cluster stays in maintenance mode until all nodes convert to online. The script is idempotent and can be rerun.
By default, the script stores logs in:
/var/opt/dynatrace-managed/logs/installer/
At the beginning of the script, the following prechecks run: