Re: [chrony-users] Advice on a private stratum 2 pool |
[ Thread Index |
Date Index
| More chrony.tuxfamily.org/chrony-users Archives
]
- To: chrony-users@xxxxxxxxxxxxxxxxxxxx
- Subject: Re: [chrony-users] Advice on a private stratum 2 pool
- From: Youssef Ghorbal <youssef.ghorbal@xxxxxxxxx>
- Date: Wed, 3 Jul 2019 18:46:28 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=fzA2lf12E+IvtLPzPpS7mLBWkWh+0vyHI0ajkP3cNxk=; b=cATr7hZgMSd80HPcU5vyUtiJ/qys+Yid0Mm+TZf/8fD3VVQor3QM29LW5LwQK365oh 9jgTJHRVvnTj3jEoiAD3npO1863KQdXDgnuSNXbxlhBBf3Xg8NvPsRL+q4836qhNAfAZ as/95eaYr8IyYafF54nmHsTBw8MRnsB09u3umjbGY96UkVoiZpGfI/scwtZJ0jlsZ9Ud 7Brotr/UG5SOIOL2yRoPg7B085mTLmqHTzO/pHkI7D+Q51WPStlWRY9zluPr1PvlWC5D Ad5wQxeob5kXvOFqlLZ9WP9oXKdhuUo4BgUaF88Y5eKttAwC9g6Th6NJucg8Ah/3Mgnm lkNg==
Thank you Miroslav
On Mon, Jul 1, 2019 at 1:40 PM Miroslav Lichvar <mlichvar@xxxxxxxxxx> wrote:
>
> On Sun, Jun 30, 2019 at 09:57:55PM +0200, Youssef Ghorbal wrote:
> > => On the client side too, the one ntp the peer "elected" as the best
> > is also the one chosed by the client. This Option seems to be more
> > aligned with previsously referenced architecture but I can't tell why
> > I don't like it (maybe that I'm expecting that my pool would be
> > stratum uniform)
>
> chronyd as an NTP client prefers sources with the shortest root
> dinstance (which includes root delay and dispersion), giving the
> stratum only a small weight in the selection. If you increase the
> stratumweight value in the config file, for example to one second, it
> will strongly prefer lower-stratum sources.
That did the trick indeed !
By the way, on CentOS 7 stratumweight defaults to 0 (enforced in the
chrony.conf provided by the package)
>
> > Do you think that I should be using the same 4 upstream NTP stratum 1
> > servers on all my stratum 2 servers? My failure scenario is if one of
> > those upstream is faulty, my pool detect it and everything continues
> > to work (and if my Internet connection is dead, I have more bigger
> > problems than NTP going out of sync)
>
> If your clients will be using all your servers and are able to detect
> falsetickers, then it probably will not make a big difference on their
> clocks. Generally, I think it's preferred to use more sources on lower
> strata to detect problems sooner in the chain.
Understood.
> > How would you do it ? Do you have any pointers to reference NTP architectures ?
>
> I think all three setups you have described make sense and should work
> ok. There may be differences in how the clients are affected depending
> on what clocks and network links fail.
>
> I'd probably configure all stratum 2 servers to use all four stratum 1
> servers and not configure them to peer with each other.
I think I'll go with this configuration.
> --
> Miroslav Lichvar
>
> --
> To unsubscribe email chrony-users-request@xxxxxxxxxxxxxxxxxxxx
> with "unsubscribe" in the subject.
> For help email chrony-users-request@xxxxxxxxxxxxxxxxxxxx
> with "help" in the subject.
> Trouble? Email listmaster@xxxxxxxxxxxxxxxxxxxx.
>
--
To unsubscribe email chrony-users-request@xxxxxxxxxxxxxxxxxxxx
with "unsubscribe" in the subject.
For help email chrony-users-request@xxxxxxxxxxxxxxxxxxxx
with "help" in the subject.
Trouble? Email listmaster@xxxxxxxxxxxxxxxxxxxx.