From owner-freebsd-questions@FreeBSD.ORG Thu May 3 13:53:25 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 80CEE16A409 for ; Thu, 3 May 2007 13:53:25 +0000 (UTC) (envelope-from d.hill@yournetplus.com) Received: from duane.dbq.yournetplus.com (duane.dbq.yournetplus.com [65.124.230.214]) by mx1.freebsd.org (Postfix) with ESMTP id 5DC4813C4C1 for ; Thu, 3 May 2007 13:53:25 +0000 (UTC) (envelope-from d.hill@yournetplus.com) Received: from duane.dbq.yournetplus.com (duane.dbq.yournetplus.com [192.168.1.10]) by duane.dbq.yournetplus.com (Postfix) with ESMTP id A418C28F85F for ; Thu, 3 May 2007 13:53:24 +0000 (UTC) Date: Thu, 3 May 2007 13:53:24 +0000 (UTC) From: Duane Hill X-X-Sender: d.hill@duane.dbq.yournetplus.com To: freebsd-questions@freebsd.org In-Reply-To: <511300DD-22CA-464A-814B-C5398CB93483@goldmark.org> Message-ID: <20070503135134.B85770@duane.dbq.yournetplus.com> References: <20070503014137.I3544@duane.dbq.yournetplus.com> <511300DD-22CA-464A-814B-C5398CB93483@goldmark.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Subject: Re: Time Synchronizing Between Two Servers X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 May 2007 13:53:25 -0000 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.