[ntp:questions] dynamic stratum changes
Paul.Szuch at gd-ms.ca
Tue May 9 14:56:46 UTC 2017
Hi, I'm setting up ntp on an isolated net.
Some of our linux machines run a custom time protocol that synchronizes the kernel to GPS time to sub millisecond accuracy.
I've got my ntpd.conf using the local oscillator (127.127.1.1) clock at stratum 1.
I'm looking to see what I should do when my custom time protocol has an error and can't synchronize time anymore.
I would like to degrade my stratum so that other machines will choose a better source of time, depending on how bad my custom protocol fails.
I'd rather not kill and restart ntpd, as that just puts load on the machine for no good reason, and seems very inelegant.
I looked into ntpdc "fudge" command, but it doesn't support the stratum option.
Is there some elegant way of making the local ntpd change its reported stratum?
Do I have to customize the local oscillator driver to input the health status?
More information about the questions