20 Oct 2023 02:48 AM - last edited on 23 Oct 2023 09:22 AM by MaciejNeumann
https://docs.dynatrace.com/docs/managed-cluster/operation/start-stop-restart-cluster
I am referring to this document.
Is the below process correct?
【Shut down cluster】
①Move to target directory:
"/opt/dynatrace-managed/launcher"
②Issue the following command on each existing node:
"sudo nohup ./server.sh stop"
③Issue the following command to check the status:
"sudo nohup ./server.sh status"
④When all server processes are fully shut down and a status check shows them as not running,
issue the following command on each existing node, one node at a time:
"sudo nohup ./dynatrace.sh stop"
⑤Issue the following command to check the status:
"./dynatrace.sh status"
【Start up cluster】
①Move to target directory:
"/opt/dynatrace-managed/launcher"
②Run on each node:
"sudo nohup ./firewall.sh start"
③Issue the following command on each existing node
"sudo nohup ./elasticsearch.sh start"
④Issue the following command to check the status:
"curl -X GET "localhost:9200/_cluster/health?wait_for_status=yellow&timeout=50s&pretty"
⑤Issue the following command on each existing node:
"sudo nohup ./cassandra.sh start"
⑥Issue the following command to check the status:
"sudo /opt/dynatrace-managed/utils/cassandra-nodetool.sh status"
⑦Issue the following command on each existing node:
"sudo nohup ./server.sh start"
⑧Once all server processes are up and running,
start the rest of the processes. Issue the following command on each existing node:
"sudo nohup ./dynatrace.sh start"
⑨Issue the following command to check the status:
"./dynatrace.sh status"
02 Nov 2023 09:48 AM
Hello,
Yes, the process sequence is correct if you have more than three cluster nodes.
If not, then you can invoke Dynatrace.sh file to stop start/restart the nodes om each server.
./dynatrace.sh start
./dynatrace.sh stop
./dynatrace.sh status
Cheers!
RN