Solved

ESXi NTP client time synch is not working

Posted on 2016-07-19
3
108 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 120
ID: 41719840
have you tried an internet time source ?
0
 
LVL 10

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

Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this step by step tutorial with screenshots, we will show you HOW TO: Enable SSH Remote Access on a VMware vSphere Hypervisor 6.5 (ESXi 6.5). This is important if you need to enable SSH remote access for additional troubleshooting of the ESXi hos…
When rebooting a vCenters 6.0 and try to connect using vSphere Client we get this issue "Invalid URL: The hostname could not parsed." When we get this error we need to do some changes in the vCenter advanced settings to fix the issue.
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…

735 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