2016-09-05 06:17:58 +00:00
|
|
|
|
Software requirements
|
|
|
|
|
~~~~~~~~~~~~~~~~~~~~~
|
2015-06-09 14:30:28 +00:00
|
|
|
|
|
2016-10-03 20:25:12 +00:00
|
|
|
|
Ensure that all hosts within an OpenStack-Ansible (OSA) environment meet the
|
|
|
|
|
following minimum requirements:
|
2016-09-05 06:17:58 +00:00
|
|
|
|
|
2019-05-26 18:21:53 +00:00
|
|
|
|
* Debian
|
|
|
|
|
|
2020-04-08 17:30:51 +00:00
|
|
|
|
* Debian 10 (buster)
|
2019-05-26 18:21:53 +00:00
|
|
|
|
|
|
|
|
|
* Linux kernel version ``4.9.0-0-amd64`` or later is required.
|
|
|
|
|
|
2016-12-06 20:08:48 +00:00
|
|
|
|
* Ubuntu
|
2016-09-05 06:17:58 +00:00
|
|
|
|
|
2019-05-26 18:21:53 +00:00
|
|
|
|
* Ubuntu 18.04 LTS (Bionic Beaver)
|
2016-12-06 20:08:48 +00:00
|
|
|
|
|
2020-08-18 14:06:41 +00:00
|
|
|
|
* Ubuntu 20.04 LTS (Focal Fossa)
|
|
|
|
|
|
2019-05-26 18:21:53 +00:00
|
|
|
|
* Linux kernel version ``4.15.0-0-generic`` or later is required.
|
2016-12-06 20:08:48 +00:00
|
|
|
|
|
2019-07-25 14:09:14 +00:00
|
|
|
|
* CentOS
|
2016-12-06 20:08:48 +00:00
|
|
|
|
|
2020-08-18 14:06:41 +00:00
|
|
|
|
* Centos 8
|
|
|
|
|
|
2017-04-06 03:10:39 +00:00
|
|
|
|
* Linux kernel version ``3.10.0`` or later.
|
2016-09-05 06:17:58 +00:00
|
|
|
|
|
2016-10-03 20:25:12 +00:00
|
|
|
|
* Secure Shell (SSH) client and server that support public key
|
2016-09-05 06:17:58 +00:00
|
|
|
|
authentication
|
|
|
|
|
|
|
|
|
|
* Network Time Protocol (NTP) client for time synchronization (such as
|
|
|
|
|
``ntpd`` or ``chronyd``)
|
|
|
|
|
|
2020-04-08 17:30:51 +00:00
|
|
|
|
* Python 3.6.*x* or 3.7.*x*
|
2016-09-05 06:17:58 +00:00
|
|
|
|
|
2016-10-03 20:25:12 +00:00
|
|
|
|
* en_US.UTF-8 as the locale
|
2016-09-05 06:17:58 +00:00
|
|
|
|
|
|
|
|
|
CPU recommendations
|
|
|
|
|
~~~~~~~~~~~~~~~~~~~
|
2015-06-09 14:30:28 +00:00
|
|
|
|
|
2016-10-03 20:25:12 +00:00
|
|
|
|
* Compute hosts should have multicore processors with `hardware-assisted
|
|
|
|
|
virtualization extensions`_. These extensions provide a
|
2016-08-31 11:31:43 +00:00
|
|
|
|
significant performance boost and improve security in virtualized
|
|
|
|
|
environments.
|
2015-06-09 14:30:28 +00:00
|
|
|
|
|
2016-10-03 20:25:12 +00:00
|
|
|
|
* Infrastructure (control plane) hosts should have multicore processors for
|
|
|
|
|
best performance. Some services, such as MySQL, benefit from
|
|
|
|
|
additional CPU cores and other technologies, such as `Hyper-threading`_.
|
2015-06-09 14:30:28 +00:00
|
|
|
|
|
2016-03-10 19:18:29 +00:00
|
|
|
|
.. _hardware-assisted virtualization extensions: https://en.wikipedia.org/wiki/Hardware-assisted_virtualization
|
|
|
|
|
.. _Hyper-threading: https://en.wikipedia.org/wiki/Hyper-threading
|
2015-06-09 14:30:28 +00:00
|
|
|
|
|
2018-03-12 18:13:30 +00:00
|
|
|
|
Storage/disk recommendations
|
|
|
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
2015-06-09 14:30:28 +00:00
|
|
|
|
|
2016-04-28 04:24:46 +00:00
|
|
|
|
Different hosts have different disk space requirements based on the
|
2016-03-10 19:18:29 +00:00
|
|
|
|
services running on each host:
|
2015-06-09 14:30:28 +00:00
|
|
|
|
|
2016-03-10 19:18:29 +00:00
|
|
|
|
Deployment hosts
|
2018-03-12 18:13:30 +00:00
|
|
|
|
----------------
|
|
|
|
|
|
|
|
|
|
A minimum of ``10 GB`` of disk space is sufficient for holding the
|
|
|
|
|
OpenStack-Ansible repository content and additional required software.
|
2015-06-09 14:30:28 +00:00
|
|
|
|
|
2016-03-10 19:18:29 +00:00
|
|
|
|
Compute hosts
|
2018-03-12 18:13:30 +00:00
|
|
|
|
-------------
|
|
|
|
|
|
|
|
|
|
Disk space requirements depend on the total number of instances
|
|
|
|
|
running on each host and the amount of disk space allocated to each instance.
|
2017-05-09 11:52:41 +00:00
|
|
|
|
|
2018-03-12 18:13:30 +00:00
|
|
|
|
.. tip ::
|
2017-05-09 11:52:41 +00:00
|
|
|
|
|
2018-03-12 18:13:30 +00:00
|
|
|
|
Consider disks that provide higher I/O throughput with lower latency,
|
|
|
|
|
such as SSD drives in a RAID array.
|
2015-06-09 14:30:28 +00:00
|
|
|
|
|
2016-03-10 19:18:29 +00:00
|
|
|
|
Storage hosts
|
2018-03-12 18:13:30 +00:00
|
|
|
|
-------------
|
2017-05-09 11:52:41 +00:00
|
|
|
|
|
2018-03-12 18:13:30 +00:00
|
|
|
|
Hosts running the Block Storage (cinder) service often consume the most disk
|
|
|
|
|
space in OpenStack environments.
|
2017-05-09 11:52:41 +00:00
|
|
|
|
|
2018-03-12 18:13:30 +00:00
|
|
|
|
.. tip ::
|
2015-06-09 14:30:28 +00:00
|
|
|
|
|
2018-03-12 18:13:30 +00:00
|
|
|
|
As with Compute hosts, choose disks that provide the highest
|
|
|
|
|
I/O throughput with the lowest latency.
|
2016-10-03 20:25:12 +00:00
|
|
|
|
|
2018-03-23 13:25:22 +00:00
|
|
|
|
OpenStack-Ansible is able to deploy Cinder with a series of different
|
|
|
|
|
backends and uses Logical Volume Manager (LVM), by default.
|
|
|
|
|
Hosts that provide Block Storage volumes with LVM are recommended to
|
|
|
|
|
have a large disk space available allocated to a ``cinder-volume``
|
|
|
|
|
volume group, which OpenStack-Ansible can configure for use with Block Storage.
|
2016-10-03 20:25:12 +00:00
|
|
|
|
|
2018-03-12 18:13:30 +00:00
|
|
|
|
Infrastructure (control plane) hosts
|
|
|
|
|
------------------------------------
|
|
|
|
|
|
|
|
|
|
The OpenStack control plane contains storage-intensive services, such as the
|
|
|
|
|
Image service (glance), and MariaDB. These hosts must have a minimum of
|
|
|
|
|
``100 GB`` of disk space.
|
|
|
|
|
|
|
|
|
|
Each infrastructure (control plane) host runs services inside machine containers.
|
2016-10-03 20:25:12 +00:00
|
|
|
|
The container file systems are deployed by default on the root file system of
|
|
|
|
|
each control plane host. You have the option to deploy those container file
|
|
|
|
|
systems into logical volumes by creating a volume group called lxc.
|
|
|
|
|
OpenStack-Ansible creates a 5 GB logical volume for the file system of each
|
2016-07-13 10:40:48 +00:00
|
|
|
|
container running on the host.
|
2015-06-09 14:30:28 +00:00
|
|
|
|
|
2018-03-12 18:13:30 +00:00
|
|
|
|
.. tip ::
|
|
|
|
|
|
|
|
|
|
Other technologies leveraging copy-on-write can be used to reduce
|
|
|
|
|
the disk space requirements on machine containers.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Logging hosts
|
|
|
|
|
-------------
|
|
|
|
|
|
|
|
|
|
An OpenStack-Ansible deployment generates a significant amount of log
|
|
|
|
|
information. Logs come from a variety of sources, including services running
|
|
|
|
|
in containers, the containers themselves, and the physical hosts. Logging
|
|
|
|
|
hosts need sufficient disk space to hold live and rotated (historical) log
|
|
|
|
|
files. In addition, the storage performance must be able to keep pace with
|
|
|
|
|
the log traffic coming from various hosts and containers within the OpenStack
|
|
|
|
|
environment. Reserve a minimum of ``50 GB`` of disk space for storing logs on
|
|
|
|
|
the logging hosts.
|
|
|
|
|
|
|
|
|
|
|
2016-09-05 06:17:58 +00:00
|
|
|
|
Network recommendations
|
|
|
|
|
~~~~~~~~~~~~~~~~~~~~~~~
|
2016-03-10 19:18:29 +00:00
|
|
|
|
|
2016-04-28 04:24:46 +00:00
|
|
|
|
.. note::
|
|
|
|
|
|
|
|
|
|
You can deploy an OpenStack environment with only one physical
|
|
|
|
|
network interface. This works for small environments, but it can cause
|
|
|
|
|
problems when your environment grows.
|
2016-03-10 19:18:29 +00:00
|
|
|
|
|
2016-08-31 11:31:43 +00:00
|
|
|
|
For the best performance, reliability, and scalability in a production
|
2016-10-03 20:25:12 +00:00
|
|
|
|
environment, consider a network configuration that contains
|
2016-08-31 11:31:43 +00:00
|
|
|
|
the following features:
|
2016-03-10 19:18:29 +00:00
|
|
|
|
|
2016-10-03 20:25:12 +00:00
|
|
|
|
* Bonded network interfaces, which increase performance, reliability, or both
|
|
|
|
|
(depending on the bonding architecture)
|
2016-03-10 19:18:29 +00:00
|
|
|
|
|
2016-10-03 20:25:12 +00:00
|
|
|
|
* VLAN offloading, which increases performance by adding and removing VLAN tags
|
|
|
|
|
in hardware, rather than in the server's main CPU
|
2016-03-10 19:18:29 +00:00
|
|
|
|
|
2016-10-03 20:25:12 +00:00
|
|
|
|
* Gigabit or 10 Gigabit Ethernet, which supports higher network speeds and can
|
|
|
|
|
also improve storage performance when using the Block Storage service
|
2016-03-10 19:18:29 +00:00
|
|
|
|
|
2016-10-03 20:25:12 +00:00
|
|
|
|
* Jumbo frames, which increase network performance by allowing more data to
|
|
|
|
|
be sent in each packet
|