售 价:¥
温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印
为你推荐
OpenStack Administration with Ansible
Table of Contents
OpenStack Administration with Ansible
Credits
About the Author
Acknowledgments
About the Reviewer
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
Errata
Piracy
Questions
1. An Introduction to OpenStack
OpenStack overview
The OpenStack foundation
Reviewing the OpenStack services
OpenStack Compute (codename Nova)
OpenStack Object Storage (codename Swift)
OpenStack Image Service (codename Glance)
OpenStack Identity (codename Keystone)
OpenStack Dashboard (codename Horizon)
OpenStack Networking (codename Neutron)
OpenStack Block Storage (codename Cinder)
OpenStack Orchestration (codename Heat)
OpenStack Telemetry (codename Ceilometer)
OpenStack Database (codename Trove)
OpenStack Data Processing (codename Sahara)
OpenStack Bare Metal Provisioning (codename Ironic)
OpenStack supporting components
Features and benefits
Fully distributed architecture
Uses commodity hardware
Scale horizontally or vertically
Meets high availability requirements
Compute isolation and multi-DC support
Robust role-based access control
Working examples – list the services and endpoints
Listing the OpenStack services
Via API
Via CLI
Listing the OpenStack endpoints
Via API
Via CLI
Summary
2. An Introduction to Ansible
Ansible overview
What are playbooks, roles, and modules?
Playbooks
Roles
Modules
Variables and facts
Variables
Setting variable placeholders
Defining variable values
Registering variables
Facts
Defining the inventory
Dynamic inventory
Summary
3. Creating Multiple Users/Tenants
Creating users and tenants
Manually creating users and tenants
Creating a user
Creating a tenant
Assigning users role and tenant access
Automation considerations
Defining variables globally or per role
The OpenStack API or CLI
Where to run Ansible
Coding the playbook and roles
The playbook and role review
Summary
4. Customizing Your Cloud's Quotas
Define and create quotas
Creating quotas manually
Setting up default quotas
Reset quota values
Automation considerations
Coding the playbook and roles
Playbook and role review
Summary
5. Snapshot Your Cloud
Define backups and snapshots
Creating backups and snapshots manually
Restore an instance backup
Automation considerations
Coding the playbook and roles
Playbook and role review
Summary
6. Migrating Instances
Instance migration
Manually migrating instances
Migrating an instance to a specific compute node
Automation considerations
Coding the playbook and roles
Playbook and role review
Summary
7. Setting up Isolated Tenants
Multi-tenant isolation explained
Setting up multi-tenant isolation
Pre-configuration steps
Step 1
Step 2
Tenant configuration steps
Step 1 – create a new or use an existing tenant
Step 2 – create new host aggregate
Step 3 – add hosts to the new host aggregate
Step 4 – update host aggregate metadata
Step 5 – create a custom flavor to include the tenant filter
Step 6 – apply volume type quotas
Automation considerations
Coding the playbook and roles
Playbook and role review
Summary
8. Deploying OpenStack Features
Multiple hypervisor support
What is Docker (aka Docker Engine)?
Setting up Docker and nova-docker
Docker configuration
Install Docker on a new compute node
Configuring nova-docker
Step 1 – install nova-docker
Step 2 – update the Nova compute_driver parameter
Step 3 – add the docker.filters file to the Nova rootwrap.d folder
Step 4 – add and remove filters on the compute node(s) Nova scheduler
Step 5 – add and remove filters on the controller node(s) Nova scheduler
Step 6 – create a custom Docker flavor with extra specs
Step 7 – create a new host aggregate for the Docker compute node(s)
Step 8 – add docker to the Glance API container_formats
Coding the playbook and roles
Install Docker
nova-docker
nova-update
openstack-config
nova-scheduler
glance-update
Playbook and role review
Summary
9. Inventory Your Cloud
Collecting cloud metrics
User report
Tenant report
Network report
Volume report
Cloud-at-a-glance report
Coding the playbook and roles
cloud-inventory
cloud-usage
user-inventory
tenant-inventory
network-inventory
volume-inventory
Playbook and role review
Summary
10. Health Check Your Cloud
Monitoring the cloud
OpenStack service processes
Infrastructure services
MariaDB and Galera
RabbitMQ
Core OpenStack services
Service and process check examples
Coding the playbook and roles
cloud-infra-check
cloud-core-os-check
os-service-status
Playbook and role review
Summary
Index
买过这本书的人还买过
读了这本书的人还在读
同类图书排行榜