Badges

gestaltitbadge

follow-me-twitter

Subscribe to me on FriendFeed

Comments / DISQUS
Feedjit.com

Use the VI Client to configure ESX NTP time sync

Up until ESX version 3.5 you had to modify various config files to configure ESX NTP time sync. This process was previously automated by the set_ntp.sh script, but now it is even easier because the VI Client can now configure the necessary NTP settings for the ESX host natively.

The following text and instructions were copied in part from the post VMware ESX 3.5 and VirtualCenter 2.5 small features guide by Eric Siebert found on searchvmware.techtarget.com:

VI Client NTP settings screen shotVI Client ESX NTP time configuration steps.
You no longer have to edit text files on the Service Console to configure ESX to sync to an NTP time server. They can be set using the following steps:

    1. go to VI Client under Configuration -> Time Configuration
    2. click the Properties link
    3. check the ‘NTP Client Enabled’ box under the NTP Configuration section
    4. click the Options button and select Start and Stop with Host in the General section
    5. Click the NTP settings section
    6. click the Add button to add a NTP server (or multiple servers). You can remove 127.127.1.0 which is the local system clock here
    7. click OK to apply your changes and start service.

      The ESX built-in firewall will automatically be modified to allow outgoing connections on port 123. Your server clock should shortly start syncing with the NTP server you selected. You can check the current time by clicking the Refresh link in the VI Client.

      Related Posts

      • Steve Switzer

        In this post, it is stated that it is OK to remove the 127.127.1.0 entry. This would seem reasonable, except that if the NTD daemon on the ESX host fails see a response from an NTP server in the list, it will quit. As such, if the NTP server goes down for a short time, or your Internet connection is disrupted, etc your ESX host will stop syncing. Best practice is to leave this entry in place, to at least the NTP daemon will keep running, and wait for the remote NTP server to come back online.

      • Steve Switzer

        In this post, it is stated that it is OK to remove the 127.127.1.0 entry. This would seem reasonable, except that if the NTD daemon on the ESX host fails see a response from an NTP server in the list, it will quit. As such, if the NTP server goes down for a short time, or your Internet connection is disrupted, etc your ESX host will stop syncing. Best practice is to leave this entry in place, to at least the NTP daemon will keep running, and wait for the remote NTP server to come back online.

      • http://www.switzersolutions.com Steve Switzer

        Sorry, I should have proof-read that comment!

      • http://www.switzersolutions.com Steve Switzer

        Sorry, I should have proof-read that comment!

      • Pingback: Changing NTP Server in ESX 3.5 fails with error “failed to change host configuration” | VM /ETC

      • Raul

        Hi,
        i want to configure time server in ESX server 3.0.1.
        I dont have the option “time configuration”

        can i help me…
        I use vi client 2.0
        thanks

      • http://vmetc.com rbrambley

        Raul,

        The link in the first paragraph of this post to the set_ntp.sh script is your easiest method for setting up NTP sync on ESX 3.0 http://vmetc.com/2007/12/12/configure-ntp-on-es

      • Raul

        Hi,
        i want to configure time server in ESX server 3.0.1.
        I dont have the option “time configuration”

        can i help me…
        I use vi client 2.0
        thanks

      • http://vmetc.com rbrambley

        Raul,

        The link in the first paragraph of this post to the set_ntp.sh script is your easiest method for setting up NTP sync on ESX 3.0 http://vmetc.com/2007/12/12/configure-ntp-on-es

      • Pingback: ESX Time Sync Best Practice - Don’t remove that 127.127.1.0 line!! – SeanClark.us

      Get My Podcast On iTunes!
      Support VM /ETC
      Support VMETC.com

      Support VMETC.com

      Free Business and Tech Magazines and eBooks
      @rbrambley tweets
      VMTN Roundtable Podcasts
      Subscribe



      Add to Google Reader or Homepage
      Subscribe in NewsGator Online
      Add to netvibes
      Add to Plusmo