ntp across time zones


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users ntp across time zones
# 1  
Old 04-10-2002
Question ntp across time zones

I've been tasked to implement ntp on my SCO Unix servers. I have over 600 servers spread across the US in different time zones. Each remote server has network connectivity to a main server here, through their local ISP. (That's how we currently deliver mail to them).

My question is, how can I implement ntp to keep accurate time across different time zones? I was wanting to send out one ntp.conf file to each server, but I believe that will make the time on a server in California the same as the time on a server in New York. Is this correct? Does the server not compensate for the time based upon the time zone it is configured for?

I appreciate your responses and your effort in helping me understand this.
# 2  
Old 04-10-2002
Most machines store their internal clock in Universal time (UTC) a.k.a GMT. The local time is then configured via a timezone setting, commonly with an environmental variable named TZ. In other words, it should not matter which ntp source your machines use, if their timezone information is correct they will all keep the correct time.

If you have 600 machines to synchronize, you may wish to setup one master time server which is under your control, have them sync to that one and then have it in turn sync to a stratum-1 server. (i.e. distribute the load)
# 3  
Old 04-10-2002
Thank you PxT for your reply.

That is exactly what I had planned on doing with regards to having my 600 servers look at one server here, and that server looking at the stratum 1 server. My concern was the timezone differences.

Thanks again for your assistance.
# 4  
Old 04-11-2002
Data Losing My Time

Yesterday I posted a thread about ntp configuration and the effects of servers located in different timezones. After configuring ntp on my server, today I came in to discover that my the time on my server is now one and a half hours off. What is causing this problem?

The following is my /etc/ntp.conf file:

#
# Peer configuration file for server
#
peer 128.252.19.1 #navobs1.wustl.edu
peer 198.147.38.140 #chrivh40.cch.com
peer 127.127.1.1 #local clock
fudge 127.127.1.1 stratum 10

Your assistance is greatly appreciated!!
# 5  
Old 04-11-2002
Can you verify that the output of "date -u" is incorrect. That command should output in Universal time (GMT).
# 6  
Old 04-11-2002
PxT,

date command displays time as 10:47:01 CDT 2002
date -u command displays time as 15:47:02 GMT 2002

It is currently 11:17 CDT here in Kansas City.

Any ideas?
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Ntp : How is the synchronization time scheduled?

Hello, one of my clients has the following task for me: To write a Perl script that checks, whether ntp is active on a particular AIX or Linux box. Obviously the last synchronization is logged in the file ntp.log So, my task would be find out, when the synchronization SHOULD have taken... (1 Reply)
Discussion started by: Bloehdian1
1 Replies

2. AIX

NTP time problem

I got an ntp time problem on AIX server. os version is AIX7.1 OS LEVEL 7.1.0.0 i got below output,when i run the below command bash-3.2# ntpdate -dv XXXXXXXXXXXXXXXXXXXXXXXX 4 Dec 12:50:49 ntpdate: 3.4y transmit(xxxxxxxxx) receive(xxxxxxxxx) transmit(xxxxxxxx) receive(xxxxxxxxx)... (9 Replies)
Discussion started by: murali969
9 Replies

3. Red Hat

ntp time synchronization

hello all,, am trying to do a time synchronization between a ntp server and a client, but facing some problems in doing so: i run the ntpdate in debug mode and this is what i got. please help me out.. # ntpd -d -u 172.22.1.207 ntpd 4.2.2p1@1.1570-o Sun Aug 28 19:21:03 UTC 2011 (1)... (1 Reply)
Discussion started by: rahul11c
1 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. Solaris

NTP time sync in Solaris 10

Ok, I have 4 production systems. There is one NTP server for all four systems. In each system there is one Solaris 10 box that points to that NTP server. All of the other machines in the system point to the Solaris 10 machine to get their time sync. All four Solaris 10 machines have essentially... (2 Replies)
Discussion started by: DeCoTwc
2 Replies

6. AIX

NTP - with time difference

We have configured most of 1200 servers with an NTP server. For the rest of the servers, I have a strange requirement. I want to synchronize them with NTP time with a lag of 15 minutes. Is it possible ? If yes How ? (0 Replies)
Discussion started by: shauche
0 Replies

7. HP-UX

NTP time

Is anyone familiar with adding NTP timing to a HPUX 10 OS? Thanks Brian (2 Replies)
Discussion started by: breigner
2 Replies

8. UNIX for Dummies Questions & Answers

time zones

Hi all, this is my first post so I hope someone can help me. I am currently putting code into a script that is run through the cron on a unix box where the date/time is set to EDT or Eastern Daylight Time but I am in Central Standard time. The program I am adding code to runs every hour and I put... (1 Reply)
Discussion started by: ldgriess
1 Replies

9. UNIX for Dummies Questions & Answers

TIME SYNC (NTP)

Is there a utility which offers the ability to utilize NTP to sync time on machine. If so please point to man page or web site (3 Replies)
Discussion started by: SmartJuniorUnix
3 Replies
Login or Register to Ask a Question