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

Installing Trove


We will take a look at installing Trove from its source and also using the Ubuntu OpenStack distribution repository.

Installing Trove from source

If our current distribution doesn't support Trove, or we have installed the production environment from source, we will have to choose to install Trove directly from source.

It is assumed that all the services that Trove requires (like Nova, Swift, and Keystone) are already installed and we also have the details about the supporting components like the MySQL and RabbitMQ services.

We will need to ensure that the following packages are installed. We just use aptitude to check and install them if they don't already exist.

sudo apt-get install build-essential libxslt1-dev qemu-utils mysql-client
sudo apt-get install python-dev python-pexpect python-mysqldb libmysqlclient-dev

After this is complete, we will have to install the latest versions of setuptools and pip. We will install this in the user directory so as to not conflict with the...