You can download this article in PDF format via the link below to support us.Download the guide in PDF formatClose
After completing the first part of the Openstack Lab guide series:
Openstack Liberty Lab Part 1: Setting up the network and all prerequisites
We are ready to install the Openstack package in the second part of the guide. Starting from the third part, we will configure it. All the packages we will install include:
- Openstack OpenStack identity (critical) service
- OpenStack Image Service (Overview) Service
- OpenStack Computing Service (Nova)
- OpenStack dashboard (Horizon) service
- OpenStack network (Neutron) service
- OpenStack block storage (Cinder) service
- OpenStack Object Storage (Fast) Service
- OpenStack Orchestration Service (Hot) Service
- OpenStack metering service (ceilometer) service
We will configure it in the order of installation later. Start from Keystone to complete the configuration of Ceilometer metering service. Without much theory, let’s start installing the above services. Note: You must enable both epel and rdo-release repositories. To view the list of enabled repositories in CentOS /RHEL, do the following:
[[email protected] ~]# yum repolist
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirror.bitco.co.za
* epel: ftp-stud.hs-esslingen.de
* extras: mirror.bitco.co.za
* updates: mirror.bitco.co.za
repo id repo name status
base/7/x86_64 CentOS-7 - Base 9,007
epel/x86_64 Extra Packages for Enterprise Linux 7 - x86_64 9,692
extras/7/x86_64 CentOS-7 - Extras 228
openstack-liberty/x86_64 OpenStack Liberty Repository 976
updates/7/x86_64 CentOS-7 - Updates 991
repolist: 20,894
[[email protected] ~]#
In addition, you can enable cat and grep from the repo content:
[[email protected] ~]# cat /etc/yum.repos.d/epel.repo | grep enabled
enabled=1
enabled=0
enabled=0
[[email protected] ~]# cat /etc/yum.repos.d/rdo-release.repo | grep enabled
enabled=1
[[email protected] ~]#
From the epel repository output, we only need to enable the first repository, which contains stable Extra Packages for Enterprise Linux 7. Since the repositories we need are enabled, we can proceed to install the Openstack service package. Remember, this is an Openstack Libery ALL IN ONE installation, and we run all openstack services on a single node server.
- Install the Openstack OpenStack identity (critical) service:
[[email protected] ~]# yum -y install python-openstackclient openstack-keystone openstack-utils python-memcached
- Install OpenStack Image Service (Glance) service:
[[email protected] ~]# yum -y install openstack-glance
- Install OpenStack Computing Service (Nova):
[[email protected] ~]# yum -y install openstack-nova openstack-nova-network openstack-nova-compute openstack-nova-api
- Install the OpenStack dashboard (Horizon) service:
[[email protected] ~]# yum -y install openstack-dashboard openstack-nova-novncproxy
- Install OpenStack Network (Neutron) service:
[[email protected] ~]# yum -y install openstack-neutron openstack-neutron-ml2 openstack-neutron-linuxbridge python-neutronclient ebtables ipset
- Install OpenStack block storage (Cinder) service:
[[email protected] ~]# yum -y install openstack-cinder targetcli
- Install OpenStack object storage (fast) service:
[[email protected] ~]# yum -y install openstack-swift-proxy openstack-swift-account xfsprogs openstack-swift-container openstack-swift-object
- Install OpenStack Orchestration Service (Hot) Service:
[[email protected] ~]# yum -y install openstack-heat-common python-heatclient openstack-heat-api openstack-heat-engine openstack-heat-api-cfn
- Install the OpenStack Metering Service (ceilometer) service:
[[email protected] ~]# yum -y install openstack-ceilometer-api openstack-ceilometer-compute openstack-ceilometer-central openstack-ceilometer-collector openstack-ceilometer-alarm openstack-ceilometer-notification python-ceilometerclient python-oslo-policy python-ceilometer python-ceilometerclient
We have installed all Openstack services and these services will be configured in the subsequent parts of this series. If you want to install other Openstack service packages, such as load balancers, firewalls, Trove, etc., you can also install them here.
Previous:
Openstack Liberty Lab Part 1: Setting up the network and all prerequisites
Next article:
Openstack Liberty Lab Part 3: Configure Keystone Identity Service
You can download this article in PDF format via the link below to support us.Download the guide in PDF formatClose