Book Image

OpenStack Trove Essentials

By : Alok Shrivastwa, Sunil Sarat, Doug Shelley, Amrith Kumar
Book Image

OpenStack Trove Essentials

By: Alok Shrivastwa, Sunil Sarat, Doug Shelley, Amrith Kumar

Overview of this book

OpenStack has become an extremely popular solution to build public and private clouds with. Database as a Service (DBaaS) enables the delivery of more agile database services at lower costs. Some other benefits of DBaaS are secure database deployments and compliance to standards and best practices. Trove is a DBaaS built on OpenStack and is becoming more popular by the day. Since Trove is one of the most recent projects of OpenStack, DBAs and system administrators can find it difficult to set up and run a DBaaS using OpenStack Trove. This book helps DBAs make that step. We start by introducing you to the concepts of DBaaS and how is it implemented using OpenStack Trove. Following this, we look at implementing OpenStack and deploying Trove. Moving on, you will learn to create guest images to be used with Trove. We then look at how to provision databases in self-service mode, and how to perform administration tasks such as backup and recovery, and fine-tuning databases. At the end of the book, we will examine some advanced features of Trove such as replication.
Table of Contents (15 chapters)
OpenStack Trove Essentials
Credits
About the Authors
About the Reviewer
www.PacktPub.com
Preface
Index

DevStack


DevStack, as we have already discussed, is a script that installs the other OpenStack components in a development environment. There are several modes in which DevStack can be installed, but the only thoroughly tested mode is the All-In-One Single box installation.

The DevStack script itself is located on the GitHub and needs to be pulled from there. This ensures that we always have the latest script.

Downloading the DevStack script

DevStack can be downloaded by the git clone command. We will clone that in our home directory.

cd ~
git clone https://git.openstack.org/openstack-dev/devstack

This will clone the DevStack project onto the local devstack folder. Since we are using a proxy server, this may not work right off the bat. If you don't have a proxy server, then you can skip this section.

Using a proxy with GitHub

In order to make git work with a proxy, we will use corkscrew. We will need the following information:

Name

Value

Proxy IP

172.21.2.17

Proxy port

80

Proxy username...