Link to home
Start Free TrialLog in
Avatar of itnifl
itniflFlag for Norway

asked on

ESXi NTP client time synch is not working

Problem: ESXi 5.5 NTP client is not getting NTP time from a Windows Server 2008 R2 that is set up as a NTP server via registry configuration. The NTP server configuration goes something like this here .

Firstly, here is the ntp.conf:
User generated image
Same problem if I use version 2 or if I specify no version at all.
Now I restart the ntpd service and check the log:
User generated image
Then I check the ntp synch and the system time.
User generated image
Obviously, the offset is huge and it is not getting better.

When I try synching time with Windows clients using w32tm /resync /force with the same NTP server as configured above, all works fine. I have tested by changing the time on the server, then synching the clients to the server. But this fails for the NTP client on the ESXi.

I tried disabling the firewall on the ESXi:
esxcli network firewall set --enabled false

Open in new window


Checked that the Firewall on the Windows 2008 R2 server was off in all its profiles.
Tested pinging the NTP server, it replied.

Everything should be OK, but the time is not synching on the ESXi.

Here is how looks like via the vSphere client:
User generated image
Any suggestions?
Avatar of Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)
Flag of United Kingdom of Great Britain and Northern Ireland image

have you tried an internet time source ?
ASKER CERTIFIED SOLUTION
Avatar of Richardson Porto
Richardson Porto
Flag of Brazil image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of itnifl

ASKER

Yes, I was missing 'tos maxdist 30' in /etc/ntp.conf