Add a new cluster node
This page will soon be available only on the dedicated Dynatrace Managed Documentation site. Update your bookmarks.
Following removal of an existing cluster node, you must wait 72 hours before installing a new node on a host that shares the same IP (i.e., when re-installing on the same host).
To add a new node to your Dynatrace Managed cluster:
Log into your Dynatrace Managed Cluster Management Console (CMC).
In the Dynatrace menu, go to Deployment status page.
Click Add new cluster node.
wgetcommand line from the Run this command on the target host text box.
wgetcommand line into your terminal window.
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-installer.sh
Red Hat Enterprise Linux1su -c '/bin/sh managed-installer.sh'
Other Linux distributions with root session1/bin/sh managed-installer.sh
My company uses a privilege management system other than
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
sudo. For example:1/bin/sh managed-installer.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.
pbrun /opt/dynatrace-managed/launcher/dynatrace.sh stop
The Dynatrace Managed installer works in interactive mode. It displays prompts for values like the installation path and user account. You can accept the default values by pressing
Enter. To override the settings, type your choices in the terminal and press
The newly added node will become visible in Cluster Management Console during the installation as "joining". However, full data synchronization can take a couple of hours. You cannot add other cluster nodes until the one finishes the operation.
To monitor the progress of the cluster node synchronization, you can execute the following command:
1[root@host]# <PRODUCT_PATH>/utils/cassandra-nodetool.sh status
Here's an example of response:
1Datacenter: datacenter-12=====================3Status=Up/Down4|/ State=Normal/Leaving/Joining/Moving5-- Address Load Tokens Owns (effective) Host ID Rack6UN 184.108.40.206 349.88 GiB 256 100.0% aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee rack17UN 220.127.116.11 358.2 GiB 256 100.0% zzzzzzzz-xxxx-cccc-vvvv-ffffffffffff rack18UJ 18.104.22.168 278.75 GiB 256 75.1% qqqqqqqq-wwww-eeee-rrrr-rrrrrrrrrrrr rack1
UJ marks the node as joining and
Owns (effective) column shows the progress of data synchronization.
You can add a new node by following the same procedure as explained for installation of the first node in your cluster. The only difference is that when you copy the
wget command from the email, the installer asks you during installation whether or not you want to add the node to an existing cluster (if so, you have to enter the IP address of an existing cluster node) or if you intend to set up a new cluster. You can alternatively use the
--seed-auth parameter to skip this step. In this way, the newly created node will be automatically added to the existing cluster.