售 价:¥
温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印
为你推荐
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
买过这本书的人还买过
读了这本书的人还在读
同类图书排行榜