[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

Doubts about NTP Server

Posted on 2006-11-16
6
Medium Priority
?
592 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
6 Comments
 
LVL 48

Expert Comment

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

Author Comment

by:rdashokraj
ID: 17961168
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
ID: 17961180
I'm leaving for the day now, will check your response approx. after 8 hours. Thanks.
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
LVL 48

Accepted Solution

by:
Tintin earned 1200 total points
ID: 17961319
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 800 total points
ID: 17961950
>>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
ID: 17965904
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

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

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

Let's say you need to move the data of a file system from one partition to another. This generally involves dismounting the file system, backing it up to tapes, and restoring it to a new partition. You may also copy the file system from one place to…
Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
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…
Suggested Courses

650 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