Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Jan 2009 14:40:35 -0000
From:      "Barry Byrne" <barry.byrne@wbtsystems.com>
To:        <scuba@centroin.com.br>, <freebsd-questions@freebsd.org>
Subject:   RE: Time skew 
Message-ID:  <6AE7A3944D9C4376831C8520D021453F@wbt.wbtsystems.com>
In-Reply-To: <alpine.BSF.2.00.0901141112490.41980@trex.centroin.com.br>
References:  <alpine.BSF.2.00.0901141112490.41980@trex.centroin.com.br>

next in thread | previous in thread | raw e-mail | index | archive | help
 
> -----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





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6AE7A3944D9C4376831C8520D021453F>