万本电子书0元读

万本电子书0元读

顶部广告

Learning OpenStack High Availability电子书

售       价:¥

60人正在读 | 0人评论 9.8

作       者:Rishabh Sharma

出  版  社:Packt Publishing

出版时间:2015-12-03

字       数:89.6万

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

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

为你推荐

  • 读书简介
  • 目录
  • 累计评论(0条)
  • 读书简介
  • 目录
  • 累计评论(0条)
Build a resilient and scalable OpenStack cloud, using advanced open source tools About This Book Leverage the power of OpenStack to achieve high availability Get to grips with concepts such as Galeria Cluster for Glance and Cinder, MariaDB, and validation Using clustering and high-availability solutions, this book provides a comprehensive plan for you to connect them with Red Hat Enterprise Linux OpenStack Platform Who This Book Is For his book is for OpenStack administrator, cloud administrator, cloud engineer, or cloud developer with some real time understanding of cloud computing, OpenStack and familiarity with Linux command is essential to start with this book. What You Will Learn Grasp an understanding of what a highly available design should be using RTO, MTTR, and SLA concepts Set up and configure Galera and RabbitMQ clusters to build an efficient and reliable messaging cluster Get to know the advanced areas of network load balancing using configurations of HAproxy and keepalived Control active/passive OpenStack services by setting up a cluster for two or more nodes Gain a deeper understanding of how OpenStack services work in cooperation with a stateless mode to offer a scalable cloud framework Configure and run a distributed neutron installation based on openvswitch and different tunneling protocols Explore the rudimental configuration of different shared storage options and provide backup services of OpenStack Get acquainted with how an OpenStack-based cloud can survive various failures using network partitioning split brain, automatic failover, and geo-replication Distribute applications and services among availability zones in OpenStack to achieve maximum uptime and reliability of service Control and maintain a cloud with key concepts and tools to correctly measure and control the operations of an OpenStack cloud Get to know more about the relevant HA deployments of OpenStack with use cases In Detail OpenStack is one of the most popular open source cloud computing platforms, and it is used most of all for deploying Infrastructure as a Service (IaaS) solutions. Enabling high availability in OpenStack is a required skill for cloud administrators and cloud engineers in today’s world. This book helps you to achieve high availability and resiliency to OpenStack. This means clustering, fencing, load-balancing, distributed networking, leveraging shared storage, automatic failover, and replication. We start with a basic understanding of what a highly available design is meant to achieve in OpenStack and various ways to achieve high availability in OpenStack through simple step-by-step procedures. Through hands-on examples, you will develop a solid knowledge of horizontally-scalable, fault-resistant, and highly-available OpenStack clusters and will be able to apply the techniques from this book in your day-to-day projects. This book also sheds light on the principles of application design for high availability, and monitoring for high availability, with examples. Style and approach This is a step-by-step guide that uses clustering and high-availability solutions available in the market and provides a comprehensive plan to connect them with Red Hat Enterprise Linux OpenStack Platform to make you a competent OpenStack administrator.
目录展开

Learning OpenStack High Availability

Table of Contents

Learning OpenStack High Availability

Credits

About the Author

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

Downloading the color images of this book

Errata

Piracy

Questions

1. An Introduction to High Availability Concepts

What does High Availability (HA) mean?

How to measure high availability

Common content in the contract

How to achieve high availability

Architecture design for high availability

High availability in OpenStack

Summary

2. Database and Messaging Services

Installing MariaDB with Galera clustering

Installation of high availability RabbitMQ cluster

Configuring the nodes to know each other

Installing RabbitMQ on the two nodes

Constructing a RabbitMQ broker

Restarting the RabbitMQ services on the nodes

Formation of cluster

Check the status of a cluster

Summary

3. Load Balancing for Active/Active Services

The installation of HAProxy and keepalived

The requirement for an experimental setup

The keepalived configuration on controller_2

Defining the HAProxy configuration

HAProxy configuration for the controller_1 node

The HAProxy configuration for the controller_2 node

Making the controller_1 node active

Making the controller_2 node active

Summary

4. Clustering, Fencing, and Active/Passive Services

Installing Corosync and Pacemaker

Requirements for the experimental setup

A secure Socket Host setup

Installing the Corosync package

Sharing and generating Corosync keys

Creating a configuration file

Starting Corosync

Starting Pacemaker

Setting the cluster properties

The load balancing of high availability MySQL

DRBD replicated storage

Installing MySQL

High availability RabbitMQ via AMQP

Configuring DRDB

Creating a filesystem

Preparing RabbitMQ for Pacemaker high availability

Adding the RabbitMQ resources to Pacemaker

Configuring OpenStack services for highly available RabbitMQ

Summary

5. Highly Available OpenStack Services

High availability compute services

Installing and configuring the Nova packages

Creating the Nova database

Populating a database

The load balancing of compute services

Reloading the HAProxy services

High availability dashboard services

Installing and configuring the dashboard

Configuring Memcache

Restarting the Memcache services

Load balancing of dashboard services

Reloading the HAProxy services

High availability object storage services

Installing and configuring object storage

Creating a disk partition

Creating directories

Replicating data on storage nodes

Installing a Swift proxy

Configuring Memcache

Creating a proxy configuration file

Configuring a Swift ring

The load balancing object store services

High availability image services

Installing and configuring image services

Creating the Glance database

Populating the databases

The load balancing of image services

The load balancing HTTP REST API

Creating a load balancing pool

Adding a Virtual IP (VIP)

Launching instances

Security group creation

Adding members to the load balancing pool

Setting a sample web server

Validating web servers with index.html

Summary

6. Distributed Networking

Installing a high availability distributed virtual routing

Control node setup

Disabling reverse path filtering

Loading a new kernel

Configuring the neutron

Configuring the ML2 plugin

Restarting the services

A network node setup

Enabling packet forwarding and disabling reverse path filtering

Loading a new kernel

Configuring the neutron

Configuring the ML2 plugin

Configuring the L3 agent

Configuring the DHCP agent

Configuring the metadata agent

Restarting the services

A compute node setup

Enabling packet forwarding and disabling reverse path filtering

Loading a new kernel

Configuring neutron

Configuring the ML2 plugin

Configure the L3 agent

Configuring the metadata agent

Restarting the services

Verifying the service operation

Summary

7. Shared Storage

An introduction to GlusterFS

Installing GlusterFS

Configuring GlusterFS for block storage

Installation of GlusterFS

Configuring the nodes for communication

The status of peers

Creating a data point

Starting the volume services

An introduction to Ceph

Installing Ceph

Installing Openssh

Connecting to the Ceph node

Configuring the Ceph node

Configuring a storage node

Checking the status of Ceph

Summary

8. Failure Scenario and Disaster Recovery

Network partition split-brain

Preventing a split-brain

Setting the server-side quorum

Setting the client-side quorum

A real-time failure scenario of split-brain

Steps to resolve a split-brain

Choosing a split-brain victim

Force discard of the victim

Resynchronization

Automatic failover

Load balance as a service

The working of a failover

Getting all the failed routers

An LBaaS agent failover

Geo-replication

Creating geo-replication sessions

Starting geo-replication

Verifying a successful geo-replication deployment

A real-time failure scenario

Issues in the master log file

Issues in the Slave log file

Issue in data synchronization

Issues in the geo-replication status display

Summary

9. The Principles of Design for Highly Available Applications

The principles of design features

Micro services and scalability

Fault tolerance

Cloud automation

RESTful application programming interface (APIs)

A sample application deployment

The application programming interface

Database

Web interface

Queue services

Worker services

An interaction of the application with OpenStack

Choosing the OpenStack SDK

Flavors and images

Launching an instance

Destroying an instance

Deploying the application on a new instance

Booting and configuring an instance

Associating a floating IP for external connectivity

Accessing the application

Summary

10. Monitoring for High Availability

The Nagios monitoring service

Installation of the Nagios monitoring service

Installation of Nagios related packages

Installation of the Nagios remote plugin executor

Configuring Nagios

HTTPD configuration

Accessing the Nagios web interface

OpenStack services configuration

OpenStack services configuration

Service definition creation

Graphite monitoring tool

Installing Graphite

Ceilometer configuration

Adding publisher

Carbon installation

Logstash, Elasticsearch and Kibana

Installing Logstash

An Elasticsearch store

The Kibana frontend

Summary

11. Use Cases and Real-World Examples

A case study of Cisco WebEx

Challenges with the infrastructure of Cisco WebEx

The solution with OpenStack

The final outcome

Case study of Huawei

Challenges with the infrastructure of Huawei

The solution with OpenStack

The final outcome

Case study of Multiscale Health Networks

Challenges with the infrastructure of Multiscale

The solution with OpenStack

The final outcome

Case study of eBay

Challenges with eBay business process

The solution with OpenStack

The final outcome

Summary

Index

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

发表评论

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

买过这本书的人还买过

读了这本书的人还在读

回顶部