您可以驗證 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 伺服器