RE: chrony not switching to stratum 10 after loss of references

Charbonneau, André <[email protected]>
Newsgroups gmane.comp.time.chrony.user
Message-ID <[email protected]>
Thanks a lot Miroslav for the quick reply; much appreciated!
We will try the 'distance' parameter as you suggest.

Out of curiosity, I wonder if there a way to configure chrony to immediately stop serving time to NTP clients as soon as there are no reachable upstream references (or jump to high stratum level)?


Thanks,
  Andre

--
Andre Charbonneau

Frequency & Time
Metrology Research Centre
National Research Council Canada / Government of Canada
[email protected] / 613-993-3129

Fréquence et temps
Centre de recherche en métrologie
Conseil national de recherches Canada / Gouvernement du Canada
[email protected] / 613-993-3129

-----Original Message-----
From: Miroslav Lichvar <[email protected]> 
Sent: June 15, 2023 3:25 AM
To: [email protected]
Subject: Re: [chrony-users] chrony not switching to stratum 10 after loss of references

***Attention*** This email originated from outside of the NRC. ***Attention*** Ce courriel provient de l'extérieur du CNRC.

On Wed, Jun 14, 2023 at 08:50:28PM +0000, Charbonneau, André wrote:
> Root delay      : 0.000000001 seconds
> Root dispersion : 0.003475379 seconds
> Update interval : 16.0 seconds
> Leap status     : Normal
>
> I've also confirmed that it still happily serves time at stratum 1 level if I query it from another system (using ntpdate tool for example from another system).
>
> Is this normal and expected?  I was expecting chrony to fallback to stratum 10 but this is not what is happening.

It's expected in your configuration. The default threshold for switching to the local mode is 1 second of root distance (root delay / 2 + root dispersion).

You would need to specify a smaller threshold, e.g.
local stratum 10 distance 0.003

--
Miroslav Lichvar


--
To unsubscribe email chrony-users-request-kWFZVVI9zxvPqho9SqqRMmD2FQJk+8+b@public.gmane.org
with "unsubscribe" in the subject.
For help email chrony-users-request-kWFZVVI9zxvPqho9SqqRMmD2FQJk+8+b@public.gmane.org
with "help" in the subject.
Trouble?  Email [email protected]


-- 
To unsubscribe email chrony-users-request-kWFZVVI9zxvPqho9SqqRMmD2FQJk+8+b@public.gmane.org 
with "unsubscribe" in the subject.
For help email chrony-users-request-kWFZVVI9zxvPqho9SqqRMmD2FQJk+8+b@public.gmane.org 
with "help" in the subject.
Trouble?  Email [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.