07 Oct 2020 02:49 PM
Hi, How do i restart Dynatrace nodes in a cluster one by one? I have 3 nodes dt-p1, dt-p1 & dt-p1 and i have made some changes in custom.settings file and now I have to restart them one by one.
Is there a direct way to do this? Will the below command work -
/opt/dynatrace-managed/launcher/dynatrace.sh restart
Solved! Go to Solution.
07 Oct 2020 03:01 PM
Yes that is correct.
Here’s what is available in documentation:
You can also use CMC UI to restart each node within cluster node details page.
Or use REST API.
There’s no dedicated one button to restart all nodes in a rolling fashion. You have to do that by your own.
07 Oct 2020 04:18 PM
@Radoslaw S. Thanks for your quick response. Unfortunately the command line restart requires root which we don't have.
Could you help how we can do that using CMC UI or REST API please?
07 Oct 2020 04:26 PM
Dynatrace.sh requires sudo, that’s right.
To restart via UI, login to CMC, go to deployment status, cluster nodes, select a node and click “restart” (button top right corner).
07 Oct 2020 04:58 PM
@Radoslaw S. Brilliant thank you. Let me check on that. Also if i disable one agent on one node and do a restart, will there be any loss in monitoring?
07 Oct 2020 05:02 PM
You don’t need to disable OA traffic for the restart. OA will know the node is restarted and will report to the other node. No harm to the data. However you won’t see PurePaths for the time sever is down.
08 Oct 2020 09:59 AM
Hi @Radoslaw S. Thank you so much for your insights. It was really helpful.
I need one more advice. I have made a config change yesterday on all my 3 nodes using custom.settings file and restarted them one by one. For some weird reason, the opt/dynatrace-managed/server/conf/config.properties is only reflecting changes on one server while on other 2 changes are not reflected. I don't know what could be wrong but do you think of anything which I have done wrong? The change i made was this
[http.client.external]
proxy-non-proxy-hosts = *.mydomain.com
19 Feb 2024 06:05 AM
Hii shashank_b_agra Does after the cluster restart all the services inside the cluster gets restarted or we need to differently start the services like cassendra , nginx and elasticsearch inside the cluster if we need to do a restart for all these services differently then what commands does it needs to do so
Thanks and regards
Rohan