Solved

Doubts about NTP Server

Posted on 2006-11-16
6
581 Views
Last Modified: 2013-12-27
Hello Experts,

I want my Solaris/Linux server to have correct time always. How can I do it using NTP?

Suppose if I want my server to have the correct PST time always, how can I do that? Do I need to synchronize my server to any Time server?

NTPQ result of a server is shown below. What this tells?

ntpq> peers
     remote           refid      st t when poll reach   delay   offset    disp
==============================================================================
 NTP.MCAST.NET   0.0.0.0         16 -    -   64    0     0.00    0.000 16000.0
*tick.ucla.edu   .PSC.            1 u  245  512  377    19.23   -1.241    1.33
-ntp-nasa.arc.na .GPS.            1 u  354 1024  377     8.12   -2.358    0.50
+time.nist.gov   .ACTS.           1 u  269  512  376    41.24    0.807    3.56
-time-a.nist.gov .ACTS.           1 u  942 1024  377    79.03   -6.712   25.88
-tick.usnogps.na .USNO.           1 u  697 1024  377   119.96   27.760    1.82
-egr-dns-1.egr.u nist1.symmetric  2 u   33 1024  377    44.54    5.119    8.00
+louie.udel.edu  NAVOBS1.MIT.EDU  2 u  231  512  377    82.35   -1.123    1.48
ntpq> quit
> xntpdc



Thanks,
Ashok
0
Comment
Question by:rdashokraj
  • 3
  • 2
6 Comments
 
LVL 48

Expert Comment

by:Tintin
Comment Utility
You already have NTP setup and working correctly, so what's the problem?
0
 

Author Comment

by:rdashokraj
Comment Utility
Tintin,  I don't have much idea about how NTP works. The Setup what is shown in my result is done by someone.

Could you please give me a brief idea about how to setup a NTP Server assuming that it needs to have a correct PST time?

Then in the above given result, which server is acting as the NTP Server? I used 'ntpq' command by looking at some stuff in the Net.

0
 

Author Comment

by:rdashokraj
Comment Utility
I'm leaving for the day now, will check your response approx. after 8 hours. Thanks.
0
What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 
LVL 48

Accepted Solution

by:
Tintin earned 300 total points
Comment Utility
Firstly, NTP keeps the system time in sync.  This has nothing to do with timezones like PST, which are just an offset from UTC.

In the ntpq output, it shows your NTP configuration uses multicast address (NTP.MCAST.NET) to obtain a list of various NTP servers.  You should always reference at least 2 NTP servers if possible in case one of the NTP servers is unavailable or gets totally screwed for some reason.  NTP uses come complex calculations when using multiple sources to ensure the most accurate time.

The st column, refers to stratum.  The lower the number, the higher the accuracy.  The stratum 1 servers on the Internet that are provided by NASA and similar places use atomic clocks or Satellite to obtain the time, so they are very, very accurate.

The other columns refer to various stuff like the offset of your local clock from the NTP servers.

man ntpq

for more details.
0
 
LVL 38

Assisted Solution

by:yuzh
yuzh earned 200 total points
Comment Utility
>>Tintin,  I don't have much idea about how NTP works. The Setup what is shown in my result is done by someone.

Please have a look at the NTP FAQ and How To:
http://www.eecis.udel.edu/~ntp/ntpfaq/NTP-a-faq.htm

and the following Sun NTP docs:
http://www.sun.com/blueprints/0701/NTP.pdf
http://www.sun.com/blueprints/0801/NTPpt2.pdf
0
 

Author Comment

by:rdashokraj
Comment Utility
Tintin, Thanks for your explanation. Feel like I got the concept but need to learn more about it.

Yuzh, Wonderful documents !! Thanks so much.
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
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…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

728 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now