TryllZ
Hot Shot
Hot Shot

NTP Syncing 6 hours ahead, ESXi from same source show proper time..

Hi,

I'm syncing NTP for vCenter from the Firewall, ESXi also sync from the same firewall only that vCenter is 6 hours ahead while ESXi are syncing fine, not sure what is going on.

vCenter NTP - https://i.ibb.co/55CwkYC/v-Center-NTP.png

ESXi NTP - https://i.ibb.co/MpxgnRh/ESXiNTP.png

vCenter NTP Check - https://i.ibb.co/TrFfpc0/v-Center-NTPCheck.png

vCenter logging out evey now and then - https://i.ibb.co/Pz9gDBy/v-Center-Log-Out.png

vCenter logging out evey now and then - https://i.ibb.co/Pz9gDBy/v-Center-Log-Out.png

I have set the vCenter webclient.properties to 1440 minutes in vSphere-ui and restarted all services, but it did not help.

Thank you

0 Kudos
14 Replies
Ajay1988
VMware Employee
VMware Employee

Is the VCSA added to domain ?  If yes please check the AD time   if they are in sync .

Check   messages log  and attach . 

If you think your queries have been answered
Mark this response as "Correct" or "Helpful".

Regards,
AJ
0 Kudos
TryllZ
Hot Shot
Hot Shot

The VCSA is not joined to a domain, the ESXi hosts are, nonetheless which log should I check for.

I have uploaded the complete vpxd.log here : https://mega.nz/folder/hpwz2ISQ#lEuR4AbcECRxBkhqmK7HqA

 

0 Kudos
TryllZ
Hot Shot
Hot Shot

Hust something I noticed, I'm able to assign vmnics to DVSwitch the 1st time I log into vCenter, and thats the only time I can move the vmnics once I try to move them after that they just time out, not sure whats causing this.

0 Kudos
TryllZ
Hot Shot
Hot Shot

Anyone ?

0 Kudos
TryllZ
Hot Shot
Hot Shot

I just noticed that the 1st time I set the NTP the time synchronizes fine, but on reboot it mismatches and goes ahead by 6 hours.

0 Kudos
sjesse
Leadership
Leadership

What is your time zone?

0 Kudos
TryllZ
Hot Shot
Hot Shot

The time zone in Firewall is UTC, same as ESXi, and in vCenter its Etc/Utc

0 Kudos
sjesse
Leadership
Leadership

specifically make sure your firewall vcenter timezone is correct and your firewall one is using UTC time, which is probably is. ESXi host alway do UTC and vcenter does have the timezone option, make sure they are properly set

 

https://docs.vmware.com/en/VMware-vSphere/6.7/com.vmware.vsphere.vcsa.doc/GUID-A43F56F8-A89F-4AEC-AB...

Tags (1)
0 Kudos
sjesse
Leadership
Leadership

In that case I'd swap the timezone and swap it back and see if that helps.

0 Kudos
sjesse
Leadership
Leadership

Also based on your images this looks like it may be a lap, try another timesource and see if its the same, something like pool.ntp.org. If that works switch it back and see if it readjusts.

0 Kudos
TryllZ
Hot Shot
Hot Shot

I have set to UTC for all devices because of ESXi as I don't know, and could not find, how to get the ESXi to show the time from NTP.

My city time is GMT +1 but ESXi does not seem to sync accordingly.

I'll try out what you have mentioned..

0 Kudos
TryllZ
Hot Shot
Hot Shot

Not sure whats going on soon as I login into vCenter Manageent (5480) I can see the time syncing properly then it logs out abruptly then once I log back in the time is mismatched.

I'm setting time to GMT +1 in vCenter then will check applmgmt.log to see whats going on.

0 Kudos
sjesse
Leadership
Leadership

Isn't that a 6 hour difference GMT +1 to Etc? The times you see when you logon are adjusting based on the what the webbrowser sends as the time zone, at least I'm pretty sure, don't have one far enough away to check.

0 Kudos
TryllZ
Hot Shot
Hot Shot

I could not get vCenter to show the appropriate time zone, so I manually set it to a time zone that shows time according to my time zone (I set it to GMT +4).

As for ESXi I'm not understanding how its suppose to get its time. By default its set to UTC and its time zone cannot be changed, my time is UTC and is UTC +1 when Daylight Saving Timezone (DST) is active, which is set in Firewall and Server, however, ESXi does not seem to be picking this from NTP and keeps on showing UTC time without DST.

So what am I not understanding ?!

0 Kudos