Exsi and NTP server date time synchronization configuration

Source: Internet
Author: User
Tags current time

The recent Exsi server time is always wrong, in the time configuration is always not correct display, using the following methods, you can quickly update to the latest time.
System: Exsi 5.5

1. Login to ESXi host via SSH

How to open exsi ssh I will not say, we go online search, very simple.

2. Modify NTP profile via SSH

Vi/etc/ntp.conf

Add a row to the configuration file:
TOS Maxdist 30

3. Modify/ETC/LIKEWISE/LSASSD.CONF configuration file

Find the Sync-system-time=no line, remove the previous comment # and save the exit.

4. Restart NTP and LSASSD services

/ETC/INIT.D/LSASSD restart
/ETC/INIT.D/NTPD restart

5. Wait a minute or so, and then refresh the exsi time.
Location: Configure---Software---time configuration---Refresh

Okay, here's a few NTP servers:

Time.nist.gov (USA)
Ntp.fudan.edu.cn (Fudan) (Recommended use of this server by domestic users)
Time.apple.com (Apple's NTP)
timekeeper.isi.edu
subitaneous.cpsc.ucalgary.ca
Usno.pa-x.dec.com
Time.twc.weather.com
swisstime.ethz.ch
Ntp0.fau.de
Ntp3.fau.de
Time-a.nist.gov
Time-b.nist.gov
Time-nw.nist.gov
Nist1-sj.glassey.com

Add: Linux Server time synchronization

Date command:

Date: View the current time as follows: Tue Mar 4 01:36:45 CST 2014
Date-s 09:38:40: Setting the current time, the result is as follows: Tue Mar 4 09:38:40 CST 2014

Ntpdate command:
Ntpdate-u 210.72.145.44: Network time synchronization command

Note: If you do not add the-u parameter, you receive the following prompt: No server suitable for synchronization found
-U: You can see from man ntpdate that the-u parameter can be synchronized with the host over the firewall;
210.72.145.44: Official server of China National Timing Center.

NTP Common server:
China National Timing Center: 210.72.145.44
NTP server (Shanghai): ntp.api.bz

United States: Time.nist.gov
Fudan: ntp.fudan.edu.cn
Microsoft Company Timing Host (USA): time.windows.com
Grand Timing Center (Taiwan): asia.pool.ntp.org

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.