その他のノード¶
他のノードはコントローラーノードを参照して時刻同期を行ないます。他のすべてのノードでこれらの手順を実行します。
コンポーネントのインストールと設定¶
Install the packages.
For Ubuntu:
# apt install chrony
For RHEL or CentOS:
# yum install chrony
For SUSE:
# zypper install chrony
Configure the
chrony.conf
file and comment out or remove all but oneserver
key. Change it to reference the controller node.For RHEL, CentOS, or SUSE, edit the
/etc/chrony.conf
file:server controller iburst
For Ubuntu, edit the
/etc/chrony/chrony.conf
file:server controller iburst
pool 2.debian.pool.ntp.org offline iburst
行をコメントアウトします。Restart the NTP service.
For Ubuntu:
# service chrony restart
For RHEL, CentOS, or SUSE:
# systemctl enable chronyd.service # systemctl start chronyd.service