Support Questions

Find answers, ask questions, and share your expertise

ntpd or chronyd

avatar
Contributor

This page https://docs.hortonworks.com/HDPDocuments/Ambari-2.6.2.2/bk_ambari-installation/content/enable_ntp_o... instructs to install ntpd even if using RHEL7/CentOS7.

As far as I know, Chrony is the default in RHEL7/CentOS7 instead of ntpd.

Why does that document instruct to install ntpd?

Is there any reason not to use (or recommend) Chrony?

1 ACCEPTED SOLUTION

avatar
Master Mentor

@Takefumi Oide

According to the ambari code base both "ntp" and "chrony" are fine any of these services are fine.

https://github.com/apache/ambari/blob/release-2.6.2/ambari-agent/src/main/python/ambari_agent/HostIn...

.

I see that there are few code changes made recently to also include the : https://issues.apache.org/jira/browse/AMBARI-18761

Doc can be enhanced.

View solution in original post

2 REPLIES 2

avatar
Master Mentor

@Takefumi Oide

According to the ambari code base both "ntp" and "chrony" are fine any of these services are fine.

https://github.com/apache/ambari/blob/release-2.6.2/ambari-agent/src/main/python/ambari_agent/HostIn...

.

I see that there are few code changes made recently to also include the : https://issues.apache.org/jira/browse/AMBARI-18761

Doc can be enhanced.

avatar
Contributor

Thank you very much!