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
Solved

ESXi NTP client time synch is not working

Posted on 2016-07-19
3
90 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 119
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

Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

Question has a verified solution.

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

In this article, I will show you HOW TO: Install VMware Tools for Windows on a VMware Windows virtual machine on a VMware vSphere Hypervisor 6.5 (ESXi 6.5) Host Server, using the VMware Host Client. The virtual machine has Windows Server 2016 instal…
This article explains how to install and use the NTBackup utility that comes with Windows Server.
This tutorial will show how to configure a single USB drive with a separate folder for each day of the week. This will allow each of the backups to be kept separate preventing the previous day’s backup from being overwritten. The USB drive must be s…
This video shows you how to use a vSphere client to connect to your ESX host as the root user. Demonstrates the basic connection of bypassing certification set up. Demonstrates how to access the traditional view to begin managing your virtual mac…

839 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