Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

ntpd or chronyd

Solved Go to solution

ntpd or chronyd

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

Accepted Solutions

Re: ntpd or chronyd

Super 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.

2 REPLIES 2

Re: ntpd or chronyd

Super 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.

Re: ntpd or chronyd

Contributor

Thank you very much!