Dell Technologies VxRail:如何將 ESXi 設定為 VM 的 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) 在虛擬機器的組態中
  • 前往 編輯設定>選項 > VMware 工具
  • 勾選與主機 同步訪客時間 複選框。
  • 等待五分鐘,讓虛擬機器與 ESXi 主機同步處理時間。

2) 檢查下列項目,測試 VM 是否與 ESXi 的時間正確同步:
  • 在 Windows 或 Linux 來賓上,開啟 VM 上的時鐘
  • 從 vCenter 開啟 ESXi 的時鐘。
  • 按一下 ESXi,然後前往 組態 標籤。
  • 在左側框架的時間配置中,您會看到「常規:日期和時間。按一下 重新整理 ,將 ESXi 的時間與 VM 的時鐘進行比較。
  • ESXi 的時間和 VM 的時鐘應該完美搭配。

Additional Information

請參閱此影片:

Affected Products

Converged Infrastructure, Enterprise Hybrid Cloud, VxRail
Article 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.