Merge "Update doc to use chrony instead of ntp" into stable/queens
This commit is contained in:
commit
c3ce6c3575
@ -54,7 +54,7 @@ Configure Ubuntu
|
|||||||
.. code-block:: shell-session
|
.. code-block:: shell-session
|
||||||
|
|
||||||
# apt-get install bridge-utils debootstrap ifenslave ifenslave-2.6 \
|
# apt-get install bridge-utils debootstrap ifenslave ifenslave-2.6 \
|
||||||
lsof lvm2 ntp ntpdate openssh-server sudo tcpdump vlan python
|
lsof lvm2 chrony openssh-server sudo tcpdump vlan python
|
||||||
|
|
||||||
#. Install the kernel extra package if you have one for your kernel version \
|
#. Install the kernel extra package if you have one for your kernel version \
|
||||||
|
|
||||||
@ -70,12 +70,12 @@ Configure Ubuntu
|
|||||||
# echo 'bonding' >> /etc/modules
|
# echo 'bonding' >> /etc/modules
|
||||||
# echo '8021q' >> /etc/modules
|
# echo '8021q' >> /etc/modules
|
||||||
|
|
||||||
#. Configure Network Time Protocol (NTP) in ``/etc/ntp.conf`` to
|
#. Configure Network Time Protocol (NTP) in ``/etc/chrony/chrony.conf`` to
|
||||||
synchronize with a suitable time source and restart the service:
|
synchronize with a suitable time source and restart the service:
|
||||||
|
|
||||||
.. code-block:: shell-session
|
.. code-block:: shell-session
|
||||||
|
|
||||||
# service ntp restart
|
# service chrony restart
|
||||||
|
|
||||||
#. Reboot the host to activate the changes and use the new kernel.
|
#. Reboot the host to activate the changes and use the new kernel.
|
||||||
|
|
||||||
@ -101,7 +101,7 @@ Configure CentOS
|
|||||||
.. code-block:: shell-session
|
.. code-block:: shell-session
|
||||||
|
|
||||||
# yum install bridge-utils iputils lsof lvm2 \
|
# yum install bridge-utils iputils lsof lvm2 \
|
||||||
ntp ntpdate openssh-server sudo tcpdump python
|
chrony openssh-server sudo tcpdump python
|
||||||
|
|
||||||
#. Add the appropriate kernel modules to the ``/etc/modules-load.d`` file to
|
#. Add the appropriate kernel modules to the ``/etc/modules-load.d`` file to
|
||||||
enable VLAN and bond interfaces:
|
enable VLAN and bond interfaces:
|
||||||
@ -111,13 +111,13 @@ Configure CentOS
|
|||||||
# echo 'bonding' >> /etc/modules-load.d/openstack-ansible.conf
|
# echo 'bonding' >> /etc/modules-load.d/openstack-ansible.conf
|
||||||
# echo '8021q' >> /etc/modules-load.d/openstack-ansible.conf
|
# echo '8021q' >> /etc/modules-load.d/openstack-ansible.conf
|
||||||
|
|
||||||
#. Configure Network Time Protocol (NTP) in ``/etc/ntp.conf`` to
|
#. Configure Network Time Protocol (NTP) in ``/etc/chrony.conf`` to
|
||||||
synchronize with a suitable time source and start the service:
|
synchronize with a suitable time source and start the service:
|
||||||
|
|
||||||
.. code-block:: shell-session
|
.. code-block:: shell-session
|
||||||
|
|
||||||
# systemctl enable ntpd.service
|
# systemctl enable chronyd.service
|
||||||
# systemctl start ntpd.service
|
# systemctl start chronyd.service
|
||||||
|
|
||||||
|
|
||||||
#. Reboot the host to activate the changes and use the new kernel.
|
#. Reboot the host to activate the changes and use the new kernel.
|
||||||
@ -144,7 +144,7 @@ Configure openSUSE
|
|||||||
.. code-block:: shell-session
|
.. code-block:: shell-session
|
||||||
|
|
||||||
# zypper install bridge-utils iputils lsof lvm2 \
|
# zypper install bridge-utils iputils lsof lvm2 \
|
||||||
ntp opensshr sudo tcpdump python
|
chrony opensshr sudo tcpdump python
|
||||||
|
|
||||||
#. Add the appropriate kernel modules to the ``/etc/modules-load.d`` file to
|
#. Add the appropriate kernel modules to the ``/etc/modules-load.d`` file to
|
||||||
enable VLAN and bond interfaces:
|
enable VLAN and bond interfaces:
|
||||||
@ -154,13 +154,13 @@ Configure openSUSE
|
|||||||
# echo 'bonding' >> /etc/modules-load.d/openstack-ansible.conf
|
# echo 'bonding' >> /etc/modules-load.d/openstack-ansible.conf
|
||||||
# echo '8021q' >> /etc/modules-load.d/openstack-ansible.conf
|
# echo '8021q' >> /etc/modules-load.d/openstack-ansible.conf
|
||||||
|
|
||||||
#. Configure Network Time Protocol (NTP) in ``/etc/ntp.conf`` to
|
#. Configure Network Time Protocol (NTP) in ``/etc/chrony.conf`` to
|
||||||
synchronize with a suitable time source and start the service:
|
synchronize with a suitable time source and start the service:
|
||||||
|
|
||||||
.. code-block:: shell-session
|
.. code-block:: shell-session
|
||||||
|
|
||||||
# systemctl enable ntpd.service
|
# systemctl enable chronyd.service
|
||||||
# systemctl start ntpd.service
|
# systemctl start chronyd.service
|
||||||
|
|
||||||
|
|
||||||
#. Reboot the host to activate the changes and use the new kernel.
|
#. Reboot the host to activate the changes and use the new kernel.
|
||||||
|
Loading…
Reference in New Issue
Block a user