Mastering Ceph
Second Edition
Infrastructure storage solutions with the latest Ceph release
Nick Fisk
BIRMINGHAM - MUMBAI
Mastering CephSecond Edition
Copyright 2019 Packt Publishing
All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews.
Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either express or implied. Neither the author, nor Packt Publishing or its dealers and distributors, will be held liable for any damages caused or alleged to have been caused directly or indirectly by this book.
Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information.
Commissioning Editor: Pavan Ramchandani
Acquisition Editor: Meeta Rajani
Content Development Editor: Nithin George Varghese
Technical Editor: Rutuja Patade
Copy Editor: Safis Editing
Project Coordinator: Drashti Panchal
Proofreader: Safis Editing
Indexer: Tejal Daruwale Soni
Graphics: Tom Scaria
Production Coordinator: Aparna Bhagat
First published: May 2017
Second edition: February 2019
Production reference: 1010319
Published by Packt Publishing Ltd.
Livery Place
35 Livery Street
Birmingham
B3 2PB, UK.
ISBN 978-1-78961-070-3
www.packtpub.com
mapt.io
Mapt is an online digital library that gives you full access to over 5,000 books and videos, as well as industry leading tools to help you plan your personal development and advance your career. For more information, please visit our website.
Why subscribe?
Spend less time learning and more time coding with practical eBooks and videos from over 4,000 industry professionals
Improve your learning with Skill Plans built especially for you
Get a free eBook or video every month
Mapt is fully searchable
Copy and paste, print, and bookmark content
Packt.com
Did you know that Packt offers eBook versions of every book published, with PDF and ePub files available? You can upgrade to the eBook version at www.packt.com and as a print book customer, you are entitled to a discount on the eBook copy. Get in touch with us at customercare@packtpub.com for more details.
At www.packt.com , you can also read a collection of free technical articles, sign up for a range of free newsletters, and receive exclusive discounts and offers on Packt books and eBooks.
Contributors
About the author
Nick Fisk is an IT specialist with a strong history in enterprise storage. Having worked in a variety of roles throughout his career, he has encountered a wide variety of technologies. In 2012, Nick was given the opportunity to focus more on open source technologies, and this is where he got his first exposure to Ceph. Having seen the potential of Ceph as a storage platform and the benefits of moving away from the traditional closed stack storage platforms, Nick pursued Ceph with keen interest.
Throughout the following years, his experience with Ceph increased with the deployment of several clusters and enabled him to spend time in the Ceph community, helping others and improving certain areas of Ceph.
I would like to thank my wife, Femi Fisk, for her support during the authoring of this book. I would also like to thank the team at Packt for giving me the opportunity again to write a further book on the subject of Cephtheir support during the whole process has been essential to the success of the process. I would also like to thank Sage Weil for the idea and development of the Ceph project.
About the reviewer
Michael Hackett is a storage and SAN expert in customer support. He has been working on Ceph and storage-related products for over 13 years. He co-authored the Ceph Cookbook and holds several storage and SAN-based certifications. Michael is currently working at Red Hat, based in Massachusetts, where he is a principal software maintenance engineer for Red Hat Ceph storage and the technical product lead for the global Ceph team.
Packt is searching for authors like you
If you're interested in becoming an author for Packt, please visit authors.packtpub.com and apply today. We have worked with thousands of developers and tech professionals, just like you, to help them share their insight with the global tech community. You can make a general application, apply for a specific hot topic that we are recruiting an author for, or submit your own idea.
Preface
Ceph, a unified, highly resilient, distributed storage system that provides block, object, and file access, has enjoyed a surge in popularity over the last few years. Due to being open source, Ceph has enjoyed rapid adoption by both developers and end users alike, with several well-known corporations being involved in the project. With every new release, the scale of its performance and feature set continue to grow, further enhancing Ceph's status.
With the current demands for ever-increasing data storage, and the challenges faced by legacy RAID-based systems, Ceph is well placed to offer an answer to these problems. As the world moves toward adopting new cloud technologies and object-based storage, Ceph is ready and waiting to be the driving force behind the new era of storage technologies.
In this book, we will cover a wide variety of topics, from installing and managing a Ceph cluster, through to how to recover from disasters, should you ever find yourself in that situation. For those that have interest in getting their applications to talk directly to Ceph, this book will also show you how to develop applications that make use of Ceph's libraries, and even how to perform distributed computing by inserting your own code into Ceph. By the end of this book, you will be well on your way to mastering Ceph.
The second edition of Mastering Ceph now includes updates around the new BlueStore technology introduced in the Luminous release, with guides to help you understand BlueStore and upgrade your existing cluster to take advantage of it.
Who this book is for
If you are a storage professional, system administrator, or cloud engineer looking for solutions to build powerful storage systems for your cloud and on-premise infrastructure, then this book is for you.
What this book covers
, Planning for Ceph , covers the fundamentals of how Ceph works, its basic architecture, and examines some good use cases. It also discusses the planning steps that you should take before implementing Ceph, including setting design goals, developing proof of concepts and working on infrastructure design.
Next page