Hello there,
I was playing with ESXi and virtual machines in my home lab and quite confused with how exactly time is maintained in ESXi and virtual machines running with various guest OS on it. I understand this concept for many is probably very straight forward and not a rocket science but as I am quite new to VMware and virtualisation as such, I am finding it bit difficult to grasp.
I have gone through few different KB's and timekeeping mechanisms but I want to know from other sys admins or experts in their simple words how does time keeping exactly works, what is the real role of NTP server and VMware tools? One thing I noticed is when you run date command in your via SSH session on your host it displays time in UTC. On the other hand when you see this same host via VI client from configuration-->time configuration the time is different. How does ESXi host maintain and show 2 different timings? Also I believe one of the reason that Data & Time is shown in red is as it's incorrect but than how does ESXi host know that it's incorrect when I haven't configured any NTP servers? Is ESXi host comparing time with what's in BIOS? As soon as I correct the time manually to reflect my local time it doesn't show in red colour any more? If ESXi host can maintain it's own time than what is the use case for configuring NTP server like pool.ntp.org??
Can someone please explain how this all works in simple terms...thank you