.. _environment: =========== Environment =========== This section explains how to configure the controller and one compute node using the example architecture. Although most environments include Identity, Image service, Compute, at least one networking service, and the dashboard, the Object Storage service can operate independently. If your use case only involves Object Storage, you can skip to :ref:`swift` after configuring the appropriate nodes for it. However, the dashboard requires at least the Image service, Compute, and Networking. You must use an account with administrative privileges to configure each node. Either run the commands as the ``root`` user or configure the ``sudo`` utility. .. only:: obs The :command:`systemctl enable` call on openSUSE outputs a warning message when the service uses SysV Init scripts instead of native systemd files. This warning can be ignored. For best performance, we recommend that your environment meets or exceeds the hardware requirements in :ref:`figure-hwreqs`. The following minimum requirements should support a proof-of-concept environment with core services and several :term:`CirrOS` instances: * Controller Node: 1 processor, 4 GB memory, and 5 GB storage * Compute Node: 1 processor, 2 GB memory, and 10 GB storage As the number of OpenStack services and virtual machines increase, so do the hardware requirements for the best performance. If performance degrades after enabling additional services or virtual machines, consider adding hardware resources to your environment. To minimize clutter and provide more resources for OpenStack, we recommend a minimal installation of your Linux distribution. Also, you must install a 64-bit version of your distribution on each node. A single disk partition on each node works for most basic installations. However, you should consider :term:`Logical Volume Manager (LVM)` for installations with optional services such as Block Storage. For first-time installation and testing purposes, many users elect to build each host as a :term:`virtual machine (VM)`. The primary benefits of VMs include the following: * One physical server can support multiple nodes, each with almost any number of network interfaces. * Ability to take periodic "snap shots" throughout the installation process and "roll back" to a working configuration in the event of a problem. However, VMs will reduce performance of your instances, particularly if your hypervisor and/or processor lacks support for hardware acceleration of nested VMs. .. note:: If you choose to install on VMs, make sure your hypervisor provides a way to disable MAC address filtering on the provider network interface. For more information about system requirements, see the `OpenStack Operations Guide `_. .. toctree:: :maxdepth: 1 environment-security.rst environment-networking.rst environment-ntp.rst environment-packages.rst environment-sql-database.rst environment-nosql-database.rst environment-messaging.rst environment-memcached.rst