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’]
CONFIG_MARIADB_INSTALL=y

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

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

# Specify ‘y’ to install OpenStack Shared File System (manila). [‘y’,
# ‘n’]
CONFIG_MANILA_INSTALL=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=10.226.2.247   –> contains controlling services

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

CONFIG_NETWORK_HOSTS=10.226.2.247   –> host where neutron server be running

CONFIG_STORAGE_HOST=10.226.2.248 –> 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:

WordPress.com Logo

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

Google photo

You are commenting using your Google 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