Hi all. I’ve decided to put together Openstack Lab guide for those who would like to test and learn about Openstack Cloud Computing platform. This is part one of Openstack Lab guide.
In this guide, we’ll go through process of Setting up networking, Configuring hostname, installing any necessary software package needed for smooth running of Openstack. If you’re new to Openstack don’t worry since we’ll go step by step to get Openstack running on your Home Lab.
I recommend you do this on a Laptop, computer or any server with at least 4GB ram, 4 virtual cpu cores and 30 GB free hard disk space. This Lab guide is done on host Machine running CentOS 7.2. You can do this on KVM guest CentOS 7.x server, all you have to do is make sure you’ve KVM nested virtualization enabled.
NOTE: If you’re using CentOS 7 server running on Hypervisor, i recommend you use KVM. If you run on hypervisor like VirtualBox, you’ll default to using QEMU as compute driver and performance won’t be appealing.KVM supports nested virtualization hence you’ll get good performance when launching/running Nova Virtual Machines.
See tutorial below on how to enable nested virtualization for KVM.
Since this is a all in one installation, we’ll run all Openstack services on single node.The services we’ll install and configure throughout this series include:
- Openstack OpenStack Identity (keystone) Service
- OpenStack Image Service ( Glance) Service
- OpenStack Compute Service (Nova)
- OpenStack Dashboard (Horizon) Service
- OpenStack Network (Neutron) Service
- OpenStack Block Storage (Cinder) Service
- OpenStack Object Storage (Swift) Service
- OpenStack Orchestration Service (Heat) Service
- OpenStack Metering Service (Ceilometer) Service
I assume you already have installed CentOS 7.x server. I have a good tutorial on:
- The first step is to configure hostname:
- Set timezone
- Configure ip address information:
Let’s now configure ip address for our server. First check interface name that you’ll configure:
Then set ip related information:
If you copied configuration and would like to change uuid, generate new uuid using uuidgen tool:
Change settings according to your requirements, then restart networking:
- Add Repos
- Setup Environment
- Install required prerequisite Packages:
Do system update:
Install NTP service:
Install Openssh clients:
MariaDB Database server:
Install Memcached :
Start all the services:
Set all services above to start at boot:
Install net-tools package and bash-completion if you don’t have them:
We’re done with Part 1, in part two, we’ll cover installation of Openstack Packages: