Log In
Or create an account ->
Imperial Library
Home
About
News
Upload
Forum
Help
Login/SignUp
Index
Learning OpenStack
Table of Contents
Learning OpenStack
Credits
About the Authors
About the Reviewers
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
Choosing an orchestrator
Building a private cloud
Commercial orchestrators
OpenStack
When to choose OpenStack?
OpenStack architecture
Service relationships
Services and releases history
Service functions
Keystone
Horizon
Nova
Glance
Swift
Cinder
Neutron
Heat
Ceilometer
Trove
Sahara
Designate
Ironic
Zaqar
Barbican
Manila
Murano
Magnum
Kolla
Congress
Service dependency maps
Preparing for the OpenStack setup
Selecting the services
Service layout
Controller node
Network node
Compute node
Storage node
Operating system
Network layout
Summary
2. Authentication and Authorization Using Keystone
Identity concepts in Keystone
User
Project (or tenant)
Role
Architecture and subsystems
Identity
Resource
Assignment
Policy
Token
Catalog
Installing common components
Setting up the database
Installing MariaDB
Step 1: Setting MariaDB repository
Step 2: Installing the MariaDB package
Configuring the database
Securing the database
Testing the installation
Setting up the messaging broker
Installing RabbitMQ
Step 1: Setting up the RabbitMQ repository
Step 2: Installing the RabbitMQ package
Configuring the RabbitMQ server
Testing the installation
Installing Keystone
Setting up the OpenStack repository
Creating the database
Installing the package
The initial configuration
Generating the admin token
Modifying the Keystone configuration file
Populating the Keystone DB
Setting up your first tenant
Setting up environment variables
Creating the tenant
Creating the user
Creating and mapping the role
Creating service endpoints
Creating the service
Creating the endpoint
Verifying the installation
Using Keystone CLI
Using the API
Troubleshooting the installation and configuration
DB sync errors
System language settings
Configuration errors
Failing Keystone commands
Service non-responsive
DNS issues
Network issues
Summary
3. Storing and Retrieving Data and Images using Glance, Cinder, and Swift
Introducing storage services
Working with Glance
Creating the database
Installing the packages
Initial configuration of Glance
Creating a user in Keystone
Creating a Glance service in Keystone
Creating a Glance endpoint
Modifying Glance configuration
Populating the Glance database
Finalizing the installation
Validating the installation
Working with Cinder
Controller node
Creating the database
Installing packages
Initial configuration
Creating a user in Keystone
Creating Cinder service in Keystone
Creating Cinder endpoints
Modifying the configuration files
Populating the Cinder database
Finalizing the installation
Storage node
Understanding the prerequisites
Installing the packages
Modifying the configuration files
Finalizing the installation
Validating the installation
Working with Swift
Controller node
Installing packages
Initial configuration
Creating a user in Keystone
Creating a Swift service in Keystone
Creating a Swift endpoint
Modifying the configuration files
The storage node
Understanding the prerequisites
Installing the packages
Modifying the configuration files
Account server configuration
Container server configuration
Object server configuration
Creating the rings
Account ring
Container ring
Object ring
Distributing the ring
Finalizing and validating the install
Troubleshooting steps
Swift authentication error
Ring files don't get created
Summary
4. Building Your Cloud Fabric Controller Using Nova
Working with Nova
Installing Nova components
Installing on the controller node
Creating the database
Installing components
Initial configuration
Creating the Nova user in Keystone
Creating the Nova service in Keystone
Creating the Nova endpoint in Keystone
Modifying the configuration file
Populating the database
Finalizing the installation
Installing on the compute node
Installing KVM
Installing Nova compute components
Modifying the host files
Modifying the configuration file
Finalizing the installation
Verifying the installation
Console access
Designing your Nova environment
Logical constructs
Region
Availability zone
The host aggregates
Virtual machine placement logic
Sample cloud design
Troubleshooting installation
Summary
5. Technology-Agnostic Network Abstraction Using Neutron
The software-defined network paradigm
What is an overlay network?
Components of overlay networks
Overlay technologies
GRE
VXLAN
Underlying network considerations
Open flow
Underlying network consideration
Neutron
Architecture of Neutron
The Neutron server
L2 agent
L3 agent
Understanding the basic Neutron process
Networking concepts in Neutron
Installing Neutron
Installing on the controller node
Creating the database
Installing Neutron control components
Initial configuration
Creating the Neutron user in Keystone
Creating the Neutron service in Keystone
Creating the Neutron endpoint in Keystone
Modifying the configuration files
Setting up the database
Finalizing the installation
Validating the installation
Installing on the network node
Setting up the prerequisites
Installing Neutron packages
Initial configuration on the network node
Neutron configuration
ML2 plugin
Configuring agents
Layer 3 agent
Layer 3 agent
Configuring the metadata agent
Setting up OVS
Finalizing the installation
Validating the installation
Installing on the compute node
Setting up the prerequisites
Installing packages
Initial configuration
Neutron configuration
ML2 plugin
Nova configuration
Finalizing the installation
Validating the installation
Troubleshooting Neutron
Summary
6. Building Your Portal in the Cloud
Working with Horizon
Some basic terminologies
System requirements to install Horizon
Installing Horizon
The initial configuration of Horizon
Finalizing the installation
Validating the installation
The structure of the Horizon dashboard
Troubleshooting Horizon
Understanding the Horizon log
Summary
7. Your OpenStack Cloud in Action
Gathering service requirements
Tenant and user management
GUI
Creating the project
Adding users
Associating users to the project
CLI
Creating the project
Creating the users
Associating users to the roles
Network management
Network types
Physical network
Virtual network
Tenant network
Provider network
Implementations of virtual networks
External network
Creating the network
Creating the subnet
Tenant network
Create the tenant network
Creating a subnet
Creating a router
Requesting services
Access and security
Security groups
Key pairs
Requesting your first VM
Creating a security group
Creating a key pair
Launching an instance
Using CLI tools
Generating a key pair
Requesting a server
Behind the scenes - how it all works
Creating VM templates
Installing Oz and its dependencies
RHEL/CentOS
Ubuntu
Oz templates
Creating VM templates using Oz
Uploading the image
Summary
8. Taking Your Cloud to the Next Level
Working with Heat
The components of Heat
Heat Orchestration Template (HOT)
Installing Heat
Creating the database
Installing components
The initial configuration
Creating a Heat user in Keystone
Creating additional Heat stack roles
Creating Heat services in Keystone
Creating Heat endpoints in Keystone
Modifying the configuration file
Populating the database
Finalizing the installation
Deploying your first HOT
Ceilometer
Installing Ceilometer
Installing Ceilometer on the controller node
Installing and configuring MongoDB
Creating the database
Installing packages
Initial configuration
Creating the Ceilometer user in Keystone
Creating the Ceilometer service
Creating the Ceilometer endpoint
Generating a random password
Editing the configuration files
Enabling the Glance notification
Enabling the Cinder notification
Enabling the Swift notification
Creating the ResellerAdmin role
Enabling notifications
Allowing Swift access to Ceilometer files
Finalizing the installation
Installing Ceilometer on the compute node
Installing the packages
Ceilometer-Agent-Compute
Initial configuration
Enable Nova notification
Finalizing the installation
Installing Ceilometer on the storage node
Enabling Cinder notification
Finalizing the installation
Testing the installation
Billing and usage reporting
Summary
9. Looking Ahead
OpenStack distributions
Devstack
Operating system distributions
Ubuntu OpenStack
RedHat OpenStack
Oracle OpenStack
Vendor offerings
VMware integrated OpenStack
Rackspace cloud
HP Helion
Cisco OpenStack
Mirantis OpenStack
SwiftStack
IBM Cloud manager
Suse Cloud
Other public clouds
Choosing a distribution
OpenStack in action
Enterprise Private Cloud
Service providers
Schools/Research centers
Web/SaaS providers
The roadmap
What is in it for you?
Summary
A. New Releases
The releases
Features and differences
Changes in the installation procedure
Adding the repository
The OpenStack client
Installing Keystone
Service configurations
Upgrading from Juno
Cleanup
Backup
Adding the repositories
Running the upgrade
Installing additional components
Updating the DB schema
Modifying configuration files
Restarting services
Index
← Prev
Back
Next →
← Prev
Back
Next →