Hi,
I have assembled a proxmox environment where I have 3 Windows 2019 VMs running. One of them was promoted to DC, and for some reason the server time started to be off by a few minutes.
Running the command:
Returns that the source is "Local CMOS Clock" on that DC server.
On the other VMs (not DCs), that were cloned out of this one (before DC promotion), they state that the source is "time.windows.com,0x8".
Running the command:
Returns on all VMs that the property "NtpServer" is "time.windows.com,0x8". The property "Type" however, on the DC server with time sync problem, is reported as NT5DS, while for the others (non-DCs) it is NTP.
I was trying to understand where I should change what, but I'm thinking that, being a VM, the DC server that is reporting as "Local CMOS Clock" may be getting its time updates from proxmox host.
Logging into proxmox console, I checked with "date" command that it has the same time the DC server is reporting.
Am I correct to think that proxmox it the source for this time update?
How can I solve this? I mean, is proxmox getting from CMOS clock, or from an NTP server (at least a default one)?
I'm thinking that only changing the system date from command line should not be enough, as there may be some time sync that may revert the value, at least on a system restart.
My "timesyncd.conf" file was not changed from initial installation and only contains commented lines:
Checking services:
Thank you for your help.
zecas
I have assembled a proxmox environment where I have 3 Windows 2019 VMs running. One of them was promoted to DC, and for some reason the server time started to be off by a few minutes.
Running the command:
Code:
w32tm /query /status
Returns that the source is "Local CMOS Clock" on that DC server.
On the other VMs (not DCs), that were cloned out of this one (before DC promotion), they state that the source is "time.windows.com,0x8".
Running the command:
Code:
w32tm /dumpreg /subkey:parameters
Returns on all VMs that the property "NtpServer" is "time.windows.com,0x8". The property "Type" however, on the DC server with time sync problem, is reported as NT5DS, while for the others (non-DCs) it is NTP.
I was trying to understand where I should change what, but I'm thinking that, being a VM, the DC server that is reporting as "Local CMOS Clock" may be getting its time updates from proxmox host.
Logging into proxmox console, I checked with "date" command that it has the same time the DC server is reporting.
Am I correct to think that proxmox it the source for this time update?
How can I solve this? I mean, is proxmox getting from CMOS clock, or from an NTP server (at least a default one)?
I'm thinking that only changing the system date from command line should not be enough, as there may be some time sync that may revert the value, at least on a system restart.
My "timesyncd.conf" file was not changed from initial installation and only contains commented lines:
Code:
~# cat /etc/systemd/timesyncd.conf
# This file is part of systemd.
#
# systemd is free software; you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation; either version 2.1 of the License, or
# (at your option) any later version.
#
# Entries in this file show the compile time defaults.
# You can change settings by editing this file.
# Defaults can be restored by simply deleting this file.
#
# See timesyncd.conf(5) for details.
[Time]
#NTP=
#FallbackNTP=0.debian.pool.ntp.org 1.debian.pool.ntp.org 2.debian.pool.ntp.org 3.debian.pool.ntp.org
#RootDistanceMaxSec=5
#PollIntervalMinSec=32
#PollIntervalMaxSec=2048
Checking services:
Code:
~# systemctl status systemd-timedated.service
● systemd-timedated.service - Time & Date Service
Loaded: loaded (/lib/systemd/system/systemd-timedated.service; static; vendor pres
Active: inactive (dead)
Docs: man:systemd-timedated.service(8)
man:localtime(5)
https://www.freedesktop.org/wiki/Software/systemd/timedated
Code:
~# systemctl status systemd-timesyncd.service
● systemd-timesyncd.service - Network Time Synchronization
Loaded: loaded (/lib/systemd/system/systemd-timesyncd.service; enabled; vendor pre
Drop-In: /usr/lib/systemd/system/systemd-timesyncd.service.d
└─disable-with-time-daemon.conf
Active: active (running) since Thu 2020-12-10 08:52:47 WET; 1 months 16 days ago
Docs: man:systemd-timesyncd.service(8)
Main PID: 738 (systemd-timesyn)
Status: "Idle."
Tasks: 2 (limit: 4915)
Memory: 1.2M
CGroup: /system.slice/systemd-timesyncd.service
└─738 /lib/systemd/systemd-timesyncd
Warning: Journal has been rotated since unit was started. Log output is incomplete or
Thank you for your help.
zecas