There are a few questions that will help you narrow down the path you might want
to take. First though, its
important to clarify that there are many parts of OpenStack that handle different situations. These part of
OpenStack are called Projects. You do not need to learn about all Projects at this time to get started
creating a cloud.
The number of Projects can be daunting, but in a typical starting setup to learn how to implement OpenStack
you will only use the following plus maybe one or two more based on your situation:
OpenStack Nova – Virtual Machine based Compute
OpenStack Neutron – private networking
OpenStack Cinder – Block Storage
OpenStack Horizon – dashboard for users and some administration
OpenStack Keystone – user and API access permission management
OpenStack Glance – VM images are stored here
OpenStack Placement – tracks and controls resources and usage of them
With that out of the way, the next question. Are you learning how to build a private cloud with OpenStack for
educational purposes or because your company will need a cloud in the near future?
Steps to Install OpenStack
The steps required to install OpenStack are as follows:
Step 1: Install Virtual Box or Create Virtual Machine.
Download the Oracle virtual box and create the VM machine with a specific configuration of 64 bit OS with
8GB RAM and 300 GB of memory. After creating your VM for a specific OS that you required, open the
terminal and disable the firewall.
Step 2: Download the OpenStack version.
Use the below command to download the OpenStack version through the terminal. The command is ‘yum
install –y centos-release-OpenStack-newton.’
Step 3: Update the packages.
Use the below command to update the package. The command is ‘yum update –y’.
Step 4: Use the tool to install OpenStack.
With the help of packstack, all the OpenStack services can be installed in one go, and it will take care of all the
install part for OpenStack. It can be installed without the tool’s help as well, but it requires a lot of time to
install the services one by one. The command is ‘yum install –y OpenStack-packstack’.
Step 5: Installing services.
The below command is used to install all the services or components for OpenStack. The command is
‘packstack –allinone’. It will install everything and installation complete for OpenStack.
(This script we’re using is part of DevStack itself)
The script will install the listed features for your OpenStack environment –
Horizon – OpenStack Dashboard
Keystone – Identity Service
Nova – Compute Service
Glance – Image Service
Neutron – Network Service
Placement – Placement API
Cinder – Block Storage Service