openstack-ansible/doc/source/install-guide/overview-requirements.rst
Jesse Pretorius 24e63abeb2 Fix 'D001 Line too long' documentation lint failures
Change-Id: I4522fe318541dac7f4ff4e45d72d4cd8869420ba
2016-07-13 21:32:31 +00:00

4.9 KiB

Home OpenStack-Ansible Installation Guide

Installation requirements

Note

These are the minimum requirements for OpenStack-Ansible. Larger deployments require additional resources.

CPU requirements

Compute hosts have multi-core processors that have hardware-assisted virtualization extensions available. These extensions provide a significant performance boost and improve security in virtualized environments.

Infrastructure hosts have multi-core processors for best performance. Some services, such as MySQL, greatly benefit from additional CPU cores and other technologies, such as Hyper-threading.

Disk requirements

Different hosts have different disk space requirements based on the services running on each host:

Deployment hosts

10GB of disk space is sufficient for holding the OpenStack-Ansible repository content and additional required software.

Compute hosts

Disk space requirements vary depending on the total number of instances running on each host and the amount of disk space allocated to each instance. Compute hosts have at least 100GB of disk space available at an absolute minimum. Consider disks that provide higher throughput with lower latency, such as SSD drives in a RAID array.

Storage hosts

Hosts running the Block Storage (cinder) service often consume the most disk space in OpenStack environments. As with compute hosts, choose disks that provide the highest I/O throughput with the lowest latency for storage hosts. Storage hosts contain 1TB of disk space at a minimum.

Infrastructure hosts

The OpenStack control plane contains storage-intensive services, such as the Image (glance) service as well as MariaDB. These control plane hosts have 100GB of disk space available at a minimum.

Logging hosts

An OpenStack-Ansible deployment generates a significant amount of logging. Logs come from a variety of sources, including services running in containers, the containers themselves, and the physical hosts. Logging hosts need additional disk space to hold live and rotated (historical) log files. In addition, the storage performance must be enough to keep pace with the log traffic coming from various hosts and containers within the OpenStack environment. Reserve a minimum of 50GB of disk space for storing logs on the logging hosts.

Hosts that provide Block Storage (cinder) volumes must have logical volume manager (LVM) support. Ensure those hosts have a cinder-volumes volume group that OpenStack-Ansible can configure for use with cinder.

Each control plane host runs services inside LXC containers. The container filesystems are deployed by default onto the root filesystem of each control plane hosts. You have the option to deploy those container filesystems into logical volumes by creating a volume group called lxc. OpenStack-Ansible creates a 5GB logical volume for the filesystem of each container running on the host.

Network requirements

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.

For the best performance, reliability and scalability, deployers should consider a network configuration that contains the following features:

  • Bonded network interfaces: Increases performance and/or reliability (dependent on bonding architecture).
  • VLAN offloading: Increases performance by adding and removing VLAN tags in hardware, rather than in the server's main CPU.
  • Gigabit or 10 Gigabit Ethernet: Supports higher network speeds, which can also improve storage performance when using the Block Storage (cinder) service.
  • Jumbo frames: Increases network performance by allowing more data to be sent in each packet.

Software requirements

Ensure all hosts within an OpenStack-Ansible environment meet the following minimum requirements:

  • Ubuntu 14.04 LTS (Trusty Tahr)
    • OSA is tested regularly against the latest Ubuntu 14.04 LTS point releases
    • Linux kernel version 3.13.0-34-generic or later
    • For swift storage hosts, you must enable the trusty-backports repositories in /etc/apt/sources.list or /etc/apt/sources.list.d/ See the Ubuntu documentation for more detailed instructions.
  • Secure Shell (SSH) client and server that supports public key authentication
  • Network Time Protocol (NTP) client for time synchronization (such as ntpd or chronyd)
  • Python 2.7 or later
  • en_US.UTF-8 as locale