[SOLVED] QEMU/KVM clocks

Apr 26, 2018
111
10
23
Does Proxmox control the internal internal clock of QEMU/KVMs?

I also use VirtualBox and that software does control the clock of the VM. Hence my question if Proxmox does likewise.

I found information about clocks on QEMU/KVM systems, but I am unable to determine whether syncing the clock to a time server inside the VM is required.

Thanks again. :)
 
Hello upnort,

IIRC ProxMox is preconfigured OOB to timesync to time server. Any VM/CT created will use the same time as the ProxMox server. So make sure you set the correct timezone for your Proxmox server under Proxmox gui > datacenter > yourproxmoxservername> time.

https://pve.proxmox.com/wiki/Configuration_of_Time_Syncronization_(NTP)

Some useful commands:

# timedatectl status
(view time sync status)

and

# cat /etc/systemd/timesyncd.conf
(view current and fallback NTP servers)

There is information about the "use local time for rtc" VM hardware option here (by default it's off, and I usually don't mess with this setting)
https://forum.proxmox.com/threads/how-local-time-for-rtc-affect-on-the-vms.11830/

For me personally I still setup an external timeserver on Windows Server VM's
https://timetoolsltd.com/time-sync/how-to-synchronize-microsoft-windows-to-a-ntp-server/

regards! :)
 
  • Like
Reactions: Hollis