售 价:¥
温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印
为你推荐
OpenStack Cloud Computing Cookbook Third Edition
Table of Contents
OpenStack Cloud Computing Cookbook Third Edition
Credits
Foreword
About the Authors
About the Reviewers
www.PacktPub.com
Support files, eBooks, discount offers, and more
Why Subscribe?
Free Access for Packt account holders
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Downloading the example code
Downloading the color images of this book
Errata
Piracy
Questions
1. Keystone – OpenStack Identity Service
Introduction
Installing the OpenStack Identity Service
Getting ready
How to do it...
How it works...
Configuring OpenStack Identity for SSL communication
Getting ready
How to do it...
How it works...
Creating tenants in Keystone
Getting ready
How to do it...
How it works...
Configuring roles in Keystone
Getting ready
How to do it...
How it works...
Adding users to Keystone
Getting ready
How to do it...
How it works...
Defining service endpoints
Getting ready
How to do it...
How it works...
Creating the service tenant and service users
Getting ready
How to do it...
How it works...
Configuring OpenStack Identity for LDAP Integration
Getting ready
How to do it...
How it works...
2. Glance – OpenStack Image Service
Introduction
Installing OpenStack Image Service
Getting ready
How to do it...
How it works...
See also
Configuring OpenStack Image Service with OpenStack Identity Service
Getting ready
How to do it...
How it works...
Configuring OpenStack Image Service with OpenStack Object Storage
Getting ready
How to do it...
How it works...
Managing images with OpenStack Image Service
Getting ready
How to do it...
Uploading Ubuntu images
Listing images
Viewing image details
Deleting images
Making private images public
How it works
Registering a remotely stored image
Getting ready
How to do it...
How it works...
Sharing images among tenants
Getting ready
How to do it...
How it works...
Viewing shared images
Getting ready
How to do it...
How it works...
Using image metadata
Getting ready
How to do it...
Updating image properties
Deleting all image properties
Deleting specific image properties
Using metadata for host scheduling
How it works...
See also
Migrating a VMware image
Getting ready
How to do it...
How it works...
Creating an OpenStack image
Getting ready
How to do it...
How it works...
3. Neutron – OpenStack Networking
Introduction
Installing Neutron and Open vSwitch on a dedicated network node
Getting ready…
How to do it...
How it works...
Configuring Neutron and Open vSwitch
Getting ready
How to do it...
How it works...
Installing and configuring the Neutron API service
Getting ready
How to do it...
How it works...
See Also
Creating a tenant Neutron network
Getting ready
How to do it...
How it works...
Deleting a Neutron network
Getting ready
How to do it...
How it works...
Creating an external floating IP Neutron network
Getting ready
How to do it...
How it works...
Using Neutron networks for different purposes
Getting ready
How to do it...
How it works...
Configuring Distributed Virtual Routers
Getting ready
How to do it...
Network node
The Controller Node
Compute nodes
How it works...
Using Distributed Virtual Routers
Getting ready
How to do it...
How it works...
4. Nova – OpenStack Compute
Introduction
Installing OpenStack Compute controller services
Getting ready
How to do it...
How it works...
Installing OpenStack Compute packages
Getting ready
How to do it...
How it works...
There’s more...
Using an alternative release
Configuring database services
Getting ready
How to do it...
How it works...
See also
Configuring OpenStack Compute
Getting ready
How to do it...
How it works...
There’s more...
See also
Configuring OpenStack Compute with OpenStack Identity Service
Getting ready
How to do it...
How it works...
Stopping and starting nova services
Getting ready
Controller
Compute
How to do it...
How it works...
Installation of command-line tools on Ubuntu
Getting ready
How to do it...
How it works...
See also
Using the command-line tools with HTTPS
Getting ready
How to do it...
How it works...
Checking OpenStack Compute services
Getting ready
How to do it...
How it works...
Using OpenStack Compute
Getting ready
How to do it...
How it works...
Managing security groups
Getting ready
How to do it...
Creating security groups
Removing a rule from a security group
Deleting a security group
How it works...
Defining groups and rules using Nova client
Creating and managing key pairs
Getting ready
How to do it...
Listing and deleting key pairs using Nova client
Listing the key pairs
Deleting the key pairs
How it works...
Launching our first cloud instance
Getting ready
How to do it...
How it works...
Fixing a broken instance deployment
Getting ready
How to do it...
How it works...
Terminating your instances
How to do it...
How it works...
Using live migration
Getting ready
Checking network connectivity
Ensuring resources
How to do it...
How it works...
Working with nova-schedulers
Getting ready
How to do it...
How it works...
There’s more...
Creating flavors
Getting ready
How to do it...
How it works...
Defining host aggregates
Getting ready
How to do it...
How it works...
Launching instances in specific Availability Zones
Getting ready
How to do it...
How it works...
Launching instances on specific Compute hosts
Getting ready
How to do it...
How it works...
Removing Nova nodes from a cluster
Getting ready
How to do it...
How it works...
5. Swift – OpenStack Object Storage
Introduction
Configuring Swift services and users in Keystone
Getting ready
How to do it...
How it works...
Installing OpenStack Object Storage services – proxy server
Getting ready
How to do it...
How it works...
Configuring OpenStack Object Storage – proxy server
Getting ready
How to do it...
How it works...
See also
Installing OpenStack Object Storage services – storage nodes
Getting ready
How to do it...
How it works...
Configuring physical storage for use with Swift
Getting ready
How to do it...
How it works...
Configuring Object Storage replication
Getting ready
How to do it...
How it works...
Configuring OpenStack Object Storage – storage services
Getting ready
How to do it...
How it works...
Making the Object Storage rings
Getting ready
How to do it...
How it works…
Stopping and starting OpenStack Object Storage
Getting ready
How to do it...
How it works...
Setting up SSL access
Getting ready
How to do it...
How it works...
6. Using OpenStack Object Storage
Introduction
Installing the swift client tool
Getting ready
How to do it...
How it works…
Creating containers
Getting ready
How to do it...
How it works...
Uploading objects
Getting ready
How to do it...
Uploading files
Uploading directories and their contents
Uploading multiple objects
How it works...
Uploading large objects
Getting ready
How to do it...
How it works...
Listing containers and objects
Getting ready
How to do it...
Listing all objects in a container
Listing specific object paths in a container
How it works...
Downloading objects
Getting ready
How to do it...
Downloading objects
Downloading objects with the -o parameter
Downloading all objects from a container
Downloading all objects from our OpenStack Object Storage account
How it works...
Deleting containers and objects
Getting ready
How to do it...
Deleting objects
Deleting multiple objects
Deleting containers
Deleting everything from our account
How it works...
Using OpenStack Object Storage ACLs
Getting ready
How to do it...
How it works
Using Container Synchronization between two Swift Clusters
Getting ready
How to do it...
How it works...
There's more…
7. Administering OpenStack Object Storage
Introduction
Managing the OpenStack Object Storage cluster with swift-init
Getting ready
How to do it...
How it works...
There's more…
Checking cluster health
Getting ready
How to do it...
How it works...
Managing the Swift cluster capacity
Getting ready
How to do it...
Proxy server creation
Storage node creation
How it works...
Removing nodes from a cluster
Getting ready
How to do it...
Proxy Server
How it works...
Detecting and replacing failed hard drives
Getting ready
How to do it...
Storage node
How it works...
Collecting usage statistics
Getting ready
How to do it...
How it works...
8. Cinder – OpenStack Block Storage
Introduction
Configuring Cinder-volume services
Getting ready
How to do it...
How it works...
Configuring OpenStack Compute for Cinder-volume
Getting ready
How to do it...
How it works...
Creating volumes
Getting ready
How to do it...
How it works...
Attaching volumes to an instance
Getting ready
How to do it...
How it works...
Detaching volumes from an instance
Getting ready
How to do it...
How it works...
Deleting volumes
Getting ready
How to do it...
How it works...
Configuring third-party volume services
Getting ready
How to do it...
How it works...
Working with Cinder snapshots
Getting ready
How to do it...
How it works...
Booting from volumes
Getting ready
How to do it...
How it works...
9. More OpenStack
Introduction
Using cloud-init to run post-installation commands
Getting ready
How to do it...
How it works...
There's more…
Using cloud-config to run the post-installation configuration
Getting ready
How to do it...
How it works...
There's more...
Installing OpenStack Telemetry
Getting ready
How to do it...
How it works...
Using OpenStack Telemetry to interrogate usage statistics
Getting ready
How to do it...
How it works...
Installing Neutron LBaaS
Getting ready
How to do it...
How it works...
Using Neutron LBaaS
Getting ready
How to do it...
How it works...
Configuring Neutron FWaaS
Getting ready
How to do it...
How it works...
Using Neutron FWaaS
Getting ready
How to do it...
How it works...
Installing the Heat OpenStack Orchestration service
Getting ready
How to do it...
How it works...
Using Heat to spin up instances
Getting ready
How to do it...
How it works...
10. Using the OpenStack Dashboard
Introduction
Installing OpenStack Dashboard
Getting ready
How to do it...
How it works...
Using OpenStack Dashboard for key management
Getting ready
How to do it...
Adding key pairs
Deleting key pairs
Importing key pairs
How it works...
Using OpenStack Dashboard to manage Neutron networks
Getting ready
How to do it...
Creating networks
Deleting networks
Viewing networks
How it works...
Using OpenStack Dashboard for security group management
Getting ready
How to do it...
Creating a security group
Editing security groups to add and remove rules
Deleting security groups
How it works...
Using OpenStack Dashboard to launch instances
Getting ready
How to do it...
How it works...
Using OpenStack Dashboard to terminate instances
Getting ready
How to do it...
How it works...
Using OpenStack Dashboard to connect to instances using a VNC
Getting ready
How to do it...
How it works...
Using OpenStack Dashboard to add new tenants – projects
Getting ready
How to do it...
How it works...
Using OpenStack Dashboard for user management
Getting ready
How to do it...
Adding users
Deleting users
Updating user details and passwords
Adding users to tenants
Removing users from tenants
How it works...
Using OpenStack Dashboard with LBaaS
Getting ready
How to do it...
Creating pools
Adding pool members
Adding a VIP to the Load Balancer pool
Deleting the Load Balancer
How it works...
Using OpenStack Dashboard with OpenStack Orchestration
Getting ready
How to do it...
Launching stacks
Viewing stack details
Deleting stacks
How it works...
11. Production OpenStack
Introduction
Installing the MariaDB Galera cluster
Getting ready
How to do it...
How it works...
Configuring HA Proxy for the MariaDB Galera cluster
Getting ready
How to do it...
How it works...
Configuring HA Proxy for high availability
Getting ready
How to do it...
OpenStack backend configuration using FloatingIP address
How it works...
Installing and configuring Pacemaker with Corosync
Getting ready
How to do it...
Setting up the first node – controller1
Setting up the second node – controller2
Configuring the first node – controller1
Configuring the second node – controller2
Starting the Pacemaker and Corosync services
How it works...
Configuring OpenStack services with Pacemaker and Corosync
Getting ready
How to do it...
Glance across two nodes with FloatingIP
Configuring Pacemaker for use with Glance and Keystone
How it works...
Bonding network interfaces for redundancy
Getting ready
How to do it...
How it works...
See also
Automating OpenStack installations using Ansible – host configuration
Getting ready
How to do it...
How it works...
Automating OpenStack installations using Ansible – Playbook configuration
Getting ready
How to do it...
How it works...
See also
Automating OpenStack installations using Ansible – running Playbooks
Getting ready
How to do it...
How it works...
There's more...
See also
Index
买过这本书的人还买过
读了这本书的人还在读
同类图书排行榜