OpenStack:Install
lastmod 2018-08-17created 2015-07-1624 edits
Describes how to install OpenStack.
DevStack
Ubuntu install
See the page below:
OpenStack:Install:UbuntuSingleNode
CentOS 7 install
- OpenStack Installation Guide for Red Hat Enterprise Linux 7, CentOS 7, and Fedora 20 1
- OpenStack Class Lecture 30: Installing a Service-Ready OpenStack, Part 2 - Server Preparation!
- I Do Openstack Installation - Series Part 1: Installing openstack icehouse on Centos by the manual, basic configuration
Recommended specs:
- Controller Node: 1 processor, 2 GB memory, and 5 GB storage
- Network Node: 1 processor, 512 MB memory, and 5 GB storage
- Compute Node: 1 processor, 2 GB memory, and 10 GB storage
| If you use VMs, the hypervisor must support promiscuous mode, |
Network interface
Installguidearch-neutron-networks.png
- Rename the Ethernet card from
enp0s3toeth0. - Change the hostname to match each node:
vi /etc/hostname - Register the hosts of all other nodes.
- Stop and disable
NetworkManager.
Network Time Protocol
Edit the /etc/ntp.conf file on the controller node to change access permissions.
$ server NTP_SERVER iburst
$ restrict -4 default kod notrap nomodify
$ restrict -6 default kod notrap nomodify
Set the NTP server of the other nodes to the controller node. <span style="color:red; font-weight:bold">(servers other than controller must be removed)
If a firewall is configured on the controller node, don't forget to open the NTP port (UDP 123) as well.
OpenStack packages
Install the OpenStack packages on all nodes.
$ yum install -y yum-plugin-priorities
$ yum install -y http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-5.noarch.rpm
$ yum install -y http://rdo.fedorapeople.org/openstack-juno/rdo-release-juno.rpm
$ yum upgrade
$ yum install -y openstack-selinux
Database
Install the database on the Controller node.
After installation is complete, add the following to the /etc/my.cnf file.
[mysqld]
bind-address = 10.0.0.11
default-storage-engine = innodb
innodb_file_per_table
collation-server = utf8_general_ci
init-connect = 'SET NAMES utf8'
character-set-server = utf8
Then start the DB.
Configure the security-related settings for the database service.
Messaging server
Install RabbitMQ on the Controller node.
All-in-one
- Cisco: OpenStack: Icehouse All-in-One
- OpenStack all-in-one: test cloud services in one laptop
- Nalee's IT Story - OpenStack Class: Lecture 42: Installing OpenStack on CentOS, Part 2 - All-in-One Installation
See also
Favorite site
- [Recommended] OpenStack Installation Guide for Ubuntu
- I Do Openstack Installation - Series Part 1: Installing openstack icehouse on Centos by the manual, basic configuration
- Installing and using openstack – on ubuntu 12.04
- Building a virtualization system with OpenStack: Installing OpenStack with DevStack - The Small World Inside Me
- Juno Devstack installation (VMware Workstation)
- DevStack install (Neutron Network)
- HowTo Install Mirantis Fuel 5.1/5.1.1 OpenStack with Mellanox Adapters Support (Ethernet Network)
- Mirantis OpenStack v6.1 Documentation
- Running Mirantis OpenStack on VirtualBox
- Native Stack - Single Node using Neutron GRE - Icehouse
Install (CentOS based)
- Installing OpenStack on CentOS 6.x
- OpenStack installation - CentOS
- Geonine ver 2.0 :: Installing OpenStack on CentOS 6.x
- ch1. Setting up openstack(icehouse) on CentOS 7
- OpenStack Installation Guide for Red Hat Enterprise Linux, CentOS, and Fedora
- OpenStack Juno Scripted Install with Neutron on CentOS 7
References
-
Openstack-install-guide-yum-juno.pdf ↩