News for hackers. Stuff that matters.
Re:CockroachDB 1.0 by newman314 on Wednesday May 10, 2017 @09:00PM (#14313154)
Interesting. I wonder if anyone has documented any best practices for timekeeping in VMs.

VMware has this but it does not appear to have been updated in a while. https://kb.vmware.com/selfservice/microsites/search.do?langu...

Re:CockroachDB 1.0 by gerdesj on Thursday May 11, 2017 @09:04AM (#14315661)
I run a lot of VMware:

* Set the esxis to have five external sources

* Search fwenable-ntpd (https://www.v-front.de/2012/01/howto-use-esxi-5-as-ntp-serve...) and download the .vib (do a security audit on it - its a zip file I think - to ensure it is what you think it is). Install the .vib which simple adds a ntp daemon option to the firewall ports. This works on v6.5

* Run ntpd on Linux VMs, pointed at the hosts with the local clock fudge as a fallback

* For Windows VMs in a domain, set the AD DC with PDC emulator role to sync its clock to the host via the VM guest tools, leave the rest alone

* On your monitoring system make sure that it has an independent list of five sources and use plugins like ntp-peer for ntpds and ntp-time for Windows (Nagios/Icinga etc)

With the above recipe, ntpq -p <host> shows offsets less than 1 ms across the board for ntpds after stabilising.

Re:CockroachDB 1.0 by newman314 on Thursday May 11, 2017 @03:22PM (#14318737)
Hijacking my own thread:

I don't suppose anyone knows how to make a Windows NTP server permit queries? Googling does not seem to reveal anything insightful. I know how to do this for ntpd but am stuck with dealing with a Windows NTP server right now.

Re:CockroachDB 1.0 by andy_ppp on Wednesday May 10, 2017 @11:27PM (#14313657)
Why does VM ware emulate the hardware clock rather than giving (possibly slightly debounced) access to the real system clock?
Re:CockroachDB 1.0 by koffiezet on Thursday May 11, 2017 @12:07PM (#14317126)
I suppose for vMotion purposes. A VM is not tied to a physical machine.