From owner-freebsd-questions@FreeBSD.ORG Wed Jan 14 14:40:15 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 91E081065678 for ; Wed, 14 Jan 2009 14:40:15 +0000 (UTC) (envelope-from barry.byrne@wbtsystems.com) Received: from hermes.wbtsystems.com (87-198-244-212.ptr.magnet.ie [87.198.244.212]) by mx1.freebsd.org (Postfix) with ESMTP id 581998FC2A for ; Wed, 14 Jan 2009 14:40:14 +0000 (UTC) (envelope-from barry.byrne@wbtsystems.com) Received: from SUNYA (sunya.wbt.wbtsystems.com [10.12.1.112]) by hermes.wbtsystems.com (Postfix) with ESMTPA id 13451F7410; Wed, 14 Jan 2009 14:40:10 +0000 (GMT) From: "Barry Byrne" To: , References: Date: Wed, 14 Jan 2009 14:40:35 -0000 Message-ID: <6AE7A3944D9C4376831C8520D021453F@wbt.wbtsystems.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: Thread-Index: Acl2U2vRmjrzIM7GRUyfwI7wu1X2gAAAkG1Q X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 Cc: Subject: RE: Time skew 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: Wed, 14 Jan 2009 14:40:16 -0000 > -----Original Message----- > From: owner-freebsd-questions@freebsd.org > [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of > scuba@centroin.com.br > Hi All, > > I'm facing some strange behavior with an skew in the > system clock. > The hardware is a Dell PowerEdge 2950III, running two > instances of > FreeBSD 7.0-RELEASE-p5 - amd64 over an ESXi hipervisor. > To both were allocated 4 processors and 4 GB of RAM, > and dmesg for > both are identical. > I'm using clockspeed to synchronize the clock, but just one of > them is delaying the clock a lot. > The hardware clock is ok as far as the other virtual machine. > Where should I start to investigate? Marcelo, I've not used the ESXi hypervisor, but do use ESX 3.5 with FreeBSD, and the only way I've sucessfully kept FreeBSD servers in time, is to use either ntpdate or ntpd. Lately, I've found ntpd to be a better solution. Vmware have a KB article on the best way to configure ntpd on a virtual machine: http://kb.vmware.com/selfservice/microsites/search.do?cmd=displayKC&docType= kc&externalId=1339&sliceId=2&docTypeID=DT_KB_1_1&dialogID=14730824&stateId=0 %200%204678302 For what it's worth this is the ntp.conf I use, which gives me no trouble: tinker panic 0 restrict 127.0.0.1 restrict default kod nomodify notrap server time.server.ip Cheers, Barry