VMware vSphere

 View Only
  • 1.  how to check NTP Virtual Machine in ESXi

    Posted Aug 13, 2020 12:35 PM

    i have many esx, in one esx many vm, how to check ntp every vm in esx?
    because if i check every vm 1 by 1,it's will take a long time.

    tks



  • 2.  RE: how to check NTP Virtual Machine in ESXi

    Posted Aug 13, 2020 12:45 PM

    Have a look: Re: ESXi Host NTP Info



  • 3.  RE: how to check NTP Virtual Machine in ESXi

    Posted Aug 13, 2020 03:10 PM

    if i 'am here, what shloud i do??



  • 4.  RE: how to check NTP Virtual Machine in ESXi

    Posted Aug 13, 2020 12:54 PM

    What guest OS or OSes are you running in your VMs?



  • 5.  RE: how to check NTP Virtual Machine in ESXi

    Posted Aug 13, 2020 03:11 PM

    rhel, centos, suse and windows



  • 6.  RE: how to check NTP Virtual Machine in ESXi

    Posted Aug 13, 2020 01:07 PM

    Hello, hope you are doing fine

    If you have VMware tools installed and you are using the Sync host time on all vms, all vms should sync it's time to the esxi hosts.

    Other windows (if domain joined) you can get the information via powershell.


    Also you can check this script:
    Re: ESXi Host NTP Info



  • 7.  RE: how to check NTP Virtual Machine in ESXi

    Posted Aug 13, 2020 03:14 PM

    yes i have VMware tools and installed every VM. so if VMware tools had installed every vm it should be compatible with Esxi NTP, right?



  • 8.  RE: how to check NTP Virtual Machine in ESXi

    Posted Aug 13, 2020 03:33 PM

    You may need to check a few different things, given that your guest OSes can either use their own time sync processes or VMware Tools.

    If it's via VMware Tools, you would need to check a couple of things:

    1. Does every ESXi host have NTP correctly configured and running?

    2. Does every VM have tools.syncTime = "1" in it's VMX file?

    I think PowerCLI would be able to help you there.

    If your guests are syncing directly via their own OS processes, that mix of OSes makes it harder to find a "one size fits all" solution.