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:
/etc/ntp.conf
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:
/etc/init.d/ntpd restart
Then I check the ntp synch and the system time.
ntpq -p
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:
vSphere client time settings
Any suggestions?
LVL 2
itniflAsked:
Who is Participating?
 
Richardson PortoSenior Infrastructure SpecialistCommented:
There are some issues to sync time between ESXi and Windows Server NTP servers, and some workaround are provided on the following KB article: https://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1035833

Have you already checked that KB ?
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
have you tried an internet time source ?
0
 
itniflAuthor Commented:
Yes, I was missing 'tos maxdist 30' in /etc/ntp.conf
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.