vCenter

 View Only
  • 1.  TIME SNTP with hosts for VM

    Posted Mar 06, 2019 04:38 PM

    Hello,

    Between, the VM and my laptop, I have around 11 seconds for the TIME.

    I consider that my laptop have the good time.

    First, do you have an atomic clock web site ?

    Second, it's like my VMs adn the hosts loose some seconds to synchronize the time.

    Regards,



  • 2.  RE: TIME SNTP with hosts for VM

    Posted Mar 06, 2019 05:31 PM

    This is why you point all your devices to an internal NTP server. It's fine to use an external NTP server as the upstream time source, but having local time in sync is imperative.



  • 3.  RE: TIME SNTP with hosts for VM

    Posted Mar 06, 2019 05:47 PM

    Hello,

    In fact, all our ESXi server must be updated from 3 external NTP servers.
    Now, the goal is to check inside the 3 SHELLs of the ESXi  .

    How to do this ?

    Regards,



  • 4.  RE: TIME SNTP with hosts for VM

    Posted Mar 06, 2019 06:05 PM

    in the shell

    cat /etc/ntp.conf

    > here I can see my 3 NTP server IP address

    ntpq -p

    > I receive some values, but how to be sure that the synchronisation is done ?



  • 5.  RE: TIME SNTP with hosts for VM

    Posted Mar 06, 2019 06:19 PM

    You don't need to do it from shell, you do it from the ESXi host client.



  • 6.  RE: TIME SNTP with hosts for VM

    Posted Mar 06, 2019 07:24 PM

    Yes, you are right.

    But I have a doubt.
    And there is a problem.

    --
    I need to clarify our "server map".
    We are in a VLAN outside the rest of the work except for some protocol like SNTP (123).
    But only for the VCSA. (vcenter)
    The ESXi server are not connected with the rest of the world.

    We must open a console to VCSA to manage our ESXi server, and VM too.
    It just to secure everything.

    -
    Then our VCSA is able to synchronise with ou SNTP server in the rest of the world.
    Then, our ESXi are configured to synchronise with the VCSA : it doesn't work. (command ntpq -P  in the shell)
    Then, our VMware tools are configured to synchronize with the hosts (ESXi).



  • 7.  RE: TIME SNTP with hosts for VM

    Posted Mar 06, 2019 07:42 PM

    Firstly, the protocol is NTP which operates over UDP 123. SNTP is a variation on NTP and not a separate thing altogether. Secondly, ESXi cannot take its time from vCenter, so you will need to open the necessary ports so each ESXi host can get its time from a relevant NTP server. Third, you will need to point those ESXi hosts at this NTP server and not at vCenter Server.



  • 8.  RE: TIME SNTP with hosts for VM

    Posted Mar 07, 2019 07:43 AM

    "ESXi cannot take its time from vCenter"

    Why ?



  • 9.  RE: TIME SNTP with hosts for VM

    Posted Mar 07, 2019 01:47 PM

    Because vCenter cannot be a time server.