Linux server time getting out of sync frequently.

John Horne john.horne at plymouth.ac.uk
Tue May 27 22:04:08 UTC 2008


On Tue, 2008-05-27 at 14:50 -0700, Josh Miller wrote:
> John Horne wrote:
> >> as i recall, there are a few parameters you can set within the vmware app
> >> for the guest os, in order to sync the timing, and to stop the skew from
> >> occuring...
> >>
> >> i think you might also have to modify the kernel startup attributes.
> >>
> > The only solution I have found to work is to stop NTP on the guest and
> > simply run ntpdate (getting the time from other reliable server) every
> > hour or so via cron. The only 'solution' I have not tried is rebuilding
> > the kernel. Suggestions like use the PIT time source on the kernel
> > startup line may well improve the timekeeping, but it still loses time.
> 
> Hi, coming into this late, but I have been very successful with the 
> following solution:
> 
> 1. make sure all ESX hosts are syncing time via NTP with a reliable source
> 2. disable NTPD in all guests
> 3. set each guest to sync time via VMware tools by setting 
> tools.SyncTime=TRUE
> 4. in each guest, on the kernel line in grub.conf, set clock=pit and reboot
> 
Tried it, but didn't work. The guests still lost time (although the host
was still accurate).


John.

-- 
---------------------------------------------------------------
John Horne, University of Plymouth, UK  Tel: +44 (0)1752 587287
E-mail: John.Horne at plymouth.ac.uk       Fax: +44 (0)1752 587001




More information about the redhat-list mailing list