Start/stop/restart a node
Dynatrace Managed software consists of a number of Dynatrace services that are dependent on each other and should be stopped or started in a particular order.
- For Dynatrace Managed deployments containing three (3) or more nodes, use the cluster procedure (Start/stop/restart a cluster).
- For Dynatrace Managed deployments containing less than three (3) nodes, you can use the official
dynatrace.sh
script with additional parameters to properly start, stop, or restart Dynatrace services on each node individually within the cluster.
By default, the script is located at /opt/dynatrace-managed/launcher/
. Make sure the dynatrace.sh
script has executable permissions.
You can execute the dynatrace.sh
script with a parameter (start
, stop
, restart
, status
, check
, pid
) as described below.
-
start
Starts all Dynatrace Managed required services in the recommended order.
[root@localhost]# ./dynatrace.sh start
-
stop
Stops all Dynatrace Managed required services in the recommended order.
[root@localhost]# ./dynatrace.sh stop
-
restart
Restarts all Dynatrace Managed required services in the recommended order.
[root@localhost]# ./dynatrace.sh restart
-
status
Displays a list of Dynatrace required services and the status of each, including detailed information about each service:
[root@localhost]# ./dynatrace.sh status
-
check
Checks the status of iptable rules and the processes for Nodekeeper, Cassandra, Elasticsearch, ActiveGate, Watcher, and NGINX.
[root@localhost]# ./dynatrace.sh check
-
pid
Displays the process ID for all Dynatrace required services that were started with the
dynatrace.sh
script.[root@localhost]# ./dynatrace.sh pid