Book Image

OpenStack Sahara Essentials

By : Omar Khedher
Book Image

OpenStack Sahara Essentials

By: Omar Khedher

Overview of this book

The Sahara project is a module that aims to simplify the building of data processing capabilities on OpenStack. The goal of this book is to provide a focused, fast paced guide to installing, configuring, and getting started with integrating Hadoop with OpenStack, using Sahara. The book should explain to users how to deploy their data-intensive Hadoop and Spark clusters on top of OpenStack. It will also cover how to use the Sahara REST API, how to develop applications for Elastic Data Processing on Openstack, and setting up hadoop or spark clusters on Openstack.
Table of Contents (14 chapters)

Installing OpenStack


For our test environment setup, we will use VirtualBox. So, we will run both the cloud controller and compute node in virtual machines. For a proper and stable setup, it might be necessary to go through a few system requirements first.

Network requirements

Since we are using VirtualBox, the physical host must have access to the Internet.

Note

Since CentOS/RHEL 6, a predictable network device naming rule has been introduced for network interfaces. It is adopted by default on CentOS/RHEL 7. For the sake of simplicity, it would be more practical to control the naming conventions of network interfaces by assigning simple and easy names. In order to rename an interface on CentOS/RHEL 7, disable the predictable naming rule by editing the /etc/default/grub file and passing the net.ifnames=0 kernel parameter to the GRUB_CMDLINE_LINUX variable when the system boots. Regenerate the GRUB configuration with the updated kernel parameters using the grub2-mkconfig command-line tool. Add...