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

Troubleshooting


If an instance doesn't boot or move to an active state, here are a few steps that you can perform to fix the issues:

  1. Check if the Nova instance has booted: This is the first step. Check if the nova instance has successfully changed its state to Running. If not, you may have to troubleshoot the nova system and look at the logs of nova.

  2. Guest agent startup: Check that the guest agent is successfully able to start up. You can do this by logging in to the VNC console (if you have set up user credentials) or SSH (if you have set up keys while creating the image).

  3. cloud-init: Verify that cloud-init is working as it needs to inject the configuration files for the guest agent.

  4. Network between the Trove guest agent and RabbitMQ:

    • Remember that the Trove guest agent needs to connect to the message queue to retrieve its task. If the message is sitting in the guestagent.<uuid> queue for a long time and is never acknowledged, then there might be a network issue.

    • Ensure that the trove-guestagent...