The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
Google UNIX.COM


UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Filesystem ownership with zones BG_JrAdmin SUN Solaris 1 04-04-2008 06:45 AM
Zones manoj.solaris SUN Solaris 2 08-30-2007 03:17 AM
Solaris Zones Sarccastik Dude UNIX for Advanced & Expert Users 7 12-14-2006 10:08 AM
time zones ldgriess UNIX for Dummies Questions & Answers 1 10-17-2001 07:16 AM

Closed Thread
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 04-10-2002
Registered User
 

Join Date: Feb 2002
Location: Kansas City, MO
Posts: 8
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.
Forum Sponsor
  #2  
Old 04-10-2002
PxT's Avatar
PxT PxT is offline
Registered User
 

Join Date: Oct 2000
Location: Sacramento, CA
Posts: 909
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
Registered User
 

Join Date: Feb 2002
Location: Kansas City, MO
Posts: 8
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
Registered User
 

Join Date: Feb 2002
Location: Kansas City, MO
Posts: 8
Unhappy 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
PxT's Avatar
PxT PxT is offline
Registered User
 

Join Date: Oct 2000
Location: Sacramento, CA
Posts: 909
Can you verify that the output of "date -u" is incorrect. That command should output in Universal time (GMT).
  #6  
Old 04-11-2002
Registered User
 

Join Date: Feb 2002
Location: Kansas City, MO
Posts: 8
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?
Google The UNIX and Linux Forums
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 09:16 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0