您可以验证 NTP 服务器配置和状态。

过程

  1. root 身份直接或通过 SSH 客户端登录到 VMware Cloud Director 设备控制台。
  2. 要检查 VMware Cloud Director 设备的状态,请在集群中的每个设备上运行以下命令。
    timedatectl show-timesync --all
    该命令将返回以下格式的输出。
    LinkNTPServers=
    SystemNTPServers= example-time-server.com 
    FallbackNTPServers=example1-time-server.com example2-time-server.com example3-time-server.com example4-time-server.com
    ServerName=example-time-server.com
    ServerAddress=server_IP_address
    RootDistanceMaxUSec=5s
    PollIntervalMinUSec=32s
    PollIntervalMaxUSec=34min 8s
    PollIntervalUSec=34min 8s
    NTPMessage={ Leap=0, Version=4, Mode=4, Stratum=3, Precision=-23, RootDelay=74.066ms, RootDispersion=33.081ms, Reference=ABC1A16, OriginateTimestamp=Wed 2022-02-16 13:37:57 UTC, ReceiveTimestamp=Wed 2022-02-16 13:37:57 UTC, TransmitTimestamp=Wed 2022-02-16 13:37:57 UTC, DestinationTimestamp=Wed 2022-02-16 13:37:57 UTC, Ignored=yes PacketCount=32, Jitter=338us }
    Frequency=2030845

下一步做什么

更改 VMware Cloud Director 设备的 NTP 服务器