Set up a cluster
This page will soon be available only on the dedicated Dynatrace Managed Documentation site. Update your bookmarks.
Setting up your Dynatrace Managed cluster involves creating your first cluster node by downloading and installing Dynatrace Managed. To set up your Dynatrace Managed cluster, follow the steps below.
Before you begin
Ensure that your system meets the specified hardware and operating system requirements.
Installation of the datastores for the various Dynatrace Managed components to network/remote disks isn't advised due to possible performance and update-stability issues.
Download the installer
Log into the Linux machine where you want to install Dynatrace Managed.
- Copy the
wgetcommand line from the activation email you've received.
- Paste the
wgetcommand line into your terminal window. Wait for the download to complete and then continue with step 2.
Verify the installer
The Dynatrace Managed installer file is digitally signed. The signature file is distributed along with the Dynatrace Managed installer. In conjunction with OpenSSL and the Dynatrace root certificate, the signature file can be used to verify the authenticity of the installer. The signature file has the same name as the installer, with a
To verify the installer file signature use this command (assuming your installer filename is
1wget -qO dt-root.cert.pem https://ca.dynatrace.com/dt-root.cert.pem; wget -qO dynatrace-managed.sh.sig https://mcsvc.dynatrace.com/downloads/signature?filename=$(grep -am 1 'ARCH_FILE_NAME=' dynatrace-managed.sh | cut -d= -f2 |sed 's/.tar.gz$//'); openssl cms -inform PEM -binary -verify -CAfile dt-root.cert.pem -in dynatrace-managed.sh.sig -content dynatrace-managed.sh > /dev/null
If verification succeeds, the response should be
Verification successful. If the verification fails, the response will be
Verification failure followed by details.
Run the installer
You need root rights to install Dynatrace Managed. You can use
sudoto run the installation script. To do this, type one of the following commands into the directory where you downloaded the installation script.
Ubuntu Server1sudo /bin/sh dynatrace-managed.sh
Red Hat Enterprise Linux1su -c '/bin/sh dynatrace-managed.sh'
Other Linux distributions with root session1/bin/sh dynatrace-managed.sh
My company uses a privilege management system other than sudo.
pbrunyou need to enable the Dynatrace user the ability to run
/opt/dtrun/dtrun *Following these steps you can install Dynatrace Managed by specifying the user and the command that replaces
For example:1/bin/sh dynatrace-managed.sh --system-user dynatrace:dynatrace --sudo-cmd "/usr/bin/pbrun \$CMD"
Additionally, for maintenance purposes, please consider adding scripts from the locations below:
You might, for example, want to stop all Dynatrace Managed processes running on a node.1pbrun /opt/dynatrace-managed/launcher/dynatrace.sh stopDo not remove or overwrite dtrun
It is required by installation and update procedures. The installer calls
dtrunwithout arguments to validate that the user has administrative privileges, but for normal operation Dynatrace calls
dtrunwith arguments to actually run commands.
The Dynatrace Managed installer works in interactive mode. It displays prompts for values like installation path and user account. Accept the default values by pressing
Enter. To override the settings, type your choices in the terminal and press
Please have your Dynatrace Managed license key available. You can't complete installation without a license key.
- Installation path (binaries):
- Dynatrace Server data files:
- The system user who runs Dynatrace processes:
- The system group who runs Dynatrace processes:
Bypass interactive mode
To bypass all questions and install with default settings, run the installer with the
--install-silentparameter. Be sure to provide your Dynatrace Managed license key as the
What happens during installation
Dynatrace Managed cluster is a set of specialized components that have been configured to host your monitoring environment and process-monitoring data.
The installer sets up the following components in the installation directory (by default,
- Pre-configured Java Runtime Environment (your operating system settings aren't affected by this). Not visible in your
Cassandra-based Hypercube storage
Elasticsearch-based search engine
An embedded ActiveGate
The installer also optimizes operating system settings:
- Swap is turned off (with
Note that enabling swap can result in undesired behavior and so isn't supported.
PREROUTING" rules are enhanced to enable forwarding of communication to Dynatrace Server (via HTTPS on port 8021). To see the exact rules, type
iptables -L -vt natinto your terminal.
readaheadpage cache is set to 512.
- Limits for users are changed globally (unlimited locked-in-memory address space, unlimited address space, increased limit for number of processes and open files). See
The following system files and directories may be modified during installation of Dynatrace Managed:
You can find the Dynatrace Managed installation log file in the
/opt/dynatrace-managed/installer/directory. To easily identify the right log file, look for the installation date in the file name. For example, the log file of a successful installation performed on September 30th would be
To view a list of all available installation parameters, run the installer with the parameter
- Installation path (binaries):
Copy the environment URL that's provided at the end of the installation process. Paste the address into your browser to complete the remainder of the installation. The following page appears.
Provide a name for your first monitoring environment and set up an administrator account. Once finished, click Next. You will be logged in and directed to the Cluster Management Console. A default domain is generated, which should be used instead of the IP address for secure (HTTPS) connection.
In the Dynatrace menu, go to Environments to view your newly created environment. Select your environment and then click Go to environment to access the environment's web UI. You can later create additional environments.