Loading

×Sorry to interrupt
CSS Error

Refresh

Cookie Preference Center

General Information on cookies

When you visit our website, we use cookies to ensure that we give you the best experience. This information does not usually directly identify you, but it can give you a more personalized web experience. Because we respect your right to privacy, you can choose not to allow some types of cookies by clicking on the different category headings to find out more and change your settings. However, blocking some types of cookies may impact your experience on the site and the services we are able to offer. Further information can be found in our

Cookie Policy.

Strictly Necessary

Strictly Necessary

Always Active

Strictly Necessary

Strictly necessary cookies are always enabled since they are essential for our website to function. They enable core functionality such as security, network management, and website accessibility. You can set your browser to block or alert you about these cookies, but this may affect how the website functions. For more information please visit www.aboutcookies.org or www.allaboutcookies.org.

Cookie Details‎

Performance

Performance

Performance

Performance cookies are used to analyze the user experience to improve our website by collecting and reporting information on how you use it. They allow us to know which pages are the most and least popular, see how visitors move around the site, optimize our website and make it easier to navigate.

Cookie Details‎

Please confirm your settings by refreshing the page.

Functional

Functional

Functional

Functional cookies help us keep track of your past browsing choices so we can improve usability and customize your experience. These cookies enable the website to remember your preferred settings, language preferences, location and other customizable elements such as font or text size. If you do not allow these cookies, then some or all of these services may not function properly.

Cookie Details‎

Advertising

Advertising

Advertising

Advertising cookies are used to send you relevant advertising and promotional information. They may be set through our site by third parties to build a profile of your interests and show you relevant advertisements on other sites. These cookies do not directly store personal information, but their function is based on uniquely identifying your browser and internet device.

Cookie Details‎

Advertising Cookies

Consent Leg.Interest

Select All Vendors

Select All Vendors

Select All Hosts

Select All

Clear Filters

Information storage and access

Apply

Confirm My Choices Reject All Allow All

Skip to main content

My Subscriptions

Loading

Knowledge Base

Verifying time synchronization across an ESX/ESXi host environment (1003736)

Last Updated: 2/28/2024Categories: How toTotal Views: 537453Language:
Chinese (Simplified)JapaneseEnglish

19 like this article

Subscribe to get an email
newsletter with new updates

19 people found this helpful Please provide article feedback:

Learn how VMware Skyline Advisor and Skyline Health Diagnostics work together to provide proactive intelligence and self-service log analysis.

Use Skyline Advisor to avoid issues before they occur across VCF, vSphere, vSAN, NSX, vROps & Horizon. Skyline Findings are based on top KBs, VMSAs/CVEs and design best practices.

Use Skyline Health Diagnostics to root cause vSphere & vSAN logs when an issue occurs. Skyline Health Diagnostic Findings are based on top KBs and VMSA/CVEs. You can use the Skyline Health Diagnostics tool in online or offline mode.

If you require additional help from technical support, please use Skyline Advisor to initiate a Log Assist to reduce time to upload logs. TSEs can also initiate logs to reduce effort.

Purpose

This article guides you through the process of verifying that the time for hosts in your environment are synchronized.

Resolution

Verifying time on VMware ESX

To verify the time on an ESX host, enter this command from the ESX host command line. Ensure that the correct time zone and date are displayed:

# date

Note: For adjusting the time zone, see Adjusting ESX Server Time Zone (1436).

Verify the time set in the hardware BIOS of the ESX/ESXi host if this host is experiencing difficulty keeping time, despite it having its time correctly set and successfully connected to running and correctly configured NTP server.

Synchronizing time on VMware ESX

The time must be synchronized if there are time discrepancies in the environment. The time can be set manually or maintained by using a Network Time Protocol (NTP) server. For synchronizing time using NTP, see Installing and Configuring NTP on VMware ESX Server (1339)or Guide to configure NTP on ESX servers (1003063).

To set the time from the ESX command line manually, use the date -s command. For example, to set the date to 31 Jan 2012 18:00:00, type this command as the root user:

# date -s "31 Jan 2012 18:00:00"

To set the time from vSphere Client:

Launch vSphere Client.

Go to Configuration > Time Configuration > Properties.

Input the correct Time and Date.

Click Options.

Click Restart on the Service Commands box.

Synchronizing time on VMware ESXi

The time must be synchronized if there are time discrepancies in the environment. The time can be set manually or maintained by using a Network Time Protocol (NTP) server. For synchronizing time using NTP, see Configuring Network Time Protocol (NTP) on ESX/ESXi hosts using the vSphere Client (2012069).

For ESXi 6.x refer to VMware Documentation

As of vSphere 4.1, hosts are set to UTC. When running the below esxcli command, set it to UTC, not local time zone. For more information, see Adjusting ESX host Time Zone (1436). The vSphere Client and vSphere Web Client automatically display time in your local Time Zone and will take into account UTC setting on host(s).

To set the time from the ESXi command line manually, use the esxcli system time set command. For example, to set the date to 31 Jan 2012 18:00:00 UTC, type this command as the root user:

# esxcli system time set -d 31 -M 1 -y 2012 -H 18 -m 0 -s 0

If this is not just a temporary measure to connect to an existing server, but needs to hold through reboots, then set the hardware clock to the same time as well:

# esxcli hardware clock set -d <day> -H <hour> -m <minutes> -s <seconds> -M <month> -y <year>

#  esxcli hardware clock set -d 11 -H 15 -m 28 -s 30 -M 01 -y 2019

The above example would set the hardware time and date to 2019-01-11T15:28:30

To set the time from vSphere Client:

Launch vSphere Client.

Go to Configuration > Time Configuration > Properties.

Input the correct Time and Date.

Click Options.

Click Restart on the Service Commands box.

To set the time from the vSphere Web Client:

Log into the vSphere Web Client. The default URL is https://vCenter_Server_FQDN:9443/vsphere-client

Go to Hosts and Clusters, from the Home screen >

Select the ESXi host > click the Manage tab > click the Settings button > under System, click Time Configuration

Click Edit > select Manually configure the date and time on this host radio button> Input the correct Time and Date

Click OK

Time Synchronization on the VMware Virtual Center Server and Windows 2003 Domain

To configure Microsoft Windows 2003 to use NTP time server, see the Microsoft Knowledge Base article 816042.

Note:The preceding link was correct as of January 30, 2014. If you find the link is broken, provide feedback and a VMware employee will update the link.

Related Information

For translated versions of this article, see:

• 日本語: ESX ホストの環境全体の時刻同期の確認 (1033653)

Guide to configure NTP on ESX servers
ESX/ESXi ホスト環境における時刻同期の確認
Installing and Configuring NTP on an ESX host
Adjusting ESX host Time Zone
Configuring Network Time Protocol (NTP) on ESX/ESXi hosts using the vSphere Client
验证 ESX/ESXi 主机环境中的时间同步

Detectable by VMware SkylineTM

Actions

Copy

link to clipboard
copied!

Print

Language:
Chinese (Simplified)JapaneseEnglish

Attachments

Additional Resources

No results for undefined

Ask The Community

Get answers quickly from VMware experts in the community

Post Subject

CONTINUE IN COMMUNITIES

Related Products:

VMware vSphere ESXi

VMware VirtualCenter

VMware vCenter Server

VMware ESX Server

Related Versions:

VMware vSphere ESXi 6.7

VMware vSphere ESXi 6.5

VMware vSphere ESXi 6.0

VMware vSphere ESXi 5.5

VMware vSphere ESXi 5.1

VMware vSphere ESXi 5.0

VMware VirtualCenter 2.5.x

VMware VirtualCenter 2.0.x

VMware vCenter Server 5.5.x

VMware vCenter Server 5.1.x

VMware vCenter Server 5.0.x

VMware vCenter Server 4.1.x

VMware vCenter Server 4.0.x

VMware ESXi 4.1.x Installable

VMware ESXi 4.1.x Embedded

VMware ESXi 4.0.x Installable

VMware ESXi 4.0.x Embedded

VMware ESXi 3.5.x Installable

VMware ESXi 3.5.x Embedded

VMware ESX Server 3.5.x

VMware ESX Server 3.0.x

VMware ESX 4.1.x

VMware ESX 4.0.x

view all

Take Our Survey

Was this article helpful?

YES

NO

Copyright © 2005-2024 Broadcom. All Rights Reserved. The term “Broadcom” refers to Broadcom Inc. and/or its subsidiaries.

Terms of Use

Your California Privacy Rights

Privacy

Accessibility

Cookie Settings

Support Assistant