Chapter 2. Setting up Trove with DevStack in a Box

There are several distributions of OpenStack that are available out there and almost all of them can be used along with Trove. Since the focus of this book is Trove and not so much deploying OpenStack itself, we will set up Trove along with DevStack, which is a script that helps in quickly setting up a development environment of OpenStack.

In this chapter, we will look at setting up our Stack in a single node deployment and follow up with setting up the Trove system. In brief, this chapter will deal with:

  • Prerequisites for following along with this book
  • Understanding DevStack and its components
  • Setting up the Trove system with DevStack
  • Working with screen and performing some functions in DevStack

At the end of the book, we will have a working Trove install in less than a couple of hours. It is not recommended to use this method (using DevStack) to roll out a production environment.

Requirements

In order to use DevStack, the requirements are fairly minimal and the setup is fairly easy. We can set up a range of deployments right from a single node deployment to a multiple node deployment in a few moments. The following list shows what we need.

Operating system

DevStack runs on Ubuntu, RHEL, and Fedora and can work on most other popular Linux distributions. The latest releases of these operating systems are supported. In this book, we will be using Ubuntu 14.04 as our base operating system for the DevStack install.

Database

From a database perspective, DevStack runs with MySQL (or Maria DB) and PostgreSQL. We will be using Maria DB (the open source fork of MySQL) in this book.

Messaging queue

DevStack supports both RabbitMQ and QPID. In this book, we will be using RabbitMQ.

Web server

Apache is supported by DevStack and we will be using this in our installation.

Internet connection

Internet connection is a must as the script will pull the actual repositories from GitHub in order to install the OpenStack services. You can use a direct Internet connection or a connection through a proxy.

Tip

The process to use a proxy is shown in the following sections, but please note that this is completely optional and only to be used when we are using a proxy in an enterprise lab environment. If not using the proxy, you can safely ignore these commands.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.149.213.44