Home News Reminder, Timekeeping in VMware Virtual Machines

Reminder, Timekeeping in VMware Virtual Machines

by Roger Lund

Today, It seemed all of my workstations on my network were behind a few minutes. After some digging, I found some of my Virtual Domain Controller’s where behind as well. Hmm, I checked the following settings.

I then did some research, to refresh my mind on the way’s to sync time.

Timekeeping in VMware Virtual Machines 


This is a great complete guide.

Timekeeping best practices for Windows

KB Article: 1318
This article presents best practices for achieving accurate timekeeping in Windows Guest operating systems. These recommendations include a suggested configuration for time synchronization in the guest and on the host.”

Timekeeping best practices for Linux guests

KB Article: 1006427
This article presents best practices for Linux timekeeping. These recommendations include specifics on the particular kernel command line options to use for the Linux operating system of interest. There is also a description of the recommended settings and usage for NTP time sync, configuration of VMware Tools time synchronization, and Virtual Hardware Clock configuration, to achieve best timekeeping results.



I also found the following:

Time in virtual machine drifts due to hardware timer drift

KB Article: 1006072

Time Synchronization in Guests Deployed from OVF Template

KB Article: 1014038


Troubleshooting timekeeping issues in Linux guest operating systems

KB Article: 1011771

Time in a Linux 2.6 guest operating system runs faster than real time due to lost tick overcompensation

KB Article: 1006113

KB Article: 1189


And the following for configuration:

Follow your Documentation guides at http://www.vmware.com/support/pubs/ Or Here for vSphere.

Installing and Configuring NTP on an ESX host

KB Article: 1339
This article provides steps to install and configure NTP on an ESX 2.x and 3.0.x host.”



The vicfg-ntp command supports specifying the NTP (Network Time Protocol) server for an ESX/ESXi host. Some protocols, such as Kerberos, must have accurate information about the current time”


———
In my case, I had not changed my NTP server, after I moved.

So then , how do you update your clocks on your workstations?


How to synchronize the time with the Windows Time service in Windows XP

This article describes how to synchronize the time on your computers by using the Windows Time Service. 


In Microsoft Windows XP, the Windows Time service automatically synchronizes your computer’s internal clock with other clocks in the network. The time source for this synchronization varies, depending on whether the computer is joined to an Active Directory domain or to a workgroup.”


That seemed to fix any workstations that didn’t automatically update, or if someone didn’t want to wait for it to auto update.


Roger L.

You may also like