William G. Unruh __| Canadian Institute for|____ Tel: +1(604)822-3273
Physics&Astronomy _|___ Advanced Research _|____ Fax: +1(604)822-5324
UBC, Vancouver,BC _|_ Program in Cosmology |____ un...@physics.ubc.ca
Canada V6T 1Z1 ____|____ and Gravity ______|_ www.theory.physics.ubc.ca/

On Mon, 11 Sep 2017, Miroslav Lichvar wrote:

On Fri, Sep 01, 2017 at 07:00:08PM +0200, Thibaut BEYLER wrote:
I already have a secondary interface & addresses configured on my servers,
so I was thinking to use it for the second instance instead of using a
non-standard port (which my monitoring software doesn't support)

But how can I configure the server instance it to serve the local time ? if
I don't put any server directive it won't serve ntp, and if i put a server
directive it will serve that time..

There is the "local" directive for that. It allows chronyd to serve
the local system time, even if it's not synchronized to anything.

Of course that has the disadvantage that it does nothing for the time on your
system at all. If it thinks it is Jan2 1970 it will continue doing that and
serve that as the time to the other systems. Ie, the local directive is useful
only if your system has at least sporadically, access to a good
server/refclock, and it is freewheeling when those go offline. It allows it to
continue server time to others, even as its time gets worse and worse untill
the next connectivity to its server.


--
Miroslav Lichvar

--
To unsubscribe email chrony-users-requ...@chrony.tuxfamily.org
with "unsubscribe" in the subject.
For help email chrony-users-requ...@chrony.tuxfamily.org
with "help" in the subject.
Trouble?  Email listmas...@chrony.tuxfamily.org.


--
To unsubscribe email chrony-users-requ...@chrony.tuxfamily.org with "unsubscribe" in the subject. For help email chrony-users-requ...@chrony.tuxfamily.org with "help" in the subject.
Trouble?  Email listmas...@chrony.tuxfamily.org.

Reply via email to