What IS in your chrony.conf file?
"pool.ntp.org" is not a single server. It is a collection of several
dozen. When you specify a pool of servers for chrony, it will pick 4 mostly at
random and use those. The four servers it chooses will change over time.
If you want to use exactly one specific server, then take the pool out of
chrony.conf and add your specific server. I do not see a way for chronyc to
remove servers, so it is a matter of editing the file directly and then
restarting chronyd.
In my case, only my internal master server goes against a pool. All other
internal systems use the internal master as their only source. Sometimes when I
do "chronyc sources" on them, I see the server listed twice. After
investigation I found that one is for IPv4 and the other for IPv6.
--
Bill Gee
On Wednesday, December 2, 2020 2:00:56 PM CST Jerry Geis
wrote:> Thanks everyone for the comments. So trying to use the new
"chronyc/d"
>
> So trying a couple things with chronyc
>
> chronyc sources
> 210 Number of sources = 5
> MS Name/IP address Stratum Poll Reach LastRx Last sample
>
==============================================================================>
^* time.cloudflare.com 3 10 377 220 -481us[ -503us] +/-
> 17ms
> ^- zeit.arpnetworks.com 2 9 377 452 -1083us[-1104us] +/-
> 100ms
> ^- lofn.fancube.com 2 10 377 851 -1833us[-1854us] +/-
> 64ms
> ^- ntp3.junkemailfilter.com 2 9 377 227 -937us[ -959us] +/-
> 76ms
> ^- b.st1.ntp.br 1 6 377 56 -2300us[-2300us] +/-
> 79ms
>
> NONE of the above are listed in /etc/chrony.conf
>
> Then I tried "chronyc add server pool.ntp.porg" and ran
"chronyc sources"
> again and my server was not added ?
>
> I am trying to use the command line chronyc - to "add" the server
I want -
> also wish there was an EASY way to clear the server list. Have not seen
> that though.
>
> What I need is a way to add the server i want - list the server to make
> sure my server is in the list - and remove servers I dont want (or all).
>
> Thanks,
>
> Jerry
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> https://lists.centos.org/mailman/listinfo/centos
>