Deploying Openstack easy way

Openstack has dozens of components, therefore there are many possible configurations possible. We start with the basic deployment — All-in-one Node configuration. That means all the required (core) components are installed and configured in single node (server).

Two ways

  1. Beginners can start with the Devstack or RDO (packstack) 
  2. Install and configure each service through yourself as per your need.

I initially begin with the Packstack installation. You can follow the link for installation – Deployment through Packstack Prepare one server or you can do it in VBox machine as well, install CentOS 7 or higher. During your installation you may get some errors or your installation may hang. It is recommended that  you check logs created during the installation.

answer.txt file looks like this

# Specify ‘y’ to install MariaDB. [‘y’, ‘n’]

# Specify ‘y’ to install OpenStack Image Service (glance). [‘y’, ‘n’]

# Specify ‘y’ to install OpenStack Block Storage (cinder). [‘y’, ‘n’]

# Specify ‘y’ to install OpenStack Shared File System (manila). [‘y’,
# ‘n’]

You can choose which components you want to install and ignore others. If everything go well you will be able to access the dashboard through link prompted at the end of your installation. Ready to go.

If you choose to configure the components all by yourself then I will refer you to follow the steps given in Openstack Documents.

Rather than repeating those steps in post i will throw some light on difficulties you may come across as you go.

Clarifications :

Openstack docs suggests you the classic way of deploying the cloud. Like hardware requirements. I have started with two servers, 1 controller and 1 compute.

This is highly recommended that you get yourself familiar first with Packstack deployment. You can also specify certain attributes in answer.txt like,

CONFIG_CONTROLLER_HOST=   –> contains controlling services

CONFIG_COMPUTE_HOSTS=,  –> where compute service will be running (nova-compute). Do not get confuse with the other nova services running on controller.

CONFIG_NETWORK_HOSTS=   –> host where neutron server be running

CONFIG_STORAGE_HOST= –> where storage service like glance and cinder be running

These are some of attributes, explore other by yourself.

In next post we will discuss the detailed deployment architecture.



Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s