logo资料库

OpenStack Essentials.pdf

第1页 / 共182页
第2页 / 共182页
第3页 / 共182页
第4页 / 共182页
第5页 / 共182页
第6页 / 共182页
第7页 / 共182页
第8页 / 共182页
资料共182页,剩余部分请下载后查看
Cover
Copyright
Credits
About the Author
About the Reviewers
www.PacktPub.com
Table of Contents
Preface
Chapter 1: Architecture and Component Overview
OpenStack architecture
Dashboard
Keystone
Glance
Neutron
Nova
Cinder
Swift
Ceilometer
Heat
Summary
Chapter 2: RDO Installation
Installing RDO using Packstack
Preparing nodes for installation
Installing Packstack and generating an answer file
Summary
Chapter 3: Identity Management
Services and endpoints
Hierarchy of users, tenants, and roles
Creating a user
Creating a tenant
Granting a role
Logging in with the new user
Interacting with Keystone in the dashboard
Endpoints in the dashboard
Summary
Chapter 4: Image Management
Glance as a registry of images
Downloading and registering an image
Using the web interface
Building an image
Summary
Chapter 5: Network Management
Networking and Neutron
Network fabric
Open vSwitch configuration
VLAN
GRE tunnels
VXLAN tunnels
Creating a network
Web interface management
External network access
Preparing a network
Creating an external network
Web interface external network setup
Summary
Chapter 6: Instance Management
Managing flavors
Managing key pairs
Launching an instance
Managing floating IP addresses
Managing security groups
Communicating with the instance
Launching an instance using the web interface
Summary
Chapter 7: Block Storage
Use case
Creating and using block storage
Attaching the block storage to an instance
Managing Cinder volumes in the web interface
Backing storage
Cinder types
GlusterFS setup
Summary
Chapter 8: Object Storage
Use case
Architecture of a Swift cluster
Creating and using object storage
Object file management in the web interface
Using object storage on an instance
Ring files
Creating ring files
Summary
Chapter 9: Telemetry
Understanding the data store
Definitions of Ceilometer's configuration terms
Pipelines
Meters
Samples
Statistics
Alarms
Graphing the data
Summary
Chapter 10: Orchestration
About orchestration
Writing templates
The AWS CloudFormation format
The Heat Orchestration Template (HOT) format
Launching a stack
Autoscaling instances with Heat
LBaaS setup
Web interface
Summary
Chapter 11: Scaling Horizontally
Scaling compute nodes
Installing more control and networking
Scaling control and network services
Load-balancing keystone
Additional Keystone tuning
Glance load balancing
Scaling other services
High availability
Highly available database and message bus
Summary
Chapter 12: Monitoring
Monitoring defined
Installing Nagios
Adding Nagios host checks
Nagios commands
Monitoring methods
Non-OpenStack service checks
Monitoring control services
Monitoring network services
Monitoring compute services
Summary
Chapter 13: Troubleshooting
The debug command line option
Tail the server logs
Troubleshooting Keystone and authentication
Troubleshooting Glance image management
Troubleshooting Neutron networking
Troubleshooting Nova launching instances
Troubleshooting post-boot metadata
Troubleshooting console access
Troubleshooting Cinder block storage
Troubleshooting Swift object storage
Troubleshooting Ceilometer Telemetry
Troubleshooting Heat orchestration
Getting more help
Summary
Index
OpenStack Essentials Demystify the cloud by building your own private OpenStack cloud Dan Radez BIRMINGHAM - MUMBAI
OpenStack Essentials Copyright © 2015 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, and its dealers and distributors will be held liable for any damages caused or alleged to be 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. First published: May 2015 Production reference: 1190515 Published by Packt Publishing Ltd. Livery Place 35 Livery Street Birmingham B3 2PB, UK. ISBN 978-1-78398-708-5 www.packtpub.com Cover image by Bartosz Chucherko (chucherko@gmx.com)
Credits Author Dan Radez Reviewers Will Foster Mostafa A. Hamid Alvaro Lopez Ortega Clay Shelor Acquisition Editors Sam Wood Purav Motiwalla Project Coordinator Mary Alex Proofreaders Stephen Copestake Safis Editing Indexer Mariammal Chettiyar Production Coordinator Alwin Roy Content Development Editor Rohit Singh Cover Work Alwin Roy Technical Editor Siddhesh Patil Copy Editor Sarang Chari
About the Author Dan Radez joined the OpenStack community in 2012 in an operator role. His experience has centered around installing, maintaining, and integrating OpenStack clusters. He has been extended offers internationally to present OpenStack content to a range of experts. Dan's other experience includes web application programming, systems release engineering, virtualization product development, and network function virtualization. Most of these roles have had an open source community focus to them. In his spare time, Dan enjoys spending time with his wife and three boys, training for and racing triathlons, and tinkering with electronics projects. I would like to thank Packt Publishing for giving me the opportunity to write my first book. A big thank you goes to my wife for her encouragement and support throughout the time I was writing this book. She takes excellent care of me and my kids. Thanks also to Chris Alfonso for referring Packt's inquiry to me and for his hospitality during the month my family ransacked his house. I'd also like to thank my friends and colleagues, Clay Shelor, Alvero Lopez Ortega, and Will Foster. These gentlemen provided feedback and reviews invaluable to my content being properly written and coherent for your consumption. Finally, I'd like to thank the Lord for the life and breath given to His creation for the purpose of His glory.
About the Reviewers Will Foster is originally from Raleigh, North Carolina. He attended The Citadel, The Military College of South Carolina, in 1996, to pursue a degree in english. He was a performing member of the Summerall Guards, the elite close order Prussian drill unit, as well as a cadet officer within the Tango Company class of 2000. He also holds a degree in technical writing from Appalachian State University and is a Red Hat Certified Engineer. Since 2000, Will has been working as a UNIX/Linux systems administrator involved in mission-critical, customer-facing production business environments. A lifelong skateboard enthusiast, Will had a brief stint as a snowboard instructor during 2000-2001. Will has been working at Red Hat since 2007 as a senior systems administrator / DevOps engineer managing enterprise IT storage and core infrastructure. Currently, he works in the OpenStack deployment team. This team designs, architects, and builds laboratories and infrastructure to test and vet real-world customer deployments and cloud scenarios. They also collaborate with the upstream development community and partners to improve and build upon the OpenStack platform. Will currently resides in Dublin, Ireland, and works in the same development operations deployment team as the author, Dan Radez.
Mostafa A. Hamid is an information systems engineer from State University of New York (SUNY), Potsdam. He is a Certified Information Systems Security Professional (CISSP), Rational Unified Process (RUP) architect, and has a Linux Professional Institute Certification (LPIC). Besides these, he has certifications in JavaScript, PHP, Backbone.js, and ethical hacking from SUNY Potsdam. He is also a certified Java programmer from American University, Cairo. Mostafa has worked with Manon Systems. He has also worked as a technical support engineer for United Systems, TP-LINK, and Hilton Worldwide. He was employed as an ICT teacher at MOIS and is currently working as a software developer at Wassaq. Mostafa has contributed to PHP classes and was nominated for an award. He currently contributes to United Nations, Launchpad.net, and Stackoverflow.org. I would like to thank Manon Niazi, whom I met in college—she means a lot to me, the Deutschlander; my mother and my family for their help at home; Mary Alex for her coordination of the project activities; Siddhesh Patil for his assistance and instructions on the technical part; and all the employees at Packt Publishing—thank you everyone for giving me an opportunity to review this book. Special thanks to the author of this book, Dan Radez. The reviewing process was a cherishable experience. Alvaro Lopez Ortega is a well-known leader in the open source community. He is member of the GNU project and a contributor to OpenStack. He's also a former GNOME developer and OpenSolaris core contributor. He is a veteran speaker at open source conferences worldwide. Currently, Alvaro works as an engineering manager for OpenStack R&D at Red Hat. During 15 years of his professional career, Alvaro held several leader positions with technology companies around the open source ecosystem, including product strategy engineering management at Canonical and OpenSolaris technical lead at Sun Microsystems.
Clay Shelor has worked as an English teacher, in network operations, and as a team leader doing IT staff augmentation. He loves to gather information, put the pieces together, implement a project, and then write about it for others to learn. When not at work, he enjoys time with the family, reading, music, and tug of war with the family dog. Many thanks to Dan Radez for sharing his lifework with me and allowing me to come along for the ride on this project. Dan is exemplary in his work and a great friend. A big thank you goes to Mary Alex for the encouragement to keep me going.
分享到:
收藏