Cargando…

OpenStack Administration with Ansible.

Design, build, and automate 10 real-world OpenStack administrative tasks with AnsibleAbout This Book Automate real-world OpenStack cloud operator administrative tasks Construct a collection of automation code to save time on managing your OpenStack cloud Use this step-by-step tutorial to automate su...

Descripción completa

Detalles Bibliográficos
Clasificación:Libro Electrónico
Autor principal: Bentley, Walter (Autor)
Formato: Electrónico eBook
Idioma:Inglés
Publicado: Birmingham : Packt Publishing, Limited Jan. 2016.
Temas:
Acceso en línea:Texto completo
Tabla de Contenidos:
  • Cover
  • Copyright
  • Credits
  • About the Author
  • Acknowledgments
  • About the Reviewer
  • www.PacktPub.com
  • Table of Contents
  • Preface
  • Chapter 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
  • Chapter 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
  • Chapter 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
  • Chapter 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
  • Chapter 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
  • Chapter 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
  • Chapter 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
  • Chapter 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
  • Chapter 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
  • Chapter 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.