Re: [CentOS] Question about ntp

2019-05-27 Thread Chris Adams
Once upon a time, Jobst Schmalenbach  said:
> Chrony cannot supply time info, so if you have clients requesting time info 
> the server cannot serve time, you need ntpd for that. I have many windows 
> stations that pull time from my CentOS servers.

That is not correct.  In the default config, chrony doesn't serve time,
which is a good thing (see: all the problems with ntpd serving a lot
more than time).  All you have to do is uncomment/add "allow" lines in
/etc/chrony.conf.
-- 
Chris Adams 
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Question about ntp

2019-05-27 Thread Jobst Schmalenbach
On Mon, May 27, 2019 at 09:50:51PM -0400, Fred Smith 
(fre...@fcshome.stoneham.ma.us) wrote:
> On Tue, May 28, 2019 at 11:44:35AM +1000, Jobst Schmalenbach wrote:
> > On Mon, May 27, 2019 at 06:32:19AM +0200, Ralf Prengel 
> > (ralf.pren...@rprengel.de) wrote:
> > > 
>
> It's hard to imagine that someone would have REMOVED that ability in
> the intervening years

I read a couple of comparisons some time back, I learned chrony cannot server 
time.
The comparison might have been wrong!

I just read this, so I stand corrected:

https://chrony.tuxfamily.org/comparison.html





-- 
Jobst Schmalenbach

Egotism is pain, and the only way to end it is to cease to believe that the 
world revolves around one's petty life.

___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Question about ntp

2019-05-27 Thread Fred Smith
On Tue, May 28, 2019 at 11:44:35AM +1000, Jobst Schmalenbach wrote:
> On Mon, May 27, 2019 at 06:32:19AM +0200, Ralf Prengel 
> (ralf.pren...@rprengel.de) wrote:
> > 
> > Hallo,
> > 
> > what is the standard way to sync time under Centos 7.
> > ntp or chrony.
> 
> YMMV.
> 
> I have used NTP for many, many years so I am familiar with it and also have 
> ALL config files, I normally just delete chrony and install ntpd, then copy 
> the config files and start ntp. All done, 2 minutes.
> 
> Chrony cannot supply time info, so if you have clients requesting time info 
> the server cannot serve time, you need ntpd for that. I have many windows 
> stations that pull time from my CentOS servers.

Back when I used chrony in my home LAN it certainly did serve time. I
brought it up on my firewall (an old PC running SmoothWall) as a local
time server and it worked great for that purpose.

It's hard to imagine that someone would have REMOVED that ability in
the intervening years

-- 
 Fred Smith -- fre...@fcshome.stoneham.ma.us -
  "And he will be called Wonderful Counselor, Mighty God, Everlasting Father,
  Prince of Peace. Of the increase of his government there will be no end. He 
 will reign on David's throne and over his kingdom, establishing and upholding
  it with justice and righteousness from that time on and forever."
--- Isaiah 9:7 (niv) --
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Question about ntp

2019-05-27 Thread Jobst Schmalenbach
On Mon, May 27, 2019 at 06:32:19AM +0200, Ralf Prengel 
(ralf.pren...@rprengel.de) wrote:
> 
> Hallo,
> 
> what is the standard way to sync time under Centos 7.
> ntp or chrony.

YMMV.

I have used NTP for many, many years so I am familiar with it and also have ALL 
config files, I normally just delete chrony and install ntpd, then copy the 
config files and start ntp. All done, 2 minutes.

Chrony cannot supply time info, so if you have clients requesting time info the 
server cannot serve time, you need ntpd for that. I have many windows stations 
that pull time from my CentOS servers.


-- 
Jobst Schmalenbach

A computer without Microsoft is like chocolate cake without ketchup!

___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Question about ntp

2019-05-27 Thread Fred Smith
On Mon, May 27, 2019 at 04:29:28PM +0100, Pete Biggs wrote:
> 
> > 
> > what is the standard way to sync time under Centos 7.
> > ntp or chrony.
> > 
> chrony syncs to an NTP server, in the same way that ntp syncs to an NTP
> server. The both work.
> 
> I have both ntpd (under CentOS 6) and chronyd (under CentOS 7) NTP
> servers on my network, they all work fine together.
> 
> P.

I used chrony at home, a couple of decades ago (give or take) way back
when I was on dialup, because if its ability to serve time to machines
that are not always connected.

Since it is now the default NTP provider for EL7 I use it again, and
it still works fine for my needs. 

Fred
-- 
 Fred Smith -- fre...@fcshome.stoneham.ma.us -
The Lord is like a strong tower. 
 Those who do what is right can run to him for safety.
--- Proverbs 18:10 (niv) -
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Question about ntp

2019-05-27 Thread Nicolas Kovacs
Le 27/05/2019 à 06:32, Ralf Prengel a écrit :
> 
> what is the standard way to sync time under Centos 7.
> ntp or chrony.
> 
> Thanks for a short hint.

Chrony is the standard way, but one of the first things I do when
installing a CentOS server is replace it with NTP.

Here's a short blog article (in french) about NTP on CentOS.

  * https://www.microlinux.fr/centos-7-ntp/

Cheers,

Niki

-- 
Microlinux - Solutions informatiques durables
7, place de l'église - 30730 Montpezat
Site : https://www.microlinux.fr
Mail : i...@microlinux.fr
Tél. : 04 66 63 10 32
Mob. : 06 51 80 12 12
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Question about ntp

2019-05-27 Thread Pete Biggs


> 
> what is the standard way to sync time under Centos 7.
> ntp or chrony.
> 
chrony syncs to an NTP server, in the same way that ntp syncs to an NTP
server. The both work.

I have both ntpd (under CentOS 6) and chronyd (under CentOS 7) NTP
servers on my network, they all work fine together.

P.


___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Question about ntp

2019-05-27 Thread Jonathan Billings
On May 27, 2019, at 07:51, Jonathan Billings  wrote:
> 
> ntp is provides but not default.

*Sigh* I mean “provided”. It’s too early. 

--
Jonathan Billings


___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Question about ntp

2019-05-27 Thread Jonathan Billings
On May 27, 2019, at 00:32, Ralf Prengel  wrote:
> 
> 
> what is the standard way to sync time under Centos 7.
> ntp or chrony.

chrony is the default time sync daemon on C7. ntp is provides but not default. 

--
Jonathan Billings


___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Question about ntp

2019-05-26 Thread Ben Archuleta
I more or less depend on NTP and synchronize against my public upstream NTP 
servers. The only system that runs chrony is my FreeIPA server.

Regards,
Ben

> On May 26, 2019, at 10:32 PM, Ralf Prengel  wrote:
> 
> 
> Hallo,
> 
> what is the standard way to sync time under Centos 7.
> ntp or chrony.
> 
> Thanks for a short hint.
> 
> Ralf
> 
> 
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] Question about ntp

2019-05-26 Thread Ralf Prengel



Hallo,

what is the standard way to sync time under Centos 7.
ntp or chrony.

Thanks for a short hint.

Ralf


___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos