Time Synchronizing Between Two Servers

Duane Hill d.hill at yournetplus.com
Thu May 3 13:53:25 UTC 2007


On Thu, 3 May 2007, Jeffrey Goldberg wrote:

> On May 2, 2007, at 8:45 PM, Duane Hill wrote:
>
>> 
>> I have two servers that have to have their time synchronized between the 
>> two to within one second. What is recommended?
>> 
>> Currently, I have ntpd running on one and have the other synchronizing it's 
>> time off the first.
>
> ntp is the right way to do things.  You could set each server as an ntp peer 
> of the other.  That way.  And, as others pointed out, you could have one of 
> them use an external lower stratum (closer to reference servers) to sync 
> properly with the rest of the world which is useful if you want your logs to 
> match up properly with the rest of us.

Yes. I have the one server set to sync with the "world" and the other 
server syncs its time off the first. The two servers insert and update 
information in a MySQL table and one such piece if information is based on 
time. Everything we do here is all based on UTC.


More information about the freebsd-questions mailing list