Using NTP in VMware Virtual Machine

Timekeeping on Linux VMware guests can be a is difficult to handle and frustrating. This post shows the various settings required to make things work. More information can be found at http://kb.vmware.com/kb/1006427.

VMware recommends using NTP and turning off VMware Tools periodic time synchronization in the guest. 


To turn off Time Synchronization between Virtual machine (Guest) and Host (ESX server) , there are three options:


  1. Set tools.syncTime = "False" in the configuration file (.vmx file) of the virtual machine.
    OR
  2. Deselect Time synchronization between the virtual machine and the host operating system in the VMware Tools toolbox GUI of the guest operating system.
  3. OR
  4. Run the vmware-guestd --cmd "vmx.set_option synctime 1 0" command in the guest operating system.
To work properly in a VM, some vendor kernels require certain kernel parameters. This will work for in  SLES and RHEL..

Share this

Related Posts

Previous
Next Post »

2 comments

Write comments
Anonymous
April 5, 2011 at 12:12 AM delete

Good one, cheers mate!

Reply
avatar
April 5, 2011 at 6:43 PM delete

Thank you for the visit and comment..!

Reply
avatar

What do you think about this Article? Add your Opinion..! EmoticonEmoticon