RE: [chrony-users] Multiple interfaces is possible?

[ Thread Index | Date Index | More chrony.tuxfamily.org/chrony-users Archives ]


Hi Miroslav,

I tried using below SOCK configuration in chrony.conf file in order to feed multiple time source data to chronyd.
refclock SOCK /var/run/chrony.ttyS1.sock
refclock SOCK /var/run/chrony.ttyS2.sock

With this the first socket becomes invalid and second remains as valid socket.
As per your mail below this is supposed to work.

So I am getting the error:
2015-10-14T13:03:56Z Could not read SOCK sample : Socket operation on non-socket

chronyd version I am using is 2.2

--
Thanks and Regards,
Bhushan J.

-----Original Message-----
From: Miroslav Lichvar [mailto:mlichvar@xxxxxxxxxx] 
Sent: Monday, January 04, 2016 3:44 PM
To: chrony-users@xxxxxxxxxxxxxxxxxxxx
Subject: Re: [chrony-users] Multiple interfaces is possible?

On Wed, Dec 30, 2015 at 08:48:39AM +0000, Jahagirdar, Bhushan wrote:
> I want to feed time data from multiple sources to chronyd.
> How can I support this with the current interfaces that chronyd provides?
> Can I generate multiple SOCK interfaces for every source ? What are the limitations in doing this?

You can feed chronyd with data from multiple refclocks, but each source should have its own socket, so chronyd can filter their samples properly, compare the sources, discard falsetickers, etc. For example:

refclock SOCK /var/run/chrony/refclock.1.sock refclock SOCK /var/run/chrony/refclock.2.sock refclock SOCK /var/run/chrony/refclock.3.sock

If the sources don't agree exactly with each other, you may need to increase their assumed delay with the delay option (1 nanosecond by default), so their intervals overlap and pass the source selection.

--
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.


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/