Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 348
  • Last Modified:

Local (Private Network) NTP server takes to long to synchronize

Hi,

i am setting up a private network with an NTP server.  The NTP server (running on Redhat ES 3) runs, but it takes up to 15 minutes to get from Stratum 16 to Stratum 2  (ntptrace localhost)   At this point NTP clients can syncronize.  But this is too long.  Can I reduce that time somehow?
0
DanRaposo
Asked:
DanRaposo
  • 3
  • 2
1 Solution
 
pjedmondCommented:
No you shouldn't.

Because of the way the synchonise process works, there are loads of calculation going on in order to calculate the clock drift, and if you forceable shorten it, then the accuracy goes out the window.




If you desperately need to shorten it (for testing purposes only as this messes up the accuracy completely), you can configure it so that it only uses the hw clock as it's reference and then it can be Stratum 2 immediately if you wish.
0
 
pjedmondCommented:
ntp clients shouldn't need to synchronise more than once an day after their drift has been calculated.

Do you *really* need faster synchronisation?
0
 
DanRaposoAuthor Commented:
This isn't a real live system.  This is a demo stystem and what I am trying to do is not force them to wait 15 minutes to turn the client on.  The lient is an embedded linux app and it will have a problem if the time server is not avialble when starting up.   We do not need accurate time in this instance, what we need is a timer server to start the embedded linux app.
0
 
DanRaposoAuthor Commented:
How can I sync it to hwclock?
0
 
pjedmondCommented:
ntp.conf needs to contain the following line, and no other servers:

server  127.127.1.0     # local clock


HTH:)
0

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now