万本电子书0元读

万本电子书0元读

顶部广告

Ceph Cookbook电子书

售       价:¥

17人正在读 | 0人评论 9.8

作       者:Karan Singh

出  版  社:Packt Publishing

出版时间:2016-02-29

字       数:134.7万

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

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

为你推荐

  • 读书简介
  • 目录
  • 累计评论(0条)
  • 读书简介
  • 目录
  • 累计评论(0条)
Over 100 effective recipes to help you design, implement, and manage the software-defined and massively scalable Ceph storage systemAbout This BookImplement a Ceph cluster successfully and gain deep insights into its best practicesHarness the abilities of experienced storage administrators and architects, and run your own software-defined storage systemThis comprehensive, step-by-step guide will show you how to build and manage Ceph storage in production environmentWho This Book Is ForThis book is aimed at storage and cloud system engineers, system administrators, and technical architects who are interested in building software-defined storage solutions to power their cloud and 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 this book is for you.What You Will LearnUnderstand, install, configure, and manage the Ceph storage systemGet to grips with performance tuning and benchmarking, and gain practical tips to run Ceph in productionIntegrate Ceph with OpenStack Cinder, Glance, and nova componentsDeep dive into Ceph object storage, including s3, swift, and keystone integrationBuild a Dropbox-like file sync and share service and Ceph federated gateway setupGain hands-on experience with Calamari and VSM for cluster monitoringFamiliarize yourself with Ceph operations such as maintenance, monitoring, and troubleshootingUnderstand advanced topics including erasure coding, CRUSH map, cache pool, and system maintenanceIn DetailCeph is a unified, distributed storage system designed for excellent performance, reliability, and scalability. This cutting-edge technology has been transforming the storage industry, and is evolving rapidly as a leader in software-defined storage space, extending full support to cloud platforms such as Openstack and Cloudstack, including virtualization platforms. It is the most popular storage backend for Openstack, public, and private clouds, so is the first choice for a storage solution. Ceph is backed by RedHat and is developed by a thriving open source community of individual developers as well as several companies across the globe.This book takes you from a basic knowledge of Ceph to an expert understanding of the most advanced features, walking you through building up a production-grade Ceph storage cluster and helping you develop all the skills you need to plan, deploy, and effectively manage your Ceph cluster. Beginning with the basics, you’ll create a Ceph cluster, followed by block, object, and file storage provisioning. Next, you’ll get a step-by-step tutorial on integrating it with OpenStack and building a Dropbox-like object storage solution. We’ll also take a look at federated architecture and CephFS, and you’ll dive into Calamari and VSM for monitoring the Ceph environment. You’ll develop expert knowledge on troubleshooting and benchmarking your Ceph storage cluster. Finally, you’ll get to grips with the best practices to operate Ceph in a production environment.Style and approach This step-by-step guide is filled with practical tutorials, making complex scenarios easy to understand.
目录展开

Ceph Cookbook

Table of Contents

Ceph Cookbook

Credits

Foreword

About the Author

About the Reviewers

www.PacktPub.com

eBooks, discount offers, and more

Why Subscribe?

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

Errata

Piracy

Questions

1. Ceph – Introduction and Beyond

Introduction

Ceph Releases

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 the Ceph deployment

Setting up a virtual infrastructure

Getting ready

How to do it…

Installing and configuring Ceph

Creating Ceph cluster on ceph-node1

How to do it…

Scaling up your Ceph cluster

How to do it…

Using Ceph cluster with a hands-on approach

How to do it…

2. Working with Ceph Block Device

Introduction

Working with Ceph Block Device

Configuring Ceph client

How to do it…

Creating Ceph Block Device

How to do it…

Mapping Ceph Block Device

How to do it…

Ceph RBD resizing

How to do it…

Working with RBD snapshots

How to do it…

Working with RBD Clones

How to do it…

A quick look at OpenStack

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 attach Ceph RBD

How to do it…

Configuring Nova to boot instances from Ceph RBD

How to do it…

3. 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 the RADOS Gateway

How to do it…

Configuring RADOS Gateway

How to do it…

Creating the radosgw user

How to do it…

See also…

Accessing Ceph object storage using S3 API

How to do it…

Configuring DNS

Configuring the s3cmd client

Accessing Ceph object storage using the Swift API

How to do it

See also…

Integrating RADOS Gateway with OpenStack Keystone

How to do it…

Configuring Ceph federated gateways

How to do it…

Testing the radosgw federated configuration

How to do it…

Building file sync and share service using RGW

Getting ready…

How to do it…

See also…

4. Working with the Ceph Filesystem

Introduction

Understanding Ceph Filesystem and MDS

Deploying Ceph MDS

How to do it…

Accessing CephFS via kernel driver

How to do it…

Accessing CephFS via FUSE client

How to do it…

Exporting Ceph Filesystem as NFS

How to do it…

ceph-dokan – CephFS for Windows clients

How to do it…

CephFS a drop-in replacement for HDFS

5. Monitoring Ceph Clusters using Calamari

Introduction

Ceph cluster monitoring – the classic way

Monitoring Ceph clusters

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 Calamari

Building Calamari server packages

How to do it…

Building Calamari client packages

How to do it…

Setting up Calamari master server

How to do it…

Adding Ceph nodes to Calamari

How to do it…

Monitoring Ceph clusters from the Calamari dashboard

Troubleshooting Calamari

How to do it…

6. 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 SYSVINIT

Starting and stopping all daemons

How to do it…

Starting and stopping all daemons by type

How to do it…

Starting daemons by type

Stopping daemons by type

Starting and stopping a specific daemon

How to do it…

Starting a specific daemon

Stopping a specific daemon

Running Ceph as a service

Starting and stopping all daemons

How to do it…

Starting and stopping all daemons by type

How to do it…

Starting daemons by type

Stopping daemons by type

Starting and stopping a specific daemon

How to do it…

Starting a specific daemon

Stopping a specific daemon

Scale-up versus scale-out

Scaling out your Ceph cluster

Adding the Ceph OSD

How to do it…

Adding the Ceph MON

How to do it...

Adding the Ceph RGW

Scaling down your Ceph cluster

Removing the Ceph OSD

How to do it…

Removing Ceph MON

How to do it…

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…

7. Ceph under the Hood

Introduction

Ceph scalability and high availability

Understanding the CRUSH mechanism

CRUSH map internals

How to do it…

How it works…

Ceph cluster map

High availability monitors

Ceph authentication and authorization

Ceph authentication

Ceph authorization

How to do it…

Ceph dynamic cluster management

Ceph placement group

How to do it…

Placement group states

Creating Ceph pools on specific OSDs

How to do it…

8. Production Planning and Performance Tuning for Ceph

Introduction

The dynamics of capacity, performance, and cost

Choosing the hardware and software components for Ceph

Processor

Memory

Network

Disk

Ceph OSD Journal partition

Ceph OSD Data partition

Operating System

OSD Filesystem

Ceph recommendation and performance tuning

Global cluster tuning

Monitor tuning

OSD tuning

OSD General Settings

OSD Journal settings

OSD Filestore settings

OSD Recovery settings

OSD Backfilling settings

OSD scrubbing settings

Client tuning

Operating System tuning

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…

9. The Virtual Storage Manager for Ceph

Introduction

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

How to do it…

VSM roadmap

VSM resources

10. More on Ceph

Introduction

Benchmarking the Ceph cluster

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

Ceph rbd bench-write

How to do it…

How it works…

There's more…

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…

How it works…

Ceph REST API

How to do it…

Profiling Ceph memory

How to do it…

Deploying Ceph using Ansible

Getting ready

How to do it…

There's more…

The ceph-objectstore tool

How to do it…

How it works…

Index

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

发表评论

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

买过这本书的人还买过

读了这本书的人还在读

回顶部