Sv: [chrony-users] Multi-source: No source change from unreachable to reachable one |
[ Thread Index |
Date Index
| More chrony.tuxfamily.org/chrony-users Archives
]
- To: "chrony-users@xxxxxxxxxxxxxxxxxxxx" <chrony-users@xxxxxxxxxxxxxxxxxxxx>
- Subject: Sv: [chrony-users] Multi-source: No source change from unreachable to reachable one
- From: Joanna Yurdal <jyu@xxxxxxxxxxxx>
- Date: Thu, 10 Oct 2019 14:51:50 +0000
- Accept-language: da-DK, en-DK, en-AT, en-US
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=trackman.com; dmarc=pass action=none header.from=trackman.com; dkim=pass header.d=trackman.com; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=6wpbOmDpcTiVbN2vuc63TdyEHUDbu+pOCX/O4GlT/tQ=; b=DooSmJaKpIyXeSfy8e/68KPFf2MaKYmQ6Ens2ixmB7qNYJbEuNYGwctREhfTSEKJPBffrhjiZGLcJ7zAIOYzpu9TtGmi8yYpHDWOF5vq+fAYcu2Wu/KT3Uhjem75SVlXcm28rty3iQiiMqenqODz4wIkbqjpPBcCu9fn+LAGV+Z1hkdp8y1rxSVi+SH3+eDIHulG5fr8aKqTO/FKCv4bJCd4E7QsSFqZxtE609cmOXyhe4no/EwZy3+v2g7T6w7mB6RPpLhtnIcUO7GFQggav5VntxVQ0uuNXR668sKfo8twMEH/57ms5We5OxcKIG/LzpiTOxp/s7G0qvYJYILebQ==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=C6C+/qca1KMfhaAA+mJB6u7pDR4PWVTXPG8Mq/bW6l08e1UycHzNYGJR/iRV2T0DDJQ/WYxvciWQdvP9GJLtSGLRyq6gYM/0suO1DzLYX1nfyr55U0f84a/Ms4JWZT+QflbxawB93E80zB6zRr2TxwsD9MmEWTMQWA82+rbl77Xj4S6HuWPV7sFGsYVn9qbPObetDqAn6sNB/z6rAIaNa4hNdss4Xm/Z8bhoxdHGbgMGuKPLKI2HQblwWKzkKoEtwz5cVE41Gie3T7/UNzcF8NwoBTurUulzSkQzU+c5+JmOyIJgMhm0t+l2Db+9qUj5Gi5k7CWTE9g65v8YnTGuBA==
- Authentication-results: spf=none (sender IP is ) smtp.mailfrom=jyu@xxxxxxxxxxxx;
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=trackman.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=6wpbOmDpcTiVbN2vuc63TdyEHUDbu+pOCX/O4GlT/tQ=; b=PT++dSKCzigpjEQECY/UAFMktvQhkImEcZbUgjmzb+CgruvC7Tzv7nGT1aLSo0E1WjWqSsQw4oOIY966ybfg2g5sWI+Z1vogBFJ1C4OlSFkqxJPvosnKNuAYjPorYxy2dgu8VAcuEfh/bnadYDQz2+SnnldSo2hjPmr4UKZVzHc=
- Thread-index: AQHVf3BPmY4cIPJSJk+VZLo+1/+MyqdT7hGAgAAFxRI=
- Thread-topic: [chrony-users] Multi-source: No source change from unreachable to reachable one
In last test I have made the unreachable source was selected for 10 min. After that I have stopped the test since it is way too long for our failover requirements.
I will not have the system access for a while but I can write more description and provide debug logs at later time.
Fra: Miroslav Lichvar <mlichvar@xxxxxxxxxx>
Sendt: 10. oktober 2019 16:24
Til: chrony-users@xxxxxxxxxxxxxxxxxxxx <chrony-users@xxxxxxxxxxxxxxxxxxxx>
Emne: Re: [chrony-users] Multi-source: No source change from unreachable to reachable one
On Thu, Oct 10, 2019 at 01:53:03PM +0000, Joanna Yurdal wrote:
> chrony.conf:
> refclock SHM 0 poll 2 dpoll 0 refid PTP0 precision 1.0e-9 delay 1.0e-04 prefer
> server 192.168.3.103 iburst minpoll 2
> When SHM source looses reachability, each second both s-> last_sample_ago and max_reach_sample_ago are increased by one
> The condition never becomes true and the unreachable(invalid) source remains the selected source forever.
No, it shouldn't be selected forever. How long did you wait?
With each sample dropped by the (reachable) NTP source
max_reach_sample_ago should get smaller and at some point the SHM
source should become "stale" and be unselected, if it doesn't happen
earlier due to increased root distance.
> I did not really understand the intention for this a comparison.
> Was it indented to compare newest sample from unreachable source with the newest sample from reachable source instead?
No, it's supposed to compare the newest sample of the unreachable
source with oldest sample of a reachable source to determine if the
spans of the two sources still overlap.
--
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.