万本电子书0元读

万本电子书0元读

顶部广告

OpenStack Trove Essentials电子书

售       价:¥

0人正在读 | 0人评论 9.8

作       者:Alok Shrivastwa

出  版  社:Packt Publishing

出版时间:2016-03-30

字       数:111.1万

所属分类: 进口书 > 外文原版书 > 电脑/网络

温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印

为你推荐

  • 读书简介
  • 目录
  • 累计评论(0条)
  • 读书简介
  • 目录
  • 累计评论(0条)
Build your own cloud based Database as a Service using OpenStack Trove About This Book Familiarize yourself with the concept of Database as a Service and make your existing system scalable and efficient with OpenStack Trove Minimize the administrative tasks and complexities of managing your cloud infrastructure This is a fast-paced guide to datastore management on the OpenStack platform using OpenStack Trove Who This Book Is For If you are a DBA / system administrator / architect, or a student who wants to build a Database as a Service based on OpenStack, this book is for you. You should have a basic knowledge of OpenStack components, RDBMS/NoSQL, IaaS, and cloud computing. What You Will Learn Get to grips with the basics of OpenStack and the prerequisites to install Trove Understand the expectations of DBaaS and how Trove can help you achieve them Set up a basic installation of DevStack (Development Stack) in a virtual box Install Trove and utilize its configuration groups to manage and tune databases Use Image builder to create guest images for Trove Utilize Trove to provision your first database instance Back up and restore your databases with the help of Trove In Detail 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. Style and approach This fast-paced, step-by-step guide introduces you to DBaaS, OpenStack Trove, and its components, leading you through building your own Cloud-based DBaaS. Using the DevStack deployment method, you will spend less time on installing OpenStack so you can devote more time to learning how to provision and manage databases in a DBaaS environment.
目录展开

OpenStack Trove Essentials

Table of Contents

OpenStack Trove Essentials

Credits

About the Authors

About the Reviewer

www.PacktPub.com

eBooks, discount offers, and more

Why subscribe?

Preface

What this book covers

What you need for this book

Who this book is for

Conventions

Reader feedback

Customer support

Errata

Piracy

Questions

1. Introducing OpenStack Trove

Database as a Service

Advantages

Reduced database management costs

Faster provisioning and standardization

Easier administration

Scaling and efficiency

Trove

Architecture

Shared components

The message bus

MySQL/MariaDB

API

The task manager

The guest agent

The conductor

Terminology

Datastore

Datastore version

Instance

Configuration group

Flavor

Database

A multi-datastore scenario

Database software distribution support

Putting it all together

Use cases

Dev/test databases

Web application databases

Features

The Juno release

The Kilo release

The Liberty release

Summary

2. Setting up Trove with DevStack in a Box

Requirements

Operating system

Database

Messaging queue

Web server

Internet connection

Preparing the server

Minimum configuration required

Server configuration

Setting the IP address

Installing prerequisites

Adding a user

Installing packages

DevStack

Downloading the DevStack script

Using a proxy with GitHub

Understanding the DevStack files

stack.sh

unstack.sh

rejoin-stack.sh

run_test.sh

exercise.sh

clean.sh

local.sh

Configuring the DevStack installation

Step 1 – copy the local.conf file from the samples directory to the base directory

Step 2 – modify the localrc section

Step 3 – modify the local.conf to install Trove and Swift

Installing DevStack

Using a proxy server

Verifying the installation

Troubleshooting the install

Working with screen

Screen control key

Useful commands

DevStack and screen

Killing DevStack

Restarting DevStack services

Summary

3. Installing Trove in an Existing OpenStack Environment

Different methods of deploying OpenStack

Required OpenStack services

Planning the install

Where to install the Trove components

Take a backup

Installing Trove

Installing Trove from source

Installing with the Ubuntu OpenStack repository

Configuring Trove

Setting up the MySQL database

Keystone configuration

Modifying the configuration files

trove.conf

trove-taskmanager.conf and trove-conductor.conf

trove-guestagent.conf

Initializing the Trove database

Restarting the services

Summary

4. Preparing the Guest Images

Structure of a guest image

Instance creation using the guest image

Creating the Trove guest image

Installation using configuration management systems

Installation using templates

Disk Image Builder

Installing the DIB

Basic working of the DIB

Installing Trove-integration scripts and TripleO

SSH keys

Install Percona keys (only if using proxies)

Creating your own DIB elements (optional)

Creating images using the DIB

Exporting environment variables

Building the QCOW2 image

Red stack scripts

Uploading the Trove images

Modify QCOW2 images using guestfish

Installing guestfish

Loading the images

Modify the files on the image

Send commands

Example: Adding a user to the Ubuntu QCOW2 image

Summary

5. Provisioning Database Instances

Checking for prerequisites

Launching our first instance

Logging into the instance via SSH

Launching the instance using the GUI

Connect to the database instance

Instance operations

Resize

Terminate the Trove instances

Troubleshooting

Summary

6. Configuring the Trove Instances

Default datastore and version configuration

Modifying the instance configuration

Configuration groups

Defining configuration parameters

Uploading configuration parameters

Creating a configuration

Applying the configuration to an instance

Verification

Viewing the configuration

Patching the configuration

Updating the configuration

Removing the configuration

Verification

Adding a new parameter

Summary

7. Database Backup and Restore

Formulating a backup and recovery plan

Backing up/restoring in Trove

The concept of strategies in Trove

The backup/restore strategy in action

Configuring the backup strategies

Configuring the storage strategies

Backup prerequisites

Backups and restores

Full backup

Incremental backup

Viewing the backup

Restoring backups

Deleting backups

Summary

8. Advanced Database Features

Replication and clustering

Replication

Clustering

Replication in Trove

Supported data stores

Setting up replications

Creating a replicated pair

Verifying replication

Failover options

Promote to the replica master

Eject the master

Detach replica

Clustering in Trove

Supported data store

Creating and uploading the MongoDB image

Creating a cluster

Summary

Index

累计评论(0条) 0个书友正在讨论这本书 发表评论

发表评论

发表评论,分享你的想法吧!

买过这本书的人还买过

读了这本书的人还在读

回顶部