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

Working with screen


Since we are using DevStack in this book, screen becomes a core concept of running DevStack. In this section, we will take a look at some screen commands and how we will be using them in order to interact with DevStack.

Screen is software that essentially is a window manager in Linux. It helps the user to use multiple shell windows from a single SSH session. This is recommended to be used when we have a long running command that needs to survive network disruptions.

Screen is normally used to run long running processes. DevStack creates and runs its entire services in its own screen and if you were to use the ~/devstack/restack.sh script, it would connect you to the already running screen session.

We installed screen as a prerequisite earlier in the chapter; let us now look at some of the commands that will help us.

Screen control key

Pressing Ctrl + A activates the control mode and any key you press after that is passed as a control key and not as a key press sent to the...