售 价:¥
温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印
为你推荐
Production Ready OpenStack - Recipes for Successful Environments
Table of Contents
Production Ready OpenStack - Recipes for Successful Environments
Credits
About the Author
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
Errata
Piracy
Questions
1. Introduction to OpenStack and its Deployment Using Packages
Introduction
OpenStack projects and components
Core services
Optional services
Architectural layouts
All-In-One layout
Controller-Neutron-computes layout
Custom-distributed layout
Choosing a deployment method
Manual deployment from packages
Configuration management tools (Puppet, Chef, Ansible)
PackStack
Foreman with Staypuft plugin
Deploying OpenStack from packages
Environment setup
Environment details
Physical network topology
Configuring hosts prerequisites
Getting ready
How to do it...
Yum repositories
Firewall service
openstack-utils Package
SELinux
NTP
Installing MariaDB database
How to do it...
There's more...
Installing RabbitMQ
How to do it...
There's more...
Installing Keystone – Identity service
Getting Ready
Create Keystone database
Open Keystone service firewall ports
How to do it...
Install service packages
Configure database connection
Keystone service basic configuration
Configure administrative token
Generating and configuring tokens PKIs
How to do it…
Starting and enabling service
Configuring Keystone endpoints
Keystone administrator account
Keystone user account
There's more…
Verify successful installation
Installing Glance – images service
Getting ready
Create database
Create Glance service credentials and endpoint in Keystone
Open service firewall ports
Install service packages
Service configuration
How to do it...
Configure database connection
Configure Glance service
There's more…
Verify successful installation
Installing Nova – Compute service
Getting ready
Create database
Create Keystone service credentials and endpoint
Open service firewall ports
Install service packages
How to do it...
Configure database connection
Configure message broker
Configure service
Start and enable Service
Verify successful installation
Configure compute nodes
Install service packages
Configure database connection
Configure message broker
Configure service
Start and enable Service
Installing Neutron – networking service
Getting ready
Create database
Create Keystone service credentials and endpoint
Open service firewall ports
Install service packages
How to do it…
Configure database connection
Configure message broker
Configure Neutron service
Start and enable service
Configuring Neutron network node
How to do it...
Configure message broker
Configure Neutron service
Start and enable service
Configuring compute node for Neutron
How to do it...
Configure message broker
Configure Neutron service
Creating Neutron networks
Installing Horizon – web user interface dashboard
Getting ready
How to do it...
How it works...
There's more...
Verify successful installation
2. Deploying OpenStack Using Staypuft OpenStack Installer
Introduction
Setting up the environment
Getting ready
Networks layout
Provisioning PXE network
The Tenant network
External public network
Staypuft host
How to do it…
Configure Staypuft to serve as an Internet gateway
Setting YUM repositories
There's more…
Installing Staypuft packages
Getting ready
How to do it…
How it works…
There's more…
See also…
Deploying OpenStack using Staypuft
Discovering hosts for provisioning
Getting ready
Accessing the Staypuft web user interface
How to do it...
Creating a new OpenStack deployment
How to do it...
Configuring a network
How to do it...
Services configuration
How to do it...
Allocating hosts to roles
How to do it...
Configuring host networking
How to do it...
Deploying OpenStack
How to do it...
Verifying successful installation
3. Deploying Highly Available OpenStack
Introduction
Installing Pacemaker
Getting ready
How to do it…
There's more...
Installing HAProxy
Getting ready
How to do it...
Configuring Galera cluster for MariaDB
Getting ready
How to do it...
See also
Installing RabbitMQ with mirrored queues
Getting ready
How to do it...
There's more...
See also
Configuring highly available OpenStack services
Get ready
How to do it...
See also
4. Keystone Identity Service
Introduction
Configuring Keystone with the MariaDB backend
Getting ready
Create Keystone database
Open Keystone service Firewall ports
How to do it...
Install service packages
Configure database connection
Keystone service basic configuration
Configure administrative token
Generating and configuring tokens PKIs
How to do it…
Start and enable service
Configuring Keystone endpoints
Keystone administrator account
Keystone user account
There's more…
Configuring Keystone with Microsoft Active Directory and LDAP
Getting ready
How to do it…
See also
Configuring Keystone caching with Memcached
Getting ready
How to do it…
There's more…
See also
Securing Keystone with SSL
Getting ready
How to do it…
There's more…
See also
5. Glance Image Service
Introduction
Configuring Glance with the local file backend
Getting ready
How to do it...
There's More..
Verifying the configuration
Configuring Glance with the NFS backend
Getting ready
How to do it...
There's more…
Configuring Glance with the Swift backend
Getting ready
How to do it...
There's more…
See also…
Configuring Glance with the Ceph backend
Getting ready
How to do it...
There's more…
See Also…
Configuring Glance image caching
Getting Ready
How to do it…
There's More..
See Also
Configuring the Glance image size limit and storage quota
How to do it...
There's more…
6. Cinder Block Storage Service
Introduction
Configuring Cinder with the logical volume management backend driver
Getting ready
How to do it…
Configuring Cinder with the Ceph RADOS block device backend driver
Getting ready
How to do it…
Configuring Cinder with the Network File System (NFS) backend driver
Getting ready
How to do it…
Configuring Cinder with the Ceph RBD backup driver
Getting ready
How to do it…
Configuring Cinder with multiple backends
Getting ready
How to do it…
Configuring Cinder scheduler filters and weighers
Getting ready
How to do it…
Enabling capacity filter and weigher
Enabling VolumeNumberWeigher
Enabling and configuring DriverFilter and GoodnessWeigher
See also
7. Neutron Networking Service
Introduction
Configuring Neutron VLAN provider network with ML2 and LinuxBridge
Getting ready
How to do it…
Configuring the neutron core ML2 plugin
Configuring the LinuxBridge plugin
Configuring the L3 plugin
Copy configuration and start services
There's more...
Configuring Neutron VXLAN and GRE tenant networks using Open vSwitch
Getting ready
How to do it…
Configuring the neutron core ML2 plugin
Configuring the Open vSwitch plugin
Copy configuration and start services:
There's more...
Configuring the L3 agent with Open vSwitch
Getting ready
How to do it…
There's more...
Configuring the DHCP service agent
How to do it…
Configuring LoadBalancer as a service
Getting ready
How to do it…
There's more...
Configuring Firewall as a Service
How to do it…
There's more…
8. Nova-Compute Service
Introduction
Nova access services
Nova management services
Nova-compute worker service
Nova network services
Configuring Nova Hypervisors
Configuring Nova-compute with KVM Hypervisor
Getting ready
How to do it…
Configuring Nova-compute with a QEMU Hypervisor emulation
How to do it…
Configuring Nova scheduling
Configuring Nova scheduler filters
Getting ready
How to do it…
Filter operational and enabled hosts by ComputeFilter
Multiple scheduling retries with RetryFilter
Memory overcommitment with RamFilter
CPU overcommitment with CoreFilter
Ephemeral disk overcommitment with DiskFilter
ImagePropertiesFilter
Configuring instances affinity group with ServerGroupAffinityFilter
Configuring instances anti-affinity group with ServerGroupAntiAffinityFilter
Configuring Nova host aggregates
Getting ready
How to do it…
Configuring Nova host aggregates filters
How to do it…
AggregateCoreFilter
AggregateDiskFilter
AggregateRamFilter
AggregateNumInstancesFilter
Configuring Nova scheduler weights
Getting ready
How to do it…
Enabling compute metrics monitoring
Enabling and configuring weights scheduling
9. Horizon Dashboard Service
Introduction
Securing Horizon with Secure Socket Layer
Getting ready
How to do it…
There's more...
Configuring Horizon caching with memcached
Getting started
How to do it…
Customizing Horizon dashboard appearance
Changing the OpenStack Horizon landing page logos
How to do it…
There's more…
Index
买过这本书的人还买过
读了这本书的人还在读
同类图书排行榜