万本电子书0元读

万本电子书0元读

顶部广告

Learning OpenStack电子书

售       价:¥

22人正在读 | 0人评论 9.8

作       者:Alok Shrivastwa

出  版  社:Packt Publishing

出版时间:2015-11-30

字       数:352.6万

所属分类: 进口书 > 外文原版书 > 电脑/网络

温馨提示:此类商品不支持退换货,不支持下载打印

为你推荐

  • 读书简介
  • 目录
  • 累计评论(0条)
  • 读书简介
  • 目录
  • 累计评论(0条)
Set up and maintain your own cloud-based Infrastructure as a Service (IaaS) using OpenStack About This Book Build and manage a cloud environment using just four virtual machines Get to grips with mandatory as well as optional OpenStack components and know how they work together Leverage your cloud environment to provide Infrastructure as a Service (IaaS) with this practical, step-by-step guide Who This Book Is For This book is targeted at all aspiring administrators, architects, or students who want to build cloud environments using Openstack. Knowledge of IaaS or cloud computing is recommended. What You Will Learn Get an introduction to OpenStack and its components Authenticate and authorize the cloud environment using Keystone Store and retrieve data and images using storage components such as Cinder, Swift, and Glance Use Nova to build a Cloud Computing fabric controller Abstract technology-agnostic networks using the Neutron network component Gain an understanding of optional components such as Ceilometer, Trove, Ironic, Sahara, Barbican, Zaqar, Designate, Manila, and many more See how all of the OpenStack components collaborate to provide IaaS to users Create a production-grade OpenStack and automate your OpenStack Cloud In Detail OpenStack is a free and open source cloud computing platform that is rapidly gaining popularity in Enterprise data centres. It is a scalable operating system and is used to build private and public clouds. It is imperative for all the aspiring cloud administrators to possess OpenStack skills if they want to succeed in the cloud-led IT infrastructure space. This book will help you gain a clearer understanding of OpenStack’s components and their interaction with each other to build a cloud environment. You will learn to deploy a self-service based cloud using just four virtual machines and standard networking. You begin with an introduction on the basics of cloud computing. This is followed by a brief look into the need for authentication and authorization, the different aspects of dashboards, cloud computing fabric controllers, along with “Networking as a Service” and “Software Defined Networking.” Then, you will focus on installing, configuring, and troubleshooting different architectures such as Keystone, Horizon, Nova, Neutron, Cinder, Swift, and Glance. Furthermore, you will see how all of the OpenStack components come together in providing IaaS to users. Finally, you will take your OpenStack cloud to the next level by integrating it with other IT ecosystem elements before automation. By the end of this book, you will be proficient with the fundamentals and application of OpenStack. Style and approach This is a practical step-by-step guide comprising of installation prerequisites and basic troubleshooting instructions to help you build an error-free OpenStack cloud easily.
目录展开

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

累计评论(0条) 0个书友正在讨论这本书 发表评论

发表评论

发表评论,分享你的想法吧!

买过这本书的人还买过

读了这本书的人还在读

回顶部