Book Image

Extending OpenStack

By : Omar Khedher
Book Image

Extending OpenStack

By: Omar Khedher

Overview of this book

OpenStack is a very popular cloud computing platform that has enabled several organizations during the last few years to successfully implement their Infrastructure as a Service (IaaS) platforms. This book will guide you through new features of the latest OpenStack releases and how to bring them into production straightaway in an agile way. It starts by showing you how to expand your current OpenStack setup and how to approach your next OpenStack Data Center generation deployment. You will discover how to extend your storage and network capacity and also take advantage of containerization technology such as Docker and Kubernetes in OpenStack. Additionally, you'll explore the power of big data as a Service terminology implemented in OpenStack by integrating the Sahara project. This book will teach you how to build Hadoop clusters and launch jobs in a very simple way. Then you'll automate and deploy applications on top of OpenStack. You will discover how to write your own plugin in the Murano project. The final part of the book will go through best practices for security such as identity, access management, and authentication exposed by Keystone in OpenStack. By the end of this book, you will be ready to extend and customize your private cloud based on your requirements.
Table of Contents (12 chapters)

Rolling OpenStack Sahara service

In the following section, we will integrate and configure Sahara in an existing OpenStack environment:

  1. Install the Sahara CLI and API services package on the cloud controller nodes:
# yum install openstack-sahara
  1. Configure the Sahara database by entering the database connection URL in the main Sahara configuration file. Make sure that you create a valid database:
    # vim /etc/sahara/sahara.conf
    connection mysql://sahara:[email protected]:3306/sahara
  1. Create a Sahara database schema:
# sahara-db-manage --config-file /etc/sahara/sahara.conf \ upgrade head
  1. The next step requires a valid identification of the Sahara service in the OpenStack environment. As with any other OpenStack service, we will need to authenticate Sahara through Keystone. Start by creating a Sahara user:
    # keystone user-create...