This post will help you to Install & Configure Openstack Liberty on Centos7.x
If you are interested in learning, Request you to go through the below recommended tutorial.
DevOps Full Course Tutorial for Beginners - DevOps Free Training Online
Docker Full Course Tutorial for Beginners - Docker Free Training Online
Kubernetes Full Course Tutorial for Beginners - Kubernetes Free Training Online
Ansible Full Course Tutorial for Beginners - Ansible Free Training Online
Openstack Full Course Tutorial for Beginners - Openstack Free Training Online
As explained in the previous articles, Openstack is a complete set of project which consists of several components. These are inter-related components that control the hardware pools of processing, storage and networking resources throughout a data center. Refer the link to know more about the Openstack components.
To deploy the Openstack cloud environment for your organization, we need to install these components on single server as standalone / Single Node configuration or on interconnected servers as multi-node configuration.
To start, we will explain you how to install these components all together on a single server as Standalone / Single Node configuration which will make you to understand the basics. we will cover the multi-node configuration in the upcoming articles.
Steps to Install & Configure Openstack Liberty on Centos7.x
This post explains you, how to setup the Openstack Packages on CentOS7/RHEL7 through RDO repository. Here we use the Latest Openstack release "LIBERTY" Which was released on Oct, 2015.
Our Lab Setup:
Operating System : CentOS 7.x - 64 Bit
Hostname : linux1.learnitguide.net
IP Address : 192.168.2.10
Prerequisites:
1. Server with OS CentOS7.x
2. Minimum One Network Adapter with Internet connection (Internet Connection is needed to make the installation easier)
3. Virtualization Extenstions should be enabled.
4. Enable the CentOS-Vault.repo under /etc/yum.repos.d
Step 1: Install RDO Repository
Update the Packages and Install the RDO repo using the below command.
yum -y update
yum -y install https://www.rdoproject.org/repos/rdo-release.rpm
RDO stands for RPM Distribution of Openstack. RDO is community of users and free distribution of Redhat linux packages(CentOS, Fedora and Redhat Enterprise Linux). Refer the following link for more information https://www.rdoproject.org/rdo/faq/.
Step 2: Install Openstack Installer "Packstack"
Packstack is a utility that uses Puppet modules to deploy various parts of OpenStack on multiple pre-installed servers over SSH automatically.
yum -y install openstack-packstack
Step 3: Deploy Openstack
Packstack can be used to install each OpenStack service on separate servers, an ''allinone'' server, or any combination of these. There are three ways that Packstack can be run.
packstack
packstack [options]
packstack --gen-answer-file=<file> [options] / packstack --answer-file=<file>
The third option allows the user to generate a default answer file, edit the default options, and finally run Packstack a second time using this answer file. This is the easiest way to run Packstack.
ALSO WATCH THIS OPENSTACK INSTALLATION TUTORIAL VIDEO FREE ON OUR YOUTUBE CHANNEL
So the command is,
packstack --gen-answer-file=/root/answer.txt
Edit the answer.txt file to set the needed parameters as per the requirement. We can choose, which services are need to be installed using this answer file.
# Disable Demo Version
CONFIG_PROVISION_DEMO=n
# Set KeyStone Admin Password or Admin user Password
CONFIG_KEYSTONE_ADMIN_PW=redhat
# Disable Nagios
CONFIG_NAGIOS_INSTALL=n
Save and Exit from the answer file.
Step 4: Install OpenStack using Answer file
Execute the below command to start the Openstack installation.
packstack --answer-file /root/answer.txt
Once the Installation process is completed, See the last few lines from the output of the above command, which will show you the dashboard link and your login credentials will be stored in the file "keystonerc_admin" under your home directory.
We can login to the Openstack web interface dashboard to create and manage the Openstack Cloud environment.
We have done the Openstack installation successfully, we will explain you how to work with the dashboard and how to create, manage and delete the Instance in the next articles.
Keep practicing and have fun. Leave your comments if any.
Support Us: Share with your friends and groups.
Stay connected with us on social networking sites, Thank you.
install openstack liberty, configure openstack liberty, how to install openstack liberty, install openstack on centos, install openstack linux
0 Comments