Best practice for system clock sync on KVM host

Posted by Tauren on Server Fault See other posts from Server Fault or by Tauren
Published on 2010-04-14T03:18:02Z Indexed on 2010/04/14 3:23 UTC
Read the original article Hit count: 395

Filed under:
|
|
|
|

I have an Ubuntu 9.10 server running as a KVM host with ntpd installed on it. The host system has the correct system time. At the moment I only have a single KVM guest, also Ubuntu 9.10 server. I do not have ntpd installed on it, and I just discovered the clock is about 6 minutes slow. It wasn't that way when it was installed about a month ago.

I thought that I only needed to keep the host clock synchronized and that the guests used the host clock. But maybe that is a memory from using OpenVZ. I believe the reasoning was related to only the host could modify the physical system clock.

Is running ntpd on both the host and all the guests the correct thing to do? Or is there something else that is preferred? How should I keep the guest clocks in sync?

© Server Fault or respective owner

Related posts about kvm

Related posts about virtualization