openstack-manuals/doc/install-guide/source/environment-ntp-other.rst
Christian Berendt 245fe26289 [install] use code-block directive instead of code directive
Change-Id: Id56dfc8572824d1dad47eee014870c9a64381645
Implements: blueprint installguide-liberty
2015-10-08 10:12:30 +02:00

1.5 KiB

Other nodes

Install and configure components

Install the packages:

ubuntu or debian

# apt-get install chrony

rdo

# yum install chrony

obs

On openSUSE:

# zypper addrepo http://download.opensuse.org/repositories/network:time/openSUSE_13.2/network:time.repo
# zypper refresh
# zypper install chrony

On SLES:

# zypper addrepo http://download.opensuse.org/repositories/network:time/SLE_12/network:time.repo
# zypper refresh
# zypper install chrony

Configure the network and compute nodes to reference the controller node.

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. 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