I. 首先按照以下步骤将 NTP 添加到所有 ESXi 主机
使用 vSphere Client 连接到 ESX/ESXi 主机。
- 在清单中选择一个主机。
- 单击 配置 选项卡。
- 单击 Time Configuration。
- 单击Properties(属性)。
- 单击 选项。
- 单击 NTP Settings。
- 单击“Add”
II.按照以下步骤将 NTP 添加到 VXM
- 使用 root 用户在 VxRail Manager 上使用 ntp 服务器设置系统时间。
' ntpdate u <ntp sever ip> '
多次运行此命令,直至时间偏移小于一秒。
- 比较硬件时钟和系统时间上的时间,以查看它们是否匹配。
' hwclock ' and ' date '
- 检查您是否能够登录到 VxRail Manager GUI。
- 使用命令将硬件时钟设置为与系统时钟相同的时间;
hwclock w ' or ' hwclock --systohc '
- 通过将硬件时钟与系统时间进行比较,确认硬件时钟是否正确。
III.将 NTP 添加到 VCSA 和 PSC
- 通过端口 5480http://< IP>:5480 访问两者的设备管理
- 导航到时间
- 添加 NTP 服务器
IV.为 PSC 和 VCSA 设置时区。
- 通过端口 5480http://< IP>:5480 访问两者的设备管理
- 导航到时间
- 编辑时区
V. 在 VXM
上设置时区请参阅知识库文章000519955