Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Arrow up icon
GO TO TOP
OpenStack Cloud Computing Cookbook, Third Edition

You're reading from   OpenStack Cloud Computing Cookbook, Third Edition Over 110 effective recipes to help you build and operate OpenStack cloud computing, storage, networking, and automation

Arrow left icon
Product type Paperback
Published in Aug 2015
Publisher
ISBN-13 9781782174783
Length 436 pages
Edition 1st Edition
Arrow right icon
Author (1):
Arrow left icon
Cody Bunch Cody Bunch
Author Profile Icon Cody Bunch
Cody Bunch
Arrow right icon
View More author details
Toc

Table of Contents (19) Chapters Close

OpenStack Cloud Computing Cookbook Third Edition
Credits
Foreword
About the Authors
About the Reviewers
www.PacktPub.com
Preface
1. Keystone – OpenStack Identity Service FREE CHAPTER 2. Glance – OpenStack Image Service 3. Neutron – OpenStack Networking 4. Nova – OpenStack Compute 5. Swift – OpenStack Object Storage 6. Using OpenStack Object Storage 7. Administering OpenStack Object Storage 8. Cinder – OpenStack Block Storage 9. More OpenStack 10. Using the OpenStack Dashboard 11. Production OpenStack Index

Index

A

  • Access Control Lists (ACLs)
    • about / Using OpenStack Object Storage ACLs
  • admin_url parameter / How it works...

B

  • broken instance deployment
    • fixing / Fixing a broken instance deployment, Getting ready, How it works...

C

  • Certificate Authority (CA) / Configuring OpenStack Identity for SSL communication, Getting ready
  • Cinder / Introduction
    • environment / Introduction
  • Cinder-volume services
    • configuring / Configuring Cinder-volume services, How to do it...
  • Cinder snapshots
    • creating / Working with Cinder snapshots, How to do it..., How it works...
  • cloud-config
    • about / Using cloud-config to run the post-installation configuration, How it works..., There's more...
    • used, for running post-installation configuration / Getting ready, How to do it..., How it works...
    • URL / There's more...
  • cloud-init
    • about / Using cloud-init to run post-installation commands, How it works...
    • used, for running post-installation commands / Using cloud-init to run post-installation commands, Getting ready, How it works...
    • URL / There's more…
  • cluster health
    • checking / Checking cluster health, How to do it...
  • Command-line Interface (CLI) / Installing OpenStack Object Storage services – proxy server
  • command-line tools
    • installing, on Ubuntu / Installation of command-line tools on Ubuntu, How it works...
    • using, with HTTPS / Using the command-line tools with HTTPS, How to do it...
  • containers
    • about / Creating containers
    • creating / Getting ready, How to do it...
    • listing / Listing containers and objects
    • deleting / Deleting containers and objects, Getting ready, Deleting containers
    • deleting, from account / Deleting everything from our account
  • Container Synchronization
    • using, between Swift Clusters / Using Container Synchronization between two Swift Clusters, How to do it..., How it works...
    • about / How it works...
  • Container Sync replication
    • setting up / How to do it...

D

  • database services
    • configuring / Configuring database services, How to do it...
  • Database Tier / Using Neutron FWaaS
  • Distributed Virtual Routers (DVR)
    • about / Configuring Distributed Virtual Routers
    • configuring / Configuring Distributed Virtual Routers, Getting ready, How to do it...
    • working / How it works...
    • using / Using Distributed Virtual Routers, Getting ready, How to do it..., How it works...
    / Configuring Neutron FWaaS
  • Domain Name System (DNS) / Creating networks
  • Dynamic Host Configuration Protocol (DHCP) / Creating networks

E

  • eth0 network / Getting ready
  • eth0.1000 network / Getting ready
  • eth1 network / Getting ready
  • eth1.2000 network / Getting ready
  • external floating IP Neutron network
    • creating / Creating an external floating IP Neutron network, How to do it..., How it works...

F

  • failed hard drives
    • detecting / Detecting and replacing failed hard drives, How it works...
    • replacing / Detecting and replacing failed hard drives, How it works...
  • files
    • uploading / Uploading files
  • FireWall as a Service (FWaaS) / Configuring Neutron FWaaS
  • first Cloud instance
    • launching / Launching our first cloud instance, Getting ready, How to do it...
    • working / How it works...
  • flavors
    • creating / Creating flavors, How it works...
  • Fully Qualified Domain Name (FQDN) / How it works...

G

  • Generic Routing Encapsulation (GRE) / How it works...
  • Glance / Installing and configuring the Neutron API service
    • configuring across two nodes, with FloatingIP / Glance across two nodes with FloatingIP

H

  • HA Proxy
    • configuring, for MariaDB Galera cluster / Configuring HA Proxy for the MariaDB Galera cluster, Getting ready, How to do it..., How it works...
    • configuring, for high availability / Configuring HA Proxy for high availability, How to do it...
  • Heat OpenStack Orchestration service
    • installing / Installing the Heat OpenStack Orchestration service, How to do it..., How it works...
    • used, for spinning up instances / Using Heat to spin up instances, Getting ready, How to do it...
  • Heat Orchestration Template (HOT) / How it works...
  • Heat Orchestration Templates (HOT) / Using Heat to spin up instances, Using OpenStack Dashboard with OpenStack Orchestration
  • High Availability (HA) Proxy / Configuring HA Proxy for the MariaDB Galera cluster
  • host aggregates
    • defining / Defining host aggregates, Getting ready, How to do it...
  • HOT files / How it works...
  • HTTP Load Balancer pool
    • creating / Creating pools
    • pool members, adding / Adding pool members
    • VIP, adding to / Adding a VIP to the Load Balancer pool
    • deleting / Deleting the Load Balancer, How it works...

I

  • image metadata
    • using / Using image metadata, How to do it...
    • image properties, uploading / Updating image properties
    • image properties, deleting / Deleting all image properties
    • specific image properties, deleting / Deleting specific image properties
    • using, for host scheduling / Using metadata for host scheduling, How it works...
  • images
    • managing, with OpenStack Image Service / Managing images with OpenStack Image Service, How to do it...
    • Ubuntu images, uploading / Uploading Ubuntu images
    • listing / Listing images
    • details, viewing / Viewing image details
    • deleting / Deleting images
    • private images, making public / Making private images public, How it works
    • sharing, among tenants / Sharing images among tenants, Getting ready
  • instances
    • terminating / Terminating your instances, How to do it...
    • launching, in specific availability zones / Launching instances in specific Availability Zones, How to do it...
    • launching, on specific compute hosts / Launching instances on specific Compute hosts, How to do it..., How it works...
  • internal_url parameter / How it works...

J

  • Just a Bunch Of Disks (JBOD) / Configuring physical storage for use with Swift

K

  • key management, with OpenStack Dashboard
    • about / Using OpenStack Dashboard for key management, Getting ready
    • key pairs, adding / Adding key pairs
    • key pairs, deleting / Deleting key pairs
    • key pairs, importing / Importing key pairs
    • working / How it works...
  • key pairs
    • managing / Creating and managing key pairs
    • creating / Getting ready, How to do it...
    • listing, Nova client used / Listing and deleting key pairs using Nova client
    • deleting, Nova client used / Listing and deleting key pairs using Nova client
    • listing / Listing the key pairs
    • deleting / Deleting the key pairs
    • working / How it works...
  • Keystone / Installing and configuring the Neutron API service
    • about / Introduction
    • roles / Introduction
    • tenants / Introduction
    • users / Introduction
    • swift services and user, configuring in / Configuring Swift services and users in Keystone, How to do it..., How it works...

L

  • large objects
    • uploading / Uploading large objects, How to do it..., How it works...
  • Live-migration
    • using / Using live migration
    • network connectivity, checking / Checking network connectivity
    • resources, ensuring / Ensuring resources, How it works...
    • about / How it works...
  • Load-Balancer-as-a-Service (LBaaS) / Installing Neutron LBaaS

M

  • MariaDB Galera cluster
    • installing / Installing the MariaDB Galera cluster, How to do it..., How it works...
    • HA Proxy, configuring for / Configuring HA Proxy for the MariaDB Galera cluster, Getting ready, How to do it..., How it works...
  • maximum transmission unit (MTU) / How to do it...
  • MongoDB database
    • URL / How it works...
  • multi-node swift installation
    • reference / Introduction
  • multiple objects
    • uploading / Uploading multiple objects
    • deleting / Deleting multiple objects

N

  • Network Interface Card (NIC) bonding / Bonding network interfaces for redundancy
  • network interfaces
    • bonding, for redundancy / Bonding network interfaces for redundancy, Getting ready, How to do it...
  • Neutron
    • installing, on network node / Getting ready…, How to do it..., How it works...
    • configuring / Configuring Neutron and Open vSwitch, How to do it..., How it works...
  • Neutron API service
    • installing / Installing and configuring the Neutron API service
    • configuring / How to do it..., How it works...
  • Neutron FWaaS
    • configuring / Configuring Neutron FWaaS, How to do it..., How it works...
    • using / Using Neutron FWaaS, How to do it..., How it works...
  • Neutron LBaaS
    • installing / Installing Neutron LBaaS, Getting ready, How to do it..., How it works...
    • using / Using Neutron LBaaS, How to do it...
  • Neutron network
    • deleting / Deleting a Neutron network, How to do it..., How it works...
    • using, for different purposes / Using Neutron networks for different purposes, Getting ready, How to do it..., How it works...
  • Neutron networks, managing with OpenStack Dashboard
    • about / Using OpenStack Dashboard to manage Neutron networks, Getting ready
    • private network, creating / Creating networks
    • private network, deleting / Deleting networks
    • networks, viewing / Viewing networks
  • Neutron service
    • configuring, on network node / Network node
    • configuring, on controller node / The Controller Node
    • configuring, on Compute node / Compute nodes
  • nodes
    • removing, from cluster / Removing Nova nodes from a cluster, How to do it...
  • nodes, removing from cluster
    • about / Removing nodes from a cluster
    • proxy server configuration / Proxy Server
  • Nova
    • about / Introduction
  • nova
    • about / Launching instances in specific Availability Zones
  • nova-api / Installing OpenStack Compute controller services
  • nova-api-metadata / Installing OpenStack Compute packages
  • nova-cert / Installing OpenStack Compute controller services
  • nova-common / Installing OpenStack Compute controller services
  • nova-compute / Installing OpenStack Compute packages
  • nova-compute-qemu / Installing OpenStack Compute packages
  • nova-conductor / Installing OpenStack Compute controller services
  • nova-objectstore / Installing OpenStack Compute controller services
  • nova-scheduler / Installing OpenStack Compute controller services
  • nova-schedulers
    • working with / Working with nova-schedulers, How it works...
  • nova services
    • stopping / Stopping and starting nova services, Getting ready, How to do it..., How it works...
    • starting / Stopping and starting nova services, Getting ready, How to do it..., How it works...
  • ntp / Installing OpenStack Compute controller services

O

  • objects
    • about / Uploading objects
    • uploading / Getting ready
    • listing / Listing containers and objects
    • listing, in container / Listing all objects in a container
    • specific object paths, listing in container / Listing specific object paths in a container
    • downloading / Downloading objects, Getting ready
    • downloading, with -o parameter / Downloading objects with the -o parameter
    • downloading, from container / Downloading all objects from a container
    • downloading, from OpenStack Object Storage account / Downloading all objects from our OpenStack Object Storage account
    • deleting / Deleting containers and objects, Deleting objects
    • deleting, from account / Deleting everything from our account
  • Object Storage replication
    • configuring / Configuring Object Storage replication, How to do it...
  • Object Storage rings
    • creating / Making the Object Storage rings, How to do it..., How it works…
  • OCF (Open Cluster Format) / Configuring Pacemaker for use with Glance and Keystone, How it works...
  • OpenStack Ansible Deployment (OSAD) Playbooks / Automating OpenStack installations using Ansible – Playbook configuration
  • OpenStack architecture
    • about / Introduction
    • Controller / Introduction
    • Network host / Introduction
    • Compute host / Introduction
    • network configuration / Introduction
  • OpenStack backend configuration
    • FloatingIP address, used / OpenStack backend configuration using FloatingIP address, How it works...
  • OpenStack Compute
    • about / Introduction
    • configuring / Configuring OpenStack Compute, How to do it..., How it works...
    • configuring, with OpenStack Identity service / Configuring OpenStack Compute with OpenStack Identity Service, How to do it...
    • using / Using OpenStack Compute, How to do it...
    • configuring, for Cinder-volume / Configuring OpenStack Compute for Cinder-volume, Getting ready, How to do it..., How it works...
  • OpenStack Compute controller services
    • installing / Installing OpenStack Compute controller services, How it works...
  • OpenStack Compute packages
    • installing / Installing OpenStack Compute packages, How to do it...
    • alternative release / Using an alternative release
  • OpenStack Compute services
    • configuration file / How it works...
    • checking / Checking OpenStack Compute services, How to do it...
  • OpenStack Dashboard
    • installing / Installing OpenStack Dashboard, How it works...
    • using, for key management / Using OpenStack Dashboard for key management, How to do it...
    • using, for managing Neutron networks / Using OpenStack Dashboard to manage Neutron networks, Getting ready
    • using, for security group management / Using OpenStack Dashboard for security group management
    • using, for launching instances / Using OpenStack Dashboard to launch instances, How to do it..., How it works...
    • using, for terminating instances / Using OpenStack Dashboard to terminate instances, How to do it...
    • using, for connecting to instances through VNC / Using OpenStack Dashboard to connect to instances using a VNC, How to do it..., How it works...
    • using, for adding new tenants / Using OpenStack Dashboard to add new tenants – projects, How to do it..., How it works...
    • using, for user management / Using OpenStack Dashboard for user management
    • about / How it works...
    • using, with LBaaS / Using OpenStack Dashboard with LBaaS
    • using, with OpenStack Orchestration / Using OpenStack Dashboard with OpenStack Orchestration
  • OpenStack Identity service
    • installing / Installing the OpenStack Identity Service, Getting ready, How to do it..., How it works...
    • configuring, for SSL communication / Configuring OpenStack Identity for SSL communication, How to do it...
    • configuring, for LDAP integration / Configuring OpenStack Identity for LDAP Integration, Getting ready, How to do it..., How it works...
  • OpenStack image
    • creating / Creating an OpenStack image, Getting ready, How to do it..., How it works...
  • OpenStack Image Service
    • installing / Installing OpenStack Image Service, Getting ready, How to do it...
    • configuring, with OpenStack Identity Service / Configuring OpenStack Image Service with OpenStack Identity Service, How to do it...
    • configuring, with OpenStack Object Storage / Configuring OpenStack Image Service with OpenStack Object Storage, Getting ready, How it works...
    • images, managing with / Managing images with OpenStack Image Service, How to do it...
  • OpenStack installations
    • automating, Ansible host configuration used / Automating OpenStack installations using Ansible – host configuration, Getting ready, How to do it..., How it works...
    • automating, Ansible Playbook configuration used / Automating OpenStack installations using Ansible – Playbook configuration, Getting ready, How to do it...
    • automating, Ansible Playbooks used / Automating OpenStack installations using Ansible – running Playbooks, How to do it..., How it works...
  • OpenStack Networking
    • about / Introduction
  • OpenStack network node
    • configuring / How to do it...
    • reference / How it works...
  • OpenStack Object Storage
    • about / Introduction
    • typical reference architecture / Introduction
    • proxy server, installing / Installing OpenStack Object Storage services – proxy server, Getting ready, How it works...
    • proxy server, configuring / Configuring OpenStack Object Storage – proxy server, How to do it...
    • storage nodes, installing / Installing OpenStack Object Storage services – storage nodes, How to do it...
    • storage services, configuring / Configuring OpenStack Object Storage – storage services, Getting ready, How to do it...
    • starting / Stopping and starting OpenStack Object Storage, How it works...
    • stopping / Stopping and starting OpenStack Object Storage, How it works...
  • OpenStack Object Storage ACLs
    • using / Getting ready, How to do it...
  • OpenStack Object Storage cluster
    • managing, with swift-init / Managing the OpenStack Object Storage cluster with swift-init, Getting ready, How it works...
  • OpenStack Orchestration
    • about / Using OpenStack Dashboard with OpenStack Orchestration, Getting ready
    • stacks, launching / Launching stacks
    • stack details, viewing / Viewing stack details
    • stacks, deleting / Deleting stacks, How it works...
  • OpenStack PPAs
    • URL / Using an alternative release
  • OpenStack services
    • configuring, with Pacemaker and Corosync / Configuring OpenStack services with Pacemaker and Corosync, How to do it...
  • OpenStack Telemetry
    • about / Installing OpenStack Telemetry
    • installing / Getting ready, How to do it..., How it works...
    • used, for interrogating usage statistics / Using OpenStack Telemetry to interrogate usage statistics, How to do it..., How it works...
  • Open vSwitch (OVS)
    • about / Installing Neutron and Open vSwitch on a dedicated network node
    • installing, on network node / Getting ready…, How to do it..., How it works...
    • configuring / Configuring Neutron and Open vSwitch, How to do it..., How it works...

P

  • Pacemaker
    • configuring, for Glance and Keystone / Configuring Pacemaker for use with Glance and Keystone
  • Pacemaker, installing with Corosync
    • about / Installing and configuring Pacemaker with Corosync
    • first node, setting up / Setting up the first node – controller1
    • second node, setting up / Setting up the second node – controller2
    • first node, configuring / Configuring the first node – controller1
    • second node, configuring / Configuring the second node – controller2
  • Pacemaker and Corosync services
    • starting / Starting the Pacemaker and Corosync services, How it works...
  • Personal Package Archives (PPA) / Using an alternative release
  • physical storage
    • configuring / Configuring physical storage for use with Swift, Getting ready, How to do it...
  • Playbooks
    • setup-hosts.yml / How it works...
    • haproxy-install.yml / How it works...
    • setup-infrastructure.yml / How it works...
    • setup-openstack.yml / How it works...
  • post-installation commands
    • running, cloud-init used / Using cloud-init to run post-installation commands, Getting ready, How to do it...
  • post-installation configuration
    • running, cloud-config used / Getting ready, How to do it..., How it works...
  • projects
    • about / Using OpenStack Dashboard to add new tenants – projects
  • proxy servers
    • swift / Installing OpenStack Object Storage services – proxy server
    • swift-proxy / Installing OpenStack Object Storage services – proxy server
    • memcached / Installing OpenStack Object Storage services – proxy server
    • python-swiftclient / Installing OpenStack Object Storage services – proxy server
    • python-keystoneclient / Installing OpenStack Object Storage services – proxy server
    • python-webob / Installing OpenStack Object Storage services – proxy server
    • curl / Installing OpenStack Object Storage services – proxy server
  • public_url parameter / How it works...
  • python-keystoneclient tool
    • URL / Getting ready

R

  • remotely stored image
    • registering / Registering a remotely stored image, Getting ready, How it works...
  • roles
    • configuring, in Keystone / Configuring roles in Keystone, How it works...
    • about / Configuring roles in Keystone

S

  • Secure Shell (SSH) / How to do it...
  • Secure Shell (SSH) key
    • about / Using OpenStack Dashboard for key management
  • Secure Sockets Layer (SSL) access
    • setting up / Setting up SSL access, How to do it..., How it works...
  • security group management, with OpenStack Dashboard
    • about / Using OpenStack Dashboard for security group management
    • security group, creating / Creating a security group
    • security group, editing / Editing security groups to add and remove rules
    • security group, deleting / Deleting security groups
  • security groups
    • about / Managing security groups, Using OpenStack Dashboard for security group management, How it works...
    • managing / Getting ready, How to do it...
    • creating / Creating security groups, Creating a security group
    • rule, removing / Removing a rule from a security group
    • deleting / Deleting a security group, Deleting security groups
    • working / How it works...
    • defining, with Nova client / Defining groups and rules using Nova client
    • rules, defining with Nova client / Defining groups and rules using Nova client
    • editing / Editing security groups to add and remove rules
  • service endpoints
    • defining / Defining service endpoints, How to do it..., How it works...
  • service tenant
    • creating / Creating the service tenant and service users, How to do it..., How it works...
  • service users
    • creating / Creating the service tenant and service users, How to do it..., How it works...
  • shared images
    • viewing / Viewing shared images, How it works...
  • Single Points Of Failure (SPOF) / Introduction
  • Software Defined Networking (SDN)
    • about / Introduction
  • stacks / How it works...
  • STONITH / Starting the Pacemaker and Corosync services
  • swift
    • about / Introduction
  • swift-init tool
    • used, for managing OpenStack Object Storage cluster / Managing the OpenStack Object Storage cluster with swift-init, Getting ready
    • about / How it works...
  • swift client tool
    • installing / Installing the swift client tool, Getting ready, How it works…
  • swift cluster capacity
    • managing / Managing the Swift cluster capacity, How to do it...
    • proxy server creation / Proxy server creation
    • storage node creation / Storage node creation, How it works...
  • swift ring / Managing the Swift cluster capacity
  • swift services
    • configuring, in Keystone / Configuring Swift services and users in Keystone, How to do it..., How it works...

T

  • tenant Neutron network
    • creating / Creating a tenant Neutron network, Getting ready, How to do it..., How it works...
  • tenants
    • about / Creating tenants in Keystone, Using OpenStack Dashboard to add new tenants – projects
    • creating, in Keystone / Creating tenants in Keystone, How to do it...
  • third-party volume services
    • configuring / Configuring third-party volume services, How to do it...

U

  • usage statistics
    • collecting / Collecting usage statistics, How to do it..., How it works...
    • interrogating, OpenStack Telemetry used / Getting ready, How to do it..., How it works...
  • user
    • configuring, in Keystone / Configuring Swift services and users in Keystone, How to do it..., How it works...
  • user management, with OpenStack Dashboard
    • about / Using OpenStack Dashboard for user management
    • users, adding / Adding users
    • users, deleting / Deleting users
    • user details, updating / Updating user details and passwords
    • passwords, updating / Updating user details and passwords
    • users, adding to tenants / Adding users to tenants
    • users, removing from tenants / Removing users from tenants
  • users
    • adding, to Keystone / Adding users to Keystone, Getting ready, How to do it..., How it works...

V

  • Virtual eXtensible LAN (VXLAN) / How it works...
  • Virtual IP (VIP) / How to do it...
  • Virtual IPs (VIPs)
    • about / Using OpenStack Dashboard with LBaaS
  • Virtual Network Console (VNC) / How to do it...
  • Virtual Redundant Router Protocol (VRRP) management / How to do it...
  • VMware image
    • migrating / Migrating a VMware image, How to do it...
  • volumes
    • creating / Creating volumes, How it works...
    • attaching, to instance / Attaching volumes to an instance, How to do it..., How it works...
    • detaching, from instance / Detaching volumes from an instance, How to do it...
    • deleting / Deleting volumes, Getting ready
    • booting from / Booting from volumes, How to do it..., How it works...

W

  • Web App Tier / Using Neutron FWaaS
  • Web Service Gateway Interface (WSGI) / Installing OpenStack Object Storage services – proxy server, Introduction

Y

  • Yet Another Markup Language (YAML) / Using cloud-config to run the post-installation configuration, Using Heat to spin up instances, Using OpenStack Dashboard with OpenStack Orchestration

Z

  • zone / Managing the Swift cluster capacity
lock icon The rest of the chapter is locked
arrow left Previous Section
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime
Visually different images