ebook img

Certified OpenStack Administrator Study Guide PDF

173 Pages·2016·8.95 MB·English
Save to my drive
Quick download
Download
Most books are stored in the elastic cloud where traffic is expensive. For this reason, we have a limit on daily download.

Preview Certified OpenStack Administrator Study Guide

Certified OpenStack Administrator Study Guide — Andrey Markelov Cer tified OpenStack Administrator Study Guide Andrey Markelov Certified OpenStack Administrator Study Guide Andrey Markelov Stockholm, Sweden ISBN-13 (pbk): 978-1-4842-2124-2 ISBN-13 (electronic): 978-1-4842-2125-9 DOI 10.1007/978-1-4842-2125-9 Library of Congress Control Number: 2016958120 Copyright © 2016 by Andrey Markelov This work is subject to copyright. All rights are reserved by the Publisher, whether the whole or part of the material is concerned, specifically the rights of translation, reprinting, reuse of illustrations, recitation, broadcasting, reproduction on microfilms or in any other physical way, and transmission or information storage and retrieval, electronic adaptation, computer software, or by similar or dissimilar methodology now known or hereafter developed. Trademarked names, logos, and images may appear in this book. Rather than use a trademark symbol with every occurrence of a trademarked name, logo, or image we use the names, logos, and images only in an editorial fashion and to the benefit of the trademark owner, with no intention of infringement of the trademark. The use in this publication of trade names, trademarks, service marks, and similar terms, even if they are not identified as such, is not to be taken as an expression of opinion as to whether or not they are subject to proprietary rights. While the advice and information in this book are believed to be true and accurate at the date of publication, neither the authors nor the editors nor the publisher can accept any legal responsibility for any errors or omissions that may be made. The publisher makes no warranty, express or implied, with respect to the material contained herein. Managing Director: Welmoed Spahr Acquisitions Editor: Louise Corrigan Development Editor: Corbin Collins Technical Reviewer: Anton Arapov Editorial Board: Steve Anglin, Pramila Balan, Laura Berendson, Aaron Black, Louise Corrigan, Jonathan Gennick, Todd Green, Robert Hutchinson, Celestin Suresh John, Nikhil Karkal, James Markham, Susan McDermott, Matthew Moodie, Natalie Pao, Gwenan Spearing Coordinating Editor: Nancy Chen Copy Editor: Mary Bearden Compositor: SPi Global Indexer: SPi Global Cover Image: Courtesy of Freepik.com Distributed to the book trade worldwide by Springer Science+Business Media New York, 233 Spring Street, 6th Floor, New York, NY 10013. Phone 1-800-SPRINGER, fax (201) 348-4505, e-mail orders-ny@springer- sbm.com , or visit w ww.springer.com . Apress Media, LLC is a California LLC and the sole member (owner) is Springer Science + Business Media Finance Inc (SSBM Finance Inc). SSBM Finance Inc is a Delaware corporation. For information on translations, please e-mail [email protected] , or visit w ww.apress.com . Apress and friends of ED books may be purchased in bulk for academic, corporate, or promotional use. eBook versions and licenses are also available for most titles. For more information, reference our Special Bulk Sales–eBook Licensing web page at w ww.apress.com/bulk-sales . Any source code or other supplementary materials referenced by the author in this text are available to readers at w ww.apress.com . For detailed information about how to locate your book’s source code, go to w ww.apress.com/source-code/ . Readers can also access source code at SpringerLink in the Supplementary Material section for each chapter. Printed on acid-free paper To my wife, Elena, for her love and support. Contents at a Glance About the Author .....................................................................................................xi About the Technical Reviewer ...............................................................................xiii Introduction .............................................................................................................xv ■ Chapter 1: Getting to Know OpenStack .................................................................1 ■ Chapter 2: How to Build Your Own Virtual Test Environment ................................7 ■ Chapter 3: Identity Management .........................................................................19 ■ Chapter 4: Image Management ...........................................................................31 ■ Chapter 5: OpenStack Networking ......................................................................43 ■ Chapter 6: OpenStack Compute ...........................................................................65 ■ Chapter 7: OpenStack Dashboard ........................................................................87 ■ Chapter 8: OpenStack Object Storage .................................................................91 ■ Chapter 9: Block Storage .....................................................................................99 ■ Chapter 10: Orchestration of OpenStack ...........................................................119 ■ Chapter 11: Troubleshooting .............................................................................131 ■ Chapter 12: Conclusion .....................................................................................153 Index .....................................................................................................................157 v Contents About the Author .....................................................................................................xi About the Technical Reviewer ...............................................................................xiii Introduction .............................................................................................................xv ■ Chapter 1: Getting to Know OpenStack .................................................................1 Understanding the Components That Make Up the Cloud ................................................2 History of OpenStack Project ...........................................................................................4 OpenStack Distribution and Vendors ................................................................................5 ■ Chapter 2: How to Build Your Own Virtual Test Environment ................................7 Installing Vanilla OpenStack with the DevStack Tool ........................................................7 Installing RDO OpenStack Distribution with PackStack ...................................................9 Installing Mirantis OpenStack with Fuel Tool .................................................................13 Using the OpenStack CLI ................................................................................................17 ■ Chapter 3: Identity Management .........................................................................19 Architecture and Main Components of Keystone ...........................................................19 Managing Keystone Catalog Services and Endpoints ....................................................21 Managing/Creating Projects, Users, and Roles ..............................................................24 Managing and Verifying Operation of the Identity Service .............................................27 Review Questions ...........................................................................................................29 Answers to Review Questions ........................................................................................30 vii ■ CONTENTS ■ Chapter 4: Image Management ...........................................................................31 Architecture and Main Components of Glance ...............................................................31 Deploying a New Image to an OpenStack Instance ........................................................33 Managing Images ...........................................................................................................36 Managing Image Back Ends ...........................................................................................39 Verifying Operation of the Image Service .......................................................................40 Review Questions ...........................................................................................................41 Answers to Review Questions ........................................................................................42 ■ Chapter 5: OpenStack Networking ......................................................................43 Architecture and Components of Neutron ......................................................................43 Architecture of Open vSwitch .........................................................................................45 Manage Network Resources ..........................................................................................48 Manage Project Security Group Rules ............................................................................57 Manage Quotas ..............................................................................................................59 Verify Operation of Network Service ..............................................................................61 Review Questions ...........................................................................................................63 Answers to Review Questions ........................................................................................64 ■ Chapter 6: OpenStack Compute ...........................................................................65 Architecture and Components of Nova ...........................................................................65 Managing Flavors ...........................................................................................................69 Managing and Accessing an Instance Using a Keypair ..................................................70 Launching, Shutting Down, and Terminating the Instance .............................................72 Managing Instance Snapshots .......................................................................................76 Managing Quotas ...........................................................................................................78 Getting Nova Stats ..........................................................................................................80 Verifying Operation and Managing Nova Compute Servers ............................................82 Review Questions ...........................................................................................................85 Answers to Review Questions ........................................................................................86 viii ■ CONTENTS ■ Chapter 7: OpenStack Dashboard ........................................................................87 Architecture of Horizon...................................................................................................87 Verify Operation of the Dashboard .................................................................................88 Review Question .............................................................................................................89 Answer to Review Question ...........................................................................................89 ■ Chapter 8: OpenStack Object Storage .................................................................91 Overview of Swift Object Storage ..................................................................................91 Managing Permissions on a Container in Object Storage ..............................................93 Using the cURL Tool for Working with Swift ...................................................................94 Managing Expiring Objects.............................................................................................95 Monitoring Swift Cluster.................................................................................................95 Review Questions ...........................................................................................................97 Answers to Review Questions ........................................................................................98 ■ Chapter 9: Block Storage .....................................................................................99 Architecture and Components of Cinder ........................................................................99 Manage Volume and Mount It to a Nova Instance ........................................................102 Create Volume Group for Block Storage .......................................................................107 Manage Quotas ............................................................................................................108 Back Up and Restore Volumes and Snapshots .............................................................110 Manage Volume Snapshots ..........................................................................................112 Manage Volumes Encryption ........................................................................................114 Set Up Storage Pools ....................................................................................................116 Review Questions .........................................................................................................117 Answers to Review Questions ......................................................................................118 ■ Chapter 10: Orchestration of OpenStack ...........................................................119 Architecture and Components of Heat .........................................................................119 Introducing the Heat OpenStack Template ...................................................................120 Launching a Stack Using a HOT ...................................................................................122 ix ■ CONTENTS Using Heat CLI and Dashboard .....................................................................................126 Review Questions .........................................................................................................129 Answers to Review Questions ......................................................................................130 ■ Chapter 11: Troubleshooting .............................................................................131 The Main Principles of Troubleshooting .......................................................................131 How to Check the OpenStack Version ..........................................................................133 Where to Find and How to Analyze Log Files ...............................................................133 Back Up the Database Used by an OpenStack Instance ...............................................135 Analyze Host/Guest OS and Instance Status ................................................................136 Analyze Messaging Servers .........................................................................................140 Analyze Network Status ...............................................................................................142 Digest the OpenStack Environment ..............................................................................148 Review Questions .........................................................................................................151 Answers to Review Questions ......................................................................................152 ■ Chapter 12: Conclusion .....................................................................................153 Index .....................................................................................................................157 x About the Author Andrey Markelov is an experienced Linux and cloud architect who currently works as a Senior Solution Architect at Ericsson in Sweden. Before Ericsson, Andrey worked as the first ever Red Hat Solution Architect in Russia and with various large system integrators. He has written more than 50 articles about Linux and Unix systems services, virtual systems, and OpenSource, published in the Russian IT Press (L inux Format RE , Computerra , PCWeek/RE , and others). Andrey is the author of the only Russian OpenStack book at the moment. He also has experience in teaching Microsoft and Red Hat authorized courses over the past ten years. Andrey has been a Red Hat Certified Architect since 2009. He has the following certifications: Microsoft Certified System Engineer, Sun Certified System Administrator, Novell Certified Linux Professional, Mirantis Certified OpenStack Administrator, and Certified OpenStack Administrator by The OpenStack Foundation. His LinkedIn profile can be found at http://ru.linkedin.com/in/amarkelov . xi

Description:
This guide teaches you how and what to study in order to be best prepared for the Certified OpenStack Administrator exam. This fast-growing technology is creating a market that needs more qualified IT specialists with proven skills. This book covers 100% of the exam requirements for both The OpenSta
See more

The list of books you might like

Most books are stored in the elastic cloud where traffic is expensive. For this reason, we have a limit on daily download.