OpenStack

From Network Security Wiki


Installation

Basics

Requirement:

CentOS VM
16 GB RAM
100 GB HDD

Remove unneeded services:

systemctl stop postfix firewalld NetworkManager
systemctl disable postfix firewalld NetworkManager
systemctl mask NetworkManager
yum remove postfix NetworkManager NetworkManager-libnm

Completely disable Selinux policy

setenforce 0
getenforce
vi /etc/selinux/config
SELINUX=disabled

Set hostname

hostnamectl set-hostname cloud.centos.lan

Install NTP

yum install ntpdate 

Install OpenStack

OpenStack will be deployed with the help of PackStack package provided by rdo repository (RPM Distribution of OpenStack):

yum install https://www.rdoproject.org/repos/rdo-release.rpm 

On CentOS 7, the Extras repository includes the RPM that actives the OpenStack repository.
Extras is already enabled, so you can easily install the RPM to setup the OpenStack repository:

yum install -y centos-release-openstack-mitaka
yum update -y


Packstack represents a utility which facilitates the deployment on multiple nodes for different components of OpenStack via SSH connections and Puppet modulesL

yum install  openstack-packstack

Generate an answer file for Packstack with the default configurations which will be later edited with the required parameters in order to deploy a standalone installation of Openstack (single node):

packstack --gen-answer-file='date +"%d.%m.%y"'.conf
ls




References





{{#widget:DISQUS |id=networkm |uniqid=OpenStack |url=https://aman.awiki.org/wiki/OpenStack }}