Solved

ESXi NTP client time synch is not working

Posted on 2016-07-19
3
51 Views
Last Modified: 2016-07-19
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?
0
Comment
Question by:itnifl
3 Comments
 
LVL 117
ID: 41719840
have you tried an internet time source ?
0
 
LVL 9

Accepted Solution

by:
Richardson Porto earned 500 total points
ID: 41720095
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
 
LVL 2

Author Closing Comment

by:itnifl
ID: 41720227
Yes, I was missing 'tos maxdist 30' in /etc/ntp.conf
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Last article we focus in how to VMware: How to create and use VMs TAGs – Part 1 so before follow this article and perform the next tasks, you should read the first article how to create the TAG before using them in Veeam Backup Jobs.
A safe way to clean winsxs folder from your windows server 2008 R2 editions
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
This Micro Tutorial walks you through using a remote console to access a server and install ESXi 5.1. This example is showing remote access and installation using a Dell server. The hypervisor is the very first component of your virtual infrastructu…

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now