Sharing Knowledge | System Admin Articles

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..


My Profile PhotoAbout the Author

I'm Parthiban, An UNIX System Admin by Profession. I'm Experienced in Linux/Unix System Administration and Scripting. I have done lot of work on the infrastructure Mgmt side in Linux, UNIX and Windows system administration, Hardware, Storage and Data center. I'm blogging since 2008.
Follow Me On Twitter or On Facebook

2 Comments for "Using NTP in VMware Virtual Machine"

Good one, cheers mate!

Thank you for the visit and comment..!

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

Back To Top