Go Back   DaemonForums > FreeBSD > FreeBSD General

FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below.

Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1   (View Single Post)  
Old 29th August 2008
Yuka Yuka is offline
Complete BSD nubcake
Join Date: Jul 2008
Posts: 31
Default Need help with NTP + VMWare

I have an install of FreeBSD 7.0 for my webserver running on a VMWare platform. (VMWare Server, will be VMWare ESXi in the near future.)

The problem is that the time is very slow.... 3 to 4 seconds in the real world is 1 second on the FreeBSD box... VMWare tools doesn't support time sync with the host on FreeBSD. I've tried setting kern.hz=100 but I didn't notice much of a change.

I set the time earlier today, at roughly 10:00am EST... it is now 1:19 pm EST but the server reads 11:20am EST.

This isn't good for a webserver.

I'm also new to FreeBSD and 'nix in general.

I'm thinking some sort of ntpd implementation may be the best route. Time doesn't need to be 100% accurate at all times since the websites that this server hosts aren't the most mission critical things but I'd like the time to be within 5 minutes of the actual time.

If I kick off ntpd -g via cron when the system boots, that should handle the issue, but how do I make ntpd check the time every X minutes. I'm not worried about network traffic as the box sits on the same copper gigabit switch as my NTP server. I'm thinking if I set it to check every minute it should help me out quite a bit in keeping proper time.

Can anyone give me a hand or some insight that might help fix the issue?
Reply With Quote

ntp, vmware

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
FreeBSD as firewall/router on VMware ESXi Bruco FreeBSD General 12 6th December 2008 08:37 PM
import physical freeBSD into VMWARE (ESX) server as a vServer ccc FreeBSD General 6 3rd October 2008 07:04 AM
FreeBSD 6.1, VMWare Server , and ESX Diceman FreeBSD Installation and Upgrading 5 3rd August 2008 02:42 AM
How to install vmware player in Ubuntu 7.10 or 8.04 tutorial. unixdude Other BSD and UNIX/UNIX-like 0 18th June 2008 10:23 PM
NIC-less FreeBSD and VMware Nirbo FreeBSD General 11 11th May 2008 05:34 AM

All times are GMT. The time now is 04:08 PM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick