售 价:¥
温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印
为你推荐
OpenStack Administration with Ansible 2 Second Edition
OpenStack Administration with Ansible 2 Second Edition
Credits
About the Author
About the Reviewer
www.PacktPub.com
Why subscribe?
Customer Feedback
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
Errata
Piracy
Questions
1. Introduction to OpenStack
An overview of OpenStack
The OpenStack Foundation
Reviewing the OpenStack services
OpenStack Compute (code-name Nova)
OpenStack Object Storage (code-name Swift)
OpenStack Image Service (code-name Glance)
OpenStack Identity (code-name Keystone)
OpenStack Dashboard (code-name Horizon)
OpenStack Networking (code-name Neutron)
OpenStack Block Storage (code-name Cinder)
OpenStack Orchestration (code-name Heat)
OpenStack Telemetry (code-name Ceilometer)
OpenStack Database (code-name Trove)
OpenStack Data Processing (code-name Sahara)
OpenStack Bare Metal Provisioning (code-name Ironic)
Other optional services
OpenStack supporting components
Features and benefits
Fully distributed architecture
Using commodity hardware
Scaling horizontally or vertically
Meeting high availability requirements
Compute isolation and multi-dc Support
Robust role-based access control
Working examples – listing the services
Listing the OpenStack services
Via API
Via CLI
Summary
2. Introduction to Ansible
Ansible 2.0 overview
What are playbooks, roles, and modules?
Playbooks
Roles
Modules
Setting up the environment
Upgrading to Ansible 2.0
New OpenStack client authentication
Variables and facts
Variables
Setting variable placeholders
Defining variable values
Registering variables
Facts
Defining the inventory
Dynamic inventory
Blocks
Strategies
Cloud integrations
Summary
3. Creating Multiple Users/Projects
Creating users and projects
Manually creating users and projects
Creating a user
Creating a project
Assigning a role and project access to users
Automation considerations
Defining variables globally or per role
OpenStack API or CLI?
Where to run Ansible
Coding the playbooks and roles
Reviewing playbooks and roles
Summary
4. Customizing Your Clouds Quotas
Defining and creating quotas
Manually creating quotas
Setting up default quotas
Resetting quota values
Automation considerations
Coding the playbooks and roles
Reviewing playbooks and roles
Summary
5. Snapshot Your Cloud
Defining backups and snapshots
Manually creating backups and snapshots
Restoring an instance backup
Automation considerations
Coding the playbooks and roles
Reviewing playbooks and roles
Summary
6. Migrating Instances
Instance migration
Manually migrating instances
Migrating an instance to a specific compute node
Automation considerations
Coding the playbooks and roles
Role details
Variable details
Playbook details
Reviewing playbook and role
Summary
7. Managing Containers on Your Cloud
The container concept explained
Building and deploying containers
Building containers with Ansible Container
Automation considerations
Step 1
Step 2
Step 3
Step 4
Deploying Kubernetes on OpenStack
Automation considerations
Managing CoreOS and Docker with Ansible
Automation considerations
Coding the playbooks and roles
Deploying Nova LXD on OpenStack
Automation considerations
Reviewing playbooks and roles
Summary
8. Setting Up Active-Active Regions
Reviewing OpenStack high availability scenarios
Multiple data centers
Single data center
Availability Zones
Why to use Active-Active cloud regions?
Setting up Active-Active cloud regions
Region endpoint inventory
Admin region configurations
Creating service user accounts on the Admin region
Creating services on the Admin region
Registering each region's endpoints to the Admin region
Adjusting the Admin regions' identity endpoint
Active region configurations
Coding the playbooks and roles
Setting up the Admin region
Setting up Active regions
Reviewing playbooks and roles
Summary
9. Inventory Your Cloud
Collecting cloud metrics
User report
Project report
Network report
Volume report
Cloud-at-a-Glance report
Coding the playbooks and roles
cloud-inventory
cloud-usage
user-inventory
project-inventory
network-inventory
volume-inventory
Reviewing playbooks and roles
Summary
10. Health Check Your Cloud with Nagios
Monitoring the cloud
OpenStack service processes
Infrastructure services
MariaDB and Galera
RabbitMQ
Core OpenStack services
Service and process check examples
Setting up Nagios and import checks
Collect your metrics via SNMP
Coding the playbooks and roles
snmp-config
install-nagios
nagios-plugins
install-nconf
nconf-post-install
create-nagios-user
infra-plugin-config
nagios-post-install
Reviewing playbook and role
Summary
买过这本书的人还买过
读了这本书的人还在读
同类图书排行榜