To convert a Managed Cluster from offline to online mode, complete the following steps.
Contact your Dynatrace sales representative and request a Dynatrace Managed license in online mode with automatic updates disabled.
Run the script on each Managed 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. Default is off.If the script hasn't converted all Managed 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]
After the script runs, it displays a message confirming that all Managed Cluster nodes are converted.
If you find the following event under Cluster Management Console > Home > Events, the conversion is complete.
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: