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

Instance creation using the guest image


Once we run the command, the following steps are executed and the Trove instance is requested:

  1. The Trove API service authenticates with Keystone and gets the token.

  2. The Trove API validates the Trove flavor to check if it is valid.

  3. The Trove API hands off to the task manager with a Create Instance API call after generating a unique identifier for the Trove database instance.

  4. The task manager prepares the file for injection. There are two files:

    • trove-guestagent.conf: This has the guest agent configuration with the Trove, RabbitMQ's URL, and user credentials alongside the Keystone URL – we configured this file in the previous chapter

    • guest_info.conf: This file is generated and has three major things:

      • The guest_id: This is actually the unique identifier generated by the Trove API

      • The datastore manager: This is the database type that will be used

      • Tenant ID: The Keystone tenant ID

  5. The task manager, along with the files, sends the API command to Nova to boot the...