OpenStack Essentials

Book description

Demystify the cloud by building your own private OpenStack cloud

In Detail

An OpenStack cloud is a complex jungle of components that can speed up managing a virtualization platform. Applications that are built for this platform are resilient to failure and convenient to scale. OpenStack allows administrators and developers to consolidate and control pools of compute, networking, and storage resources, with a centralized dashboard and administration panel to enable the large-scale development of cloud services.

Begin by exploring and unravelling the internal architecture of the OpenStack cloud components. After installing the RDO distribution, you will be guided through each component via hands-on exercises, learning more about monitoring and troubleshooting the cluster. By the end of the book, you'll have the confidence to install, configure, and administer an OpenStack cloud.

This is a practical and comprehensive tutorial on sorting out the complexity of an OpenStack cloud.

What You Will Learn

  • Install OpenStack using the Packstack installation tool
  • Create users, cloud images, and virtual networks to launch cloud instances
  • Explore horizontal scaling to support the load that a cloud platform is expected to handle
  • Set up monitoring to keep track of the health of an OpenStack cloud
  • Troubleshoot issues with an OpenStack cluster
  • Build storage and access it from your running cloud instances
  • Orchestrate a multi-instance deployment to build a complex set of virtual infrastructure to run an application in the cloud
  • Keep track of resources being consumed within an OpenStack cloud through metering

Table of contents

  1. OpenStack Essentials
    1. Table of Contents
    2. OpenStack Essentials
    3. Credits
    4. About the Author
    5. About the Reviewers
    6. www.PacktPub.com
      1. Support files, eBooks, discount offers, and more
        1. Why subscribe?
        2. Free access for Packt account holders
    7. Preface
      1. What this book covers
      2. What you need for this book
      3. Who this book is for
      4. Conventions
      5. Reader feedback
      6. Customer support
        1. Downloading the example code
        2. Errata
        3. Piracy
        4. Questions
    8. 1. Architecture and Component Overview
      1. OpenStack architecture
      2. Dashboard
      3. Keystone
      4. Glance
      5. Neutron
      6. Nova
      7. Cinder
      8. Swift
      9. Ceilometer
      10. Heat
      11. Summary
    9. 2. RDO Installation
      1. Installing RDO using Packstack
        1. Preparing nodes for installation
        2. Installing Packstack and generating an answer file
      2. Summary
    10. 3. Identity Management
      1. Services and endpoints
        1. Hierarchy of users, tenants, and roles
        2. Creating a user
        3. Creating a tenant
        4. Granting a role
        5. Logging in with the new user
      2. Interacting with Keystone in the dashboard
      3. Endpoints in the dashboard
      4. Summary
    11. 4. Image Management
      1. Glance as a registry of images
        1. Downloading and registering an image
      2. Using the web interface
      3. Building an image
      4. Summary
    12. 5. Network Management
      1. Networking and Neutron
        1. Network fabric
      2. Open vSwitch configuration
        1. VLAN
        2. GRE tunnels
        3. VXLAN tunnels
      3. Creating a network
      4. Web interface management
      5. External network access
        1. Preparing a network
        2. Creating an external network
      6. Web interface external network setup
      7. Summary
    13. 6. Instance Management
      1. Managing flavors
      2. Managing key pairs
      3. Launching an instance
      4. Managing floating IP addresses
      5. Managing security groups
      6. Communicating with the instance
      7. Launching an instance using the web interface
      8. Summary
    14. 7. Block Storage
      1. Use case
      2. Creating and using block storage
      3. Attaching the block storage to an instance
      4. Managing Cinder volumes in the web interface
      5. Backing storage
        1. Cinder types
          1. GlusterFS setup
      6. Summary
    15. 8. Object Storage
      1. Use case
      2. Architecture of a Swift cluster
      3. Creating and using object storage
      4. Object file management in the web interface
      5. Using object storage on an instance
      6. Ring files
        1. Creating ring files
      7. Summary
    16. 9. Telemetry
      1. Understanding the data store
      2. Definitions of Ceilometer's configuration terms
        1. Pipelines
        2. Meters
        3. Samples
        4. Statistics
        5. Alarms
      3. Graphing the data
      4. Summary
    17. 10. Orchestration
      1. About orchestration
      2. Writing templates
        1. The AWS CloudFormation format
        2. The Heat Orchestration Template (HOT) format
      3. Launching a stack
      4. Autoscaling instances with Heat
      5. LBaaS setup
      6. Web interface
      7. Summary
    18. 11. Scaling Horizontally
      1. Scaling compute nodes
      2. Installing more control and networking
      3. Scaling control and network services
      4. Load-balancing keystone
        1. Additional Keystone tuning
      5. Glance load balancing
      6. Scaling other services
      7. High availability
      8. Highly available database and message bus
      9. Summary
    19. 12. Monitoring
      1. Monitoring defined
      2. Installing Nagios
        1. Adding Nagios host checks
        2. Nagios commands
      3. Monitoring methods
      4. Non-OpenStack service checks
      5. Monitoring control services
      6. Monitoring network services
      7. Monitoring compute services
      8. Summary
    20. 13. Troubleshooting
      1. The debug command line option
      2. Tail the server logs
      3. Troubleshooting Keystone and authentication
      4. Troubleshooting Glance image management
      5. Troubleshooting Neutron networking
      6. Troubleshooting Nova launching instances
      7. Troubleshooting post-boot metadata
      8. Troubleshooting console access
      9. Troubleshooting Cinder block storage
      10. Troubleshooting Swift object storage
      11. Troubleshooting Ceilometer Telemetry
      12. Troubleshooting Heat orchestration
      13. Getting more help
      14. Summary
    21. Index

Product information

  • Title: OpenStack Essentials
  • Author(s): Dan Radez
  • Release date: May 2015
  • Publisher(s): Packt Publishing
  • ISBN: 9781783987085