Dell Technologies VxRail:如何将 ESXi 设置为虚拟机的 NTP 服务器
Summary: VxRail Manager 使用在 ESXi 主机编号 1 上设置的时间(无论时间是否正确)。 您还可以将虚拟机配置为与 ESXi 主机时间同步。在 vSphere ESXi 7.0 U3 及更高版本中,无法再直接编辑 NTP 和 PTP 的配置文件(/etc/ntp.conf 和 /etc/ptp.conf),因为它们是只读的,并且在重新引导后更改不会保留。必须改用 esxcli system ntp 命令。 ...
This article applies to
This article does not apply to
This article is not tied to any specific product.
Not all product versions are identified in this article.
Instructions
参考:https://kb.vmware.com/s/article/87176
要使主机上运行的虚拟机与主机时间同步,请首先将 ESXi 主机配置为与可靠的 NTP 服务器同步。
请参阅以下 VMware 知识库文章:使用 vSphere Client https://kb.vmware.com/s/article/2012069
在 ESX/ESXi 主机上配置网络时间协议 (NTP)。
接下来,配置来宾虚拟机以与 ESXi 主机同步时间:
1) 在虚拟机的配置中
2) 通过检查以下内容,测试虚拟机是否与 ESXi 时间正确同步:
要使主机上运行的虚拟机与主机时间同步,请首先将 ESXi 主机配置为与可靠的 NTP 服务器同步。
请参阅以下 VMware 知识库文章:使用 vSphere Client https://kb.vmware.com/s/article/2012069
在 ESX/ESXi 主机上配置网络时间协议 (NTP)。
接下来,配置来宾虚拟机以与 ESXi 主机同步时间:
1) 在虚拟机的配置中
- 转至 编辑设置>选项VMware > 工具。
- 勾选“将 客人时间与主机同步 ”框。
- 等待五分钟,以便虚拟机与 ESXi 主机同步时间。
2) 通过检查以下内容,测试虚拟机是否与 ESXi 时间正确同步:
- 在 Windows 或 Linux 来宾上,打开 VM 上的时钟。
- 在 vCenter 中,打开 ESXi 的时钟。
- 单击 ESXi,然后转至 配置 选项卡。
- 在左侧框架的“Time Configuration”中,您会看到“General:日期和时间。单击 刷新 以将 ESXi 的时间与虚拟机的时钟进行比较。
- ESXi 的时间和虚拟机的时钟应完全匹配。
Additional Information
请参阅此视频:
Affected Products
Converged Infrastructure, Enterprise Hybrid Cloud, VxRailArticle Properties
Article Number: 000201317
Article Type: How To
Last Modified: 15 Sept 2025
Version: 5
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.