万本电子书0元读

万本电子书0元读

顶部广告

Ceph Cookbook - Second Edition电子书

售       价:¥

0人正在读 | 0人评论 9.8

作       者:Vikhyat Umrao, Michael Hackett, Karan Singh

出  版  社:Packt Publishing

出版时间:2017-11-24

字       数:37.1万

所属分类: 进口书 > 外文原版书 > 小说

温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印

为你推荐

  • 读书简介
  • 目录
  • 累计评论(0条)
  • 读书简介
  • 目录
  • 累计评论(0条)
Over 100 effective recipes to help you design, implement, and troubleshoot manage the software-defined and massively scalable Ceph storage system. About This Book Implement a Ceph cluster successfully and learn to manage it. Recipe based approach in learning the most efficient software defined storage system Implement best practices on improving efficiency and security of your storage cluster Learn to troubleshoot common issues experienced in a Ceph cluster Who This Book Is For This book is targeted at storage and cloud engineers, system administrators, or anyone who is interested in building software defined storage, to power your cloud or virtual infrastructure. If you have basic knowledge of GNU/Linux and storage systems, with no experience of software defined storage solutions and Ceph, but eager to learn then this book is for you What You Will Learn Understand, install, configure, and manage the Ceph storage system Get to grips with performance tuning and benchmarking, and learn practical tips to help run Ceph in production Integrate Ceph with OpenStack Cinder, Glance, and Nova components Deep dive into Ceph object storage, including S3, Swift, and Keystone integration Configure a disaster recovery solution with a Ceph Multi-Site V2 gateway setup and RADOS Block Device mirroring Gain hands-on experience with Ceph Metrics and VSM for cluster monitoring Familiarize yourself with Ceph operations such as maintenance, monitoring, and troubleshooting Understand advanced topics including erasure-coding, CRUSH map, cache pool, and general Ceph cluster maintenance In Detail Ceph is a unified distributed storage system designed for reliability and scalability. This technology has been transforming the software-defined storage industry and is evolving rapidly as a leader with its wide range of support for popular cloud platforms such as OpenStack, and CloudStack, and also for virtualized platforms. Ceph is backed by Red Hat and has been developed by community of developers which has gained immense traction in recent years. This book will guide you right from the basics of Ceph , such as creating blocks, object storage, and filesystem access, to advanced concepts such as cloud integration solutions. The book will also cover practical and easy to implement recipes on CephFS, RGW, and RBD with respect to the major stable release of Ceph Jewel. Towards the end of the book, recipes based on troubleshooting and best practices will help you get to grips with managing Ceph storage in a production environment. By the end of this book, you will have practical, hands-on experience of using Ceph efficiently for your storage requirements. Style and approach This step-by-step guide is filled with practical tutorials, making complex scenarios easy to understand.
目录展开

Title Page

Ceph Cookbook

Second Edition

Copyright

Ceph Cookbook

Second Edition

Credits

Disclaimer

Foreword

About the Authors

About the Reviewer

www.PacktPub.com

Why subscribe?

Customer Feedback

Preface

What this book covers

What you need for this book

Who this book is for

Sections

Getting ready

How to do it…

How it works…

There's more…

See also

Conventions

Reader feedback

Customer support

Downloading the example code

Downloading the color images of this book

Errata

Piracy

Questions

Ceph – Introduction and Beyond

Introduction

Ceph – the beginning of a new era

Software-defined storage – SDS

Cloud storage

Unified next-generation storage architecture

RAID – the end of an era

RAID rebuilds are painful

RAID spare disks increases TCO

RAID can be expensive and hardware dependent

The growing RAID group is a challenge

The RAID reliability model is no longer promising

Ceph – the architectural overview

Planning a Ceph deployment

Setting up a virtual infrastructure

Getting ready

How to do it...

Installing and configuring Ceph

Creating the Ceph cluster on ceph-node1

How to do it...

Scaling up your Ceph cluster

How to do it…

Using the Ceph cluster with a hands-on approach

How to do it...

Working with Ceph Block Device

Introduction

Configuring Ceph client

How to do it...

Creating Ceph Block Device

How to do it...

Mapping Ceph Block Device

How to do it...

Resizing Ceph RBD

How to do it...

Working with RBD snapshots

How to do it...

Working with RBD clones

How to do it...

Disaster recovery replication using RBD mirroring

How to do it...

Configuring pools for RBD mirroring with one way replication

How to do it...

Configuring image mirroring

How to do it...

Configuring two-way mirroring

How to do it...

See also

Recovering from a disaster!

How to do it...

Working with Ceph and OpenStack

Introduction

Ceph – the best match for OpenStack

Setting up OpenStack

How to do it...

Configuring OpenStack as Ceph clients

How to do it...

Configuring Glance for Ceph backend

How to do it…

Configuring Cinder for Ceph backend

How to do it...

Configuring Nova to boot instances from Ceph RBD

How to do it…

Configuring Nova to attach Ceph RBD

How to do it...

Working with Ceph Object Storage

Introduction

Understanding Ceph object storage

RADOS Gateway standard setup, installation, and configuration

Setting up the RADOS Gateway node

How to do it…

Installing and configuring the RADOS Gateway

How to do it…

Creating the radosgw user

How to do it…

See also…

Accessing the Ceph object storage using S3 API

How to do it…

Configuring DNS

Configuring the s3cmd client

Configure the S3 client (s3cmd) on client-node1

Accessing the Ceph object storage using the Swift API

How to do it...

Integrating RADOS Gateway with OpenStack Keystone

How to do it...

Integrating RADOS Gateway with Hadoop S3A plugin

How to do it...

Working with Ceph Object Storage Multi-Site v2

Introduction

Functional changes from Hammer federated configuration

RGW multi-site v2 requirement

Installing the Ceph RGW multi-site v2 environment

How to do it...

Configuring Ceph RGW multi-site v2

How to do it...

Configuring a master zone

Configuring a secondary zone

Checking the synchronization status

Testing user, bucket, and object sync between master and secondary sites

How to do it...

Working with the Ceph Filesystem

Introduction

Understanding the Ceph Filesystem and MDS

Deploying Ceph MDS

How to do it...

Accessing Ceph FS through kernel driver

How to do it...

Accessing Ceph FS through FUSE client

How to do it...

Exporting the Ceph Filesystem as NFS

How to do it...

Ceph FS – a drop-in replacement for HDFS

Monitoring Ceph Clusters

Introduction

Monitoring Ceph clusters – the classic way

How to do it...

Checking the cluster's health

Monitoring cluster events

The cluster utilization statistics

Checking the cluster's status

The cluster authentication entries

Monitoring Ceph MON

How to do it...

Checking the MON status

Checking the MON quorum status

Monitoring Ceph OSDs

How to do it...

OSD tree view

OSD statistics

Checking the CRUSH map

Monitoring PGs

Monitoring Ceph MDS

How to do it...

Introducing Ceph Metrics and Grafana

collectd

Grafana

Installing and configuring Ceph Metrics with the Grafana dashboard

How to do it...

Monitoring Ceph clusters with Ceph Metrics with the Grafana dashboard

How to do it ...

Operating and Managing a Ceph Cluster

Introduction

Understanding Ceph service management

Managing the cluster configuration file

How to do it...

Adding monitor nodes to the Ceph configuration file

Adding an MDS node to the Ceph configuration file

Adding OSD nodes to the Ceph configuration file

Running Ceph with systemd

How to do it...

Starting and stopping all daemons

Querying systemd units on a node

Starting and stopping all daemons by type

Starting and stopping a specific daemon

Scale-up versus scale-out

Scaling out your Ceph cluster

How to do it...

Adding the Ceph OSD

Adding the Ceph MON

There's more...

Scaling down your Ceph cluster

How to do it...

Removing the Ceph OSD

Removing the Ceph MON

Replacing a failed disk in the Ceph cluster

How to do it...

Upgrading your Ceph cluster

How to do it...

Maintaining a Ceph cluster

How to do it...

How it works...

Throttle the backfill and recovery:

Ceph under the Hood

Introduction

Ceph scalability and high availability

Understanding the CRUSH mechanism

CRUSH map internals

How to do it...

How it works...

CRUSH tunables

The evolution of CRUSH tunables

Argonaut – legacy

Bobtail – CRUSH_TUNABLES2

Firefly – CRUSH_TUNABLES3

Hammer – CRUSH_V4

Jewel – CRUSH_TUNABLES5

Ceph and kernel versions that support given tunables

Warning when tunables are non-optimal

A few important points

Ceph cluster map

High availability monitors

Ceph authentication and authorization

Ceph authentication

Ceph authorization

How to do it…

I/O path from a Ceph client to a Ceph cluster

Ceph Placement Group

How to do it…

Placement Group states

Creating Ceph pools on specific OSDs

How to do it...

Production Planning and Performance Tuning for Ceph

Introduction

The dynamics of capacity, performance, and cost

Choosing hardware and software components for Ceph

Processor

Memory

Network

Disk

Partitioning the Ceph OSD journal

Partitioning Ceph OSD data

Operating system

OSD filesystem

Ceph recommendations and performance tuning

Tuning global clusters

Tuning Monitor

OSD tuning

OSD general settings

OSD journal settings

OSD filestore settings

OSD recovery settings

OSD backfilling settings

OSD scrubbing settings

Tuning the client

Tuning the operating system

Tuning the network

Sample tuning profile for OSD nodes

How to do it...

Ceph erasure-coding

Erasure code plugin

Creating an erasure-coded pool

How to do it...

Ceph cache tiering

Writeback mode

Read-only mode

Creating a pool for cache tiering

How to do it...

See also

Creating a cache tier

How to do it...

Configuring a cache tier

How to do it...

Testing a cache tier

How to do it...

Cache tiering – possible dangers in production environments

Known good workloads

Known bad workloads

The Virtual Storage Manager for Ceph

Introductionc

Understanding the VSM architecture

The VSM controller

The VSM agent

Setting up the VSM environment

How to do it...

Getting ready for VSM

How to do it...

Installing VSM

How to do it...

Creating a Ceph cluster using VSM

How to do it...

Exploring the VSM dashboard

Upgrading the Ceph cluster using VSM

VSM roadmap

VSM resources

More on Ceph

Introduction

Disk performance baseline

Single disk write performance

How to do it...

Multiple disk write performance

How to do it...

Single disk read performance

How to do it...

Multiple disk read performance

How to do it...

Results

Baseline network performance

How to do it...

See also

Ceph rados bench

How to do it...

How it works...

RADOS load-gen

How to do it...

How it works...

There's more...

Benchmarking the Ceph Block Device

How to do it...

How it works...

See also

Benchmarking Ceph RBD using FIO

How to do it...

See Also

Ceph admin socket

How to do it...

Using the ceph tell command

How to do it...

Ceph REST API

How to do it...

Profiling Ceph memory

How to do it...

The ceph-objectstore-tool

How to do it...

How it works...

Using ceph-medic

How to do it...

How it works...

See also

Deploying the experimental Ceph BlueStore

How to do it...

See Also

An Introduction to Troubleshooting Ceph

Introduction

Initial troubleshooting and logging

How to do it...

Troubleshooting network issues

How to do it...

Troubleshooting monitors

How to do it...

Troubleshooting OSDs

How to do it...

Troubleshooting placement groups

How to do it...

There's more…

Upgrading Your Ceph Cluster from Hammer to Jewel

Introduction

Upgrading your Ceph cluster from Hammer to Jewel

How to do it...

Upgrading the Ceph monitor nodes

Upgrading the Ceph OSD nodes

Upgrading the Ceph Metadata Server

See also

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

发表评论

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

买过这本书的人还买过

读了这本书的人还在读

回顶部