openstack-manuals/doc/install-guide/source/environment-ntp-other.rst

1.6 KiB

Other nodes

Other nodes reference the controller node for clock synchronization. Perform these steps on all other nodes.

Install and configure components

  1. Install the packages:

    ubuntu or debian

    # apt install chrony

    rdo

    # yum install chrony

    obs

    # zypper install chrony

ubuntu or debian

  1. Edit the /etc/chrony/chrony.conf file and comment out or remove all but one server key. Change it to reference the controller node:

    server controller iburst
  2. Comment out the pool 2.debian.pool.ntp.org offline iburst line.

  3. Restart the NTP service:

    # service chrony restart

rdo or obs

  1. Edit the /etc/chrony.conf file and comment out or remove all but one server key. Change it to reference the controller node:

    server controller iburst
  2. Start the NTP service and configure it to start when the system boots:

    # systemctl enable chronyd.service
    # systemctl start chronyd.service