Failed to set the time via NTP Details – vCenter upgrade failed 6x Step-By-Step
Yesterday I had a scheduled maintenance to upgrade a vSphere environment from 6.5 to 6.7U2. This includes the upgrade from vCenter version 6.5 to 6 7U2C. Unfortunately I had a NTP error that caused the failure of the upgrade job. The deployment of the target (vCenter) appliance with the ISO file provided by VMware wasn’t the problem. The problem occurred in stage two and that’s migration phase.
The error message is very clear. The NTP server configured in the vCenter appliance is unreachable. The first test i did was trying to ping the NTP server from the vCenter appliance. i received ping replies back from the NTP server. Next step was testing the DNS name resolving with nslookup and that worked fine as well. With help from a network engineer, we found out that port 123 (NTP) was not open for the network block where the vCenter appliance resides in.
Configure the vCenter appliance to use the Host mode in the time synchronization settings on https://vcenter-appliance:5480. This will configure the host to take the time from the physical host. Make sure to have a correct date/time config on the host.
As you can see, we can now successfully complete stage 2 of the upgrade process.
After the upgrade, we tried to configure the same NTP server without any firewall changes. The vCenter reported back that the NTP server was not reachable.
Our network engineer have changed the firewall rule, to allow port 123 (NTP) on the VMware network block. The Edit Time Synchronization settings could be set without any downtime. More information about configuring NTP in the vCenter appliance can be found over here.
[New blog post] Build your own VCF 4.0.1 test lab with VLC. #vExpert #VMware #VCF https://vkernelblog.com/build-your-own-vcf-4-0-1-test-lab-with-vlc/
These cool stickers just arrived today! You can easily get them yourself. The only thing you need to do is deploy VCF with VLC and send a DM to @SDDCCommander. Thank you for the stickers @SDDCCommander. #vExpert #VMware
How to make sense of generic errors in vSphere? It might be worth to check out API-Responses. Found a trick while troubleshooting:'Check the Network Settings and make sure you have network access to the Identity Source' Read my new blog #vmware #API