ntp question


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers ntp question
# 1  
Old 09-15-2011
ntp question

my server ntp point to 2 ntp servers; however, their clock are not sync due to mistake.

I found it is interesting that my server sync both time servers in round-robin, that +47s and -47 per ~10 mins

why sync in round-robin? not take the prefer one

thx


Code:
# ntpq -pn
     remote           refid      st t when poll reach   delay   offset  jitter
==============================================================================
 127.127.1.0     .LOCL.          10 l   50   64  377    0.000    0.000   0.001
+172.21.100.1    .LOCL.    4 u  827 1024  377    1.149   -8.256   3.874
*172.21.100.5    .LOCL.    4 u  366 1024  377    1.165  47005.0   5.302


Last edited by pludi; 09-15-2011 at 07:45 AM..
# 2  
Old 09-15-2011
The simple answer is: one time server is not REALLY preferred. If ntp has access to multiple servers it samples all of them, trying to get the best estimate of current time.

Google for "ntp algorithm" if you want details.

And. Fix your timeservers. +/- 47s is bad in a production environment. Just ask your legal dept.
# 3  
Old 09-15-2011
Also both time servers are at stratum 4 which implies your timeserver is at stratum 5. You really should try and find time servers will at least 1 lower stratum and less delay.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Red Hat

Ntp client sync with local over ntp server

Hi, I have two ntp servers in my cluster and I want all the nodes in my cluster to sync with either of the ntp servers or just one. Unfortunately it keep rotating the sync, between my ntp server 1, ntp server 2 and local. Is there anyway I can change the sync to avoid local? # ntpq -p ... (3 Replies)
Discussion started by: pjeedu2247
3 Replies

2. HP-UX

Setting up NTP HP-UX clients from solaris NTP server

Hi I wonder if its possible to setup NTP clients running HP-UX o.s. from a solaris 10 NTP server? FR (3 Replies)
Discussion started by: fretagi
3 Replies

3. AIX

Question on NTP and Time sychronization

I want to update the ntp.conf file on different client AIX servers to so they may have to correct ntp SERVERname info. In a few words, the clients server should have the correct NTP server name. How can I update the NTP clients and not have time synchronization problem. How can I update client... (3 Replies)
Discussion started by: jesifra
3 Replies

4. Linux

How often does Linux NTP server update its time with the external NTP server?

All here, thank you for listening. Now I've set up a Linux NTP server by adding a external windows NTP server in /etc/ntp.conf. Then I start the ntpd daemon. But how often does the Linux NTP server update its time with the external NTP server? I've looked up everywhere but found no information... (1 Reply)
Discussion started by: MichaelLi
1 Replies

5. UNIX for Advanced & Expert Users

NTP Problem

Hello every one i want to setup a ntp on sco unix 5.0.6 and i don't have any time server how can i do this with local time (1 Reply)
Discussion started by: kaydream
1 Replies

6. Solaris

Ntp

Hello I use Solaris 10 and I have NTP packages arlrady installed pkginfo | grep -i ntp system SUNWntpr NTP, (Root) system SUNWntpu NTP, (Usr) How to configure NTP? thanks (2 Replies)
Discussion started by: melanie_pfefer
2 Replies

7. Solaris

Question about NTP

Hi i have question about NTP Client OS: Solaris 10 (11/06) I'm create /etc/inet/ntp.conf and remove /etc/inet/ntp.client In ntp.conf : server 10.0.0.1 server 10.0.0.2 # svcadm enable ntp # svcs -a | grep ntp online 12:48:16 svc:/network/ntp:default # ntpq ntpq>... (1 Reply)
Discussion started by: jess_t03
1 Replies

8. Solaris

ntp server and ntp client

All, How do you set a Solaris 9 server which received ntp updates from a ntp server to broadcast them on a local subnet. I have created a /etc/inet/ntp.conf file to receive the updates from a server on network and need to make this server become like a ntp relay from the main server. Any... (1 Reply)
Discussion started by: bubba112557
1 Replies

9. IP Networking

Ntp

How can I install ntp on AIX (4.3-5.1) ? thnx (1 Reply)
Discussion started by: Gismo
1 Replies

10. UNIX for Advanced & Expert Users

NTP and 11.i .....

Hi there! Does anybody know if HP-UX 11.i supports NTP? If yes, what version on NTP should be used? Thanx (1 Reply)
Discussion started by: penguin-friend
1 Replies
Login or Register to Ask a Question