Escolar Documentos
Profissional Documentos
Cultura Documentos
These materials are 2016 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
OpenStack Storage For Dummies, Red Hat Special Edition
Published by
John Wiley & Sons, Inc.
111 River St.
Hoboken, NJ 070305774
www.wiley.com
Copyright 2016 by John Wiley & Sons, Inc., Hoboken, New Jersey
No part of this publication may be reproduced, stored in a retrieval system or transmitted in any
form or by any means, electronic, mechanical, photocopying, recording, scanning or otherwise,
except as permitted under Sections 107 or 108 of the 1976 United States Copyright Act, without the
prior written permission of the Publisher. Requests to the Publisher for permission should be
addressed to the Permissions Department, John Wiley & Sons, Inc., 111 River Street, Hoboken, NJ
07030, (201) 7486011, fax (201) 7486008, or online at http://www.wiley.com/go/permissions.
Trademarks: Wiley, For Dummies, the Dummies Man logo, The Dummies Way, Dummies.com,
Making Everything Easier, and related trade dress are trademarks or registered trademarks of John
Wiley & Sons, Inc. and/or its affiliates in the United States and other countries, and may not be used
without written permission. Red Hat, Red Hat Enterprise Linux, the Shadowman logo, and JBoss are
trademarks or registered trademarks of Red Hat, Inc. or its subsidiaries in the United States and
other countries. The OpenStack Word Mark and OpenStack Logo are either registered trademarks /
service marks or trademarks / service marks of the OpenStack Foundation, in the United States and
other countries and are used with the OpenStack Foundations permission. Linux is the registered
trademark of Linus Torvalds in the U.S. and other countries. Java is the registered trademark of
Oracle America, Inc. in the United States and other countries. All other trademarks are the property
of their respective owners. John Wiley & Sons, Inc., is not associated with any product or vendor
mentioned in this book.
For general information on our other products and services, or how to create a custom For
Dummies book for your business or organization, please contact our Business Development
Department in the U.S. at 8774094177, contact info@dummies.biz, or visit www.wiley.com/go/
custompub. For information about licensing the For Dummies brand for products or services,
contact BrandedRights&Licenses@Wiley.com.
ISBN 9781119292708 (pbk); ISBN 9781119292531 (ebk)
Manufactured in the United States of America
10 9 8 7 6 5 4 3 2 1
Publishers Acknowledgments
Project Editor: Carrie Burchfield Business Development Representative:
Acquisitions Editor: Amy Fandrei Susan Blessing
Editorial Manager: Rev Mengle Production Editor: Siddique Shaik
These materials are 2016 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
Table of Contents
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
About This Book......................................................................... 2
Foolish Assumptions.................................................................. 2
Icons Used in This Book............................................................. 3
Beyond the Book......................................................................... 4
Where to Go from Here.............................................................. 4
These materials are 2016 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
iv OpenStack Storage For Dummies, Red Hat Special Edition
These materials are 2016 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
Introduction
T he rise of cloud computing continues as more and more
companies invest in their enterprise IT capabilities to
enable innovation at scale. But just in case you believe that
the cloud like the Internet is just a passing fad, heres
some data to convince you otherwise:
These materials are 2016 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
2 OpenStack Storage For Dummies, Red Hat Special Edition
Foolish Assumptions
Its been said that most assumptions have outlived their use-
lessness, but I assume a few things about you, the reader,
nonetheless:
These materials are 2016 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
Introduction 3
I also assume that you work in an open source environ-
ment and are somewhat familiar with open source tech-
nologies, such as OpenStack and Ceph. Thus, I wont
waste any valuable real estate in this short book or
any of your valuable time espousing the advantages
of open source solutions or convincing you of the innate
superiority of open source over closed source solutions.
Lastly, I assume that you are somewhat technical. In
fact, nontechnical Linux user is probably a bit of an
oxymoron. As such, this book is written at a somewhat
technical level but I promise its not as deep or dry as
a HOWTO doc.
You wont find a map of the human genome here, but if you
seek to attain the seventh level of NERDvana, perk up! This
icon explains the jargon beneath the jargon!
Thank you for reading, hope you enjoy the book, please take
care of your writers! Seriously, this icon points out helpful
suggestions and useful nuggets of information.
This icon points out the stuff your mother warned you about.
Okay, probably not. But you should take heed nonetheless
you might just save yourself some time and frustration!
These materials are 2016 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
4 OpenStack Storage For Dummies, Red Hat Special Edition
That depends a good deal on where you want to get to, said
the Cat err, the Dummies Man.
If you dont know where youre going, any chapter will get you
there but Chapter1 might be a good place to start! But if
you see a particular topic that piques your interest, feel free
to jump ahead to that chapter. Each chapter is written to
stand on its own, so you can start reading anywhere and skip
around to your hearts content! Read this book in any order
that suits you (though I dont recommend upside down or
backwards).
I promise you wont get lost falling down the rabbit hole!
These materials are 2016 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
Chapter1
Understanding the
Basics of OpenStack and
Ceph Storage
In This Chapter
Getting to know storage options in OpenStack
Learning about the advantages of Ceph
OpenStack Storage
Storage is an important component in the OpenStack cloud
architecture. OpenStack supports three types of persistent
storage:
These materials are 2016 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
6 OpenStack Storage For Dummies, Red Hat Special Edition
These materials are 2016 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
Chapter1: Understanding the Basics of OpenStack/Ceph Storage 7
Large organizations that use OpenStack can serve thousands
of clients or more. Each OpenStack client with its own par-
ticular needs consumes block storage resources. Deploying
Glance (image service catalog), Cinder (block storage
service), and/or Nova (compute service) on a single node
becomes impossible to manage in large deployments with
thousands of clients or more. Scaling OpenStack externally
resolves this challenge.
These materials are 2016 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
8 OpenStack Storage For Dummies, Red Hat Special Edition
These materials are 2016 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
Chapter1: Understanding the Basics of OpenStack/Ceph Storage 9
Multidata center support and disaster recovery: Zones
and region support enable you to deploy the object
storage topologies of Amazon Web Services S3; global
clusters enables creating a global namespace for object
users with read and write affinity to local clusters; and
multisite replication is a godsend for disaster recovery
or archiving.
Costeffectiveness: Standard, commodity hardware
allows you to tailor the optimal price/performance mix
of standard servers and disk to each workload; thin pro-
visioning enables you to create sparse block images in
order to be able to overprovision the cluster. Support for
heterogeneous hardware allows you to avoid having to
replace older hardware as newer nodes are added; and
erasure coding provides a costeffective data durability
option.
These materials are 2016 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
10 OpenStack Storage For Dummies, Red Hat Special Edition
These materials are 2016 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
Chapter2
Exploring Use Cases
and Configuration Best
Practices
In This Chapter
Looking at real world OpenStack examples
Deep dive into hyperconverged and multiregion architectures
These materials are 2016 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
12 OpenStack Storage For Dummies, Red Hat Special Edition
Public cloud
Cloud service providers (CSPs) can deploy OpenStack with
Ceph to build products and services similar to those offered
by public cloud providers like Amazon, Google, and Microsoft.
Ceph allows the administrator to offer object, block and file
storageasaservice with multitenancy security and charge-
back capabilities.
NFV infrastructure
OpenStack is a critical element of an open NFV environment
for telecommunications providers. NFV involves streamlining
the network functions of telecom infrastructure by replacing
legacy, proprietary hardware with elastic, virtualized environ-
ments that are multipurpose.
These materials are 2016 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
Chapter2: Exploring Use Cases and Configuration Best Practices 13
OpenStack with Ceph provides an OpenStack NFV solution
with scale and performance thats affordable, on clustered,
standard commodity server and disk hardware with high man-
ageability and minimal downtime. Data is distributed among
servers and disks dynamically, and the software relies on no
single point of failure for maximum uptime.
Application development
OpenStack is used in AppDev environments that span devel-
opment, deployment, and management, including environ-
ments involving containers where storage is once again
essential. DevOps teams need the ability to choose the right
type of storage for their needs and to be able to add and
remove it programmatically.
These materials are 2016 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
14 OpenStack Storage For Dummies, Red Hat Special Edition
Hyperconverged infrastructure
Hyperconverged infrastructures are becoming increasingly
popular for cloud and NFV deployments due to their smaller
initial deployment footprints, lower cost of entry, and maxi-
mized capacity utilization.
These materials are 2016 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
Chapter2: Exploring Use Cases and Configuration Best Practices 15
isolation and restriction, enhancing upgrade capabilities, and
leveraging an emerging industry standard to run applications.
These materials are 2016 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
16 OpenStack Storage For Dummies, Red Hat Special Edition
Multiregion deployments
IT organizations require a disaster recovery strategy address-
ing outages with loss of storage or extended loss of availabil-
ity at the primary site.
These materials are 2016 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
Chapter2: Exploring Use Cases and Configuration Best Practices 17
them. Services at each site are maintained and kept highly
available with Red Hats existing Pacemaker and HAProxy
implementation, requiring no additional configuration.
These materials are 2016 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
18 OpenStack Storage For Dummies, Red Hat Special Edition
These materials are 2016 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
Chapter3
Ten Reasons to Choose
Red Hat Ceph Storage
In This Chapter
Recognizing the business benefits
Delivering scaleout enterprise performance
Boosting security and stability
These materials are 2016 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
20 OpenStack Storage For Dummies, Red Hat Special Edition
These materials are 2016 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
These materials are 2016 John Wiley & Sons, Inc. Any dissemination, distribution, or unauthorized use is strictly prohibited.
WILEY END USER LICENSE AGREEMENT
Go to www.wiley.com/go/eula to access Wileys ebook EULA.