Openstack administration with ansible pdf download - variant
OpenStack Administration with Ansible 2 - Second Edition
Table of Contents
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
OpenStack Administration with Ansible 2 Second Edition
OpenStack Administration with Ansible 2 Second Edition
Copyright © 2016 Packt Publishing
All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews.
Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either express or implied. Neither the author, nor Packt Publishing, and its dealers and distributors will be held liable for any damages caused or alleged to be caused directly or indirectly by this book.
Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information.
First published: January 2016
Second edition: December 2016
Production reference: 1221216
Published by Packt Publishing Ltd.
Livery Place
35 Livery Street
Birmingham
B3 2PB, UK.
ISBN 978-1-78712-163-8
www.packtpub.com
Credits
About the Author
Walter Bentley is a Rackspace Private Cloud Technical Marketing Engineer and author with a diverse background in production systems administration and solutions architecture. He has more than 15 years of experience in sectors such as online marketing, financial, insurance, aviation, the food industry, education, and now in technology. In the past, he was typically the requestor, consumer, and advisor to companies in the use of technologies such as OpenStack. Today, he’s an OpenStack promoter and cloud educator. In his current role, Walter helps customers build, design, and deploy private clouds built on OpenStack. That includes professional services engagements around operating OpenStack clouds and DevOps engagements creating playbooks/roles with Ansible. He presents and speaks regularly at OpenStack Summits, AnsibleFest, and other technology conferences, plus webinars, blog posts and technical reviews. His first book, OpenStack Administration with Ansible, was released in 2016.
I would like to thank my wife and best friend Tasha for allowing me to take on this life changing opportunity for the second time around. Without her understanding and support I do not think it could have all happened. She is truly my life’s motivation. Also, wish to thank my wonderful daughters, London and Rio, for bringing so much joy to our lives. Thank you to my mother and father for cultivating the technical spirit within me from a very early age (that Commodore 64 was definitely my springboard…LOL).
0 thoughts to “Openstack administration with ansible pdf download”