動作検証

動作検証

次に進む前に、NTP 同期について検証することを推奨します。いくつかのノード、とくにコントローラーノードを参照するノードは、同期に数分かかる可能性があります。

  1. このコマンドを コントローラー ノードで実行します。

    # chronyc sources
      210 Number of sources = 2
      MS Name/IP address         Stratum Poll Reach LastRx Last sample
      ===============================================================================
      ^- 192.0.2.11                    2   7    12   137  -2814us[-3000us] +/-   43ms
      ^* 192.0.2.12                    2   6   177    46    +17us[  -23us] +/-   68ms
    

    Name/IP address 列には、1 つ以上の NTP サーバーのホスト名か IP アドレスが表示されることでしょう。S 列の * は、サーバーが現在 NTP サービスと同期されていることを表します。

  2. 同じコマンドを すべてのノード において実行します。

    # chronyc sources
      210 Number of sources = 1
      MS Name/IP address         Stratum Poll Reach LastRx Last sample
      ===============================================================================
      ^* controller                    3    9   377   421    +15us[  -87us] +/-   15ms
    

    Name/IP address 列には、コントローラーノードのホスト名が表示されることでしょう。

Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.