Re: Synching to a Legacy System as an External Clock Reference



michael.antinucci@xxxxxxxx wrote:
Greetings!



Here is the problem I am trying to solve:



I have an old legacy external system that I need to synchronize with
that sends custom protocol UDP packets containing a single field in
the packet that contains the legacy system's current clock time (in
milliseconds). The current clock time starts at 0 when the system
boots and increments forever thereafter. The frequency of this message
is at least every 10 seconds, not 1 PPS like I would like.



My internal system is a large scale distributed Linux-based NTP-
synchronized (down to 1 millisecond resolution) system. I have a
single NTP server that all the other nodes in my internal system
synchronize to. My internal system's NTP server is not currently
synchronized to anything else and is operating as the "master".



My hope is to have my internal system's NTP server receive the 10
second clock pulses from the old legacy system over UDP and have my
internal system's NTP server synchronize with it. Is this possible?
Any other ideas?



I read this fine article (which I think is the path to take) but I
need a clearer explanation on what to do.



http://www.ee.udel.edu/~mills/ntp/html/extern.html



Any help would be greatly appreciated!


I think that, in the article you refer to, Dr. Mills is referring to a system or a hardware clock that actually knows what time it is!

Your external system has no clue what time it is as we understand it. It just ticks periodically and the period is apparently "approximately ten seconds"

Your external system apparently does not run speak the NTP protocol. As matters stand, there is no way you could use NTP to synchronize to that server nor can I see why it might be worth the effort if you could!

NTP was intended to be hierarchical with an atomic clock at the peak of the hierarchy. A system that gets it's time directly from that atomic clock is at "stratum 1". Any system or device that gets time from a stratum 1 device is at stratum 2 and so on.

What problem are you trying to solve here? Since your internal systems are already synchronized using NTP, it should be fairly trivial to install ntpd on the external system and get it synchronized too.

.



Relevant Pages

  • Re: Local NTP for 5 Subnets
    ... we have ~50 PC's in 5 Subnets and want to synchronize them to a local ... NTP Server. ... I've installed the ntp Package on Debian and configured it like ... on Windows something like "timecheck refused: Peer stratum lower than ...
    (comp.protocols.time.ntp)
  • TR: Command NTP
    ... I have a terminal MC75 (Motorola) and I want to create an application to ... synchronize the clock with a NTP server. ...
    (comp.protocols.time.ntp)
  • Re: Let ntp server not synchronize time from other servers
    ... Is there any way to configure my NTP server *not* to synchronize time ... that means the clients can't update their time. ... we have some customers who need to run their machines on TAI ...
    (comp.protocols.time.ntp)
  • Synching to a Legacy System as an External Clock Reference
    ... the packet that contains the legacy system's current clock time (in ... synchronize to. ... My internal system's NTP server is not currently ...
    (comp.protocols.time.ntp)