VMware:VCSA上的时间与外部PSC不同步

时间:2020-02-23 14:45:18  来源:igfitidea点击:

这个问题看似平庸,但实际上却浪费了我宝贵的(失去的)时间,这是我在外部6.5平台服务器上部署vCenter Server Appliance的宝贵时间。

在"安装阶段2:设置vCenter Server Appliance"中,要求您提供PSC设备的单点登录信息。
单击下一步,您可能会遇到以下消息:

The time on this VMware vCenter Server Appliance is out of synchronization with the external Platform Services Controller with which you are trying to register by <seconds> seconds.

首先考虑一下,检查两台计算机上的时区和时钟是否匹配。
好的,也许偏移了几秒钟,安装程序非常敏感,使用相同的来源和相同的问题配置NTP。

原来,安装程序不喜欢UTC以外的其他本地时间值!如果您已将其更改为本地时区,请将其更改回UTC。

使用VMware vSphere设备管理(https://theitroad.com:5480):

Navigator > Time > Time Zone

使用CLI:

1.删除当前时区符号链接:

rm /etc/localtime

2.设置新时区:

ln -s /usr/share/zoneinfo/UTC /etc/localtime

如有必要,您可以使用以下命令来手动同步到时间服务器:

service ntpd stop
ntpdate time.chu.nrc.ca
service ntpdate start

(时间服务器也在/etc/ntpd.conf中定义)