Solved

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

Posted on 2006-06-12
7
314 Views
Last Modified: 2013-12-16
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
Comment
Question by:DanRaposo
  • 3
  • 2
7 Comments
 
LVL 22

Expert Comment

by:pjedmond
ID: 16888595
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
 
LVL 22

Expert Comment

by:pjedmond
ID: 16888610
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
 

Author Comment

by:DanRaposo
ID: 16888924
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
 

Author Comment

by:DanRaposo
ID: 16889095
How can I sync it to hwclock?
0
 
LVL 22

Accepted Solution

by:
pjedmond earned 500 total points
ID: 16892365
ntp.conf needs to contain the following line, and no other servers:

server  127.127.1.0     # local clock


HTH:)
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Guacamole and browser performance 1 82
Install Predefined Certificate on Ubunto 4 37
Why isn't object file created? 6 57
Backup & Restore 3 54
Using 'screen' for session sharing, The Simple Edition Step 1: user starts session with command: screen Step 2: other user (logged in with same user account) connects with command: screen -x Done. Both users are connected to the same CLI sessio…
Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

786 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question