10 May 2023 11:17 PM - last edited on 11 May 2023 07:51 AM by MaciejNeumann
I go the warning like "Server time of server1 is out of symnc. ... Please enable NTP on all cluster nodes." According to this post, https://community.dynatrace.com/t5/Open-Q-A/time-sync/m-p/112956/highlight/true#M8618, "It's important to have NTP setup correctly on those hosts. Otherwise OneAgents will be synced with the wrong time and will produce PurePaths that might be off (in the future)."
But how do I set up NTP? I thought NTP comes with Casssandra. I checked NTP service on cluster nodes and it appeared as not installed.
++
$ nptstat
bash: nptstat: command not found...
$ systemctl status ntpd
Unit ntpd.service could not be found.
++
Any suggestions?
Solved! Go to Solution.
11 May 2023 11:50 AM
NTP doesn't depend on Dynatrace itself.
You or the Admin of the system that you are working on should set up NTP on Virtual Machine itself and the configuration of the NTP should reference a central NTP serves that keeps track of the current time.
You should definitely speak with one of your Org. Admins and he'll probably have the solution for you
11 May 2023 06:50 PM
y_buccellato,
Thanks for the quick response. I have two more questions:
1. Should I set up NTP service on ActiveGate nodes too?
2. Between ntpd and chronyd, which one works better with Dynatrace, or which one is a better choice generally?
Regards,
14 May 2023 07:43 PM
16 May 2023 04:38 AM
Julius_Loman,
Thank you. I made sure chronyd running on all cluster hosts and activegates.
Regards
14 Aug 2023 01:43 PM
In this regard it would be nice to implement an option besides /etc/ntp.conf to also choose /etc/chrony.conf or in this regard any other path?
Is there already something planned as chrony is the new standard 🙂
14 Aug 2023 06:28 PM
As far as I know, Chrony is the default NTP for Oracle Linux. Chrony is also the standard NTP used by my organization.