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 -
Solved! Go to Solution.
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.
@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?
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).
@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?
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.
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
proxy-non-proxy-hosts = *.mydomain.com