ebook img

OpenStack in Action PDF

386 Pages·2016·6.53 MB·English
by  
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 OpenStack in Action

V. K. Cody Bumgardner F Jay Pipes OREWORD BY M A N N I N G OpenStack in Action Licensed to tracy moore <[email protected]> Licensed to tracy moore <[email protected]> OpenStack in Action V. K. CODY BUMGARDNER MANNING SHELTER ISLAND Licensed to tracy moore <[email protected]> For online information and ordering of this and other Manning books, please visit www.manning.com. The publisher offers discounts on this book when ordered in quantity. For more information, please contact Special Sales Department Manning Publications Co. 20 Baldwin Road PO Box 761 Shelter Island, NY 11964 Email: [email protected] ©2016 by Manning Publications Co. All rights reserved. No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in any form or by means electronic, mechanical, photocopying, or otherwise, without prior written permission of the publisher. Many of the designations used by manufacturers and sellers to distinguish their products are claimed as trademarks. Where those designations appear in the book, and Manning Publications was aware of a trademark claim, the designations have been printed in initial caps or all caps. Recognizing the importance of preserving what has been written, it is Manning’s policy to have the books we publish printed on acid-free paper, and we exert our best efforts to that end. Recognizing also our responsibility to conserve the resources of our planet, Manning books are printed on paper that is at least 15 percent recycled and processed without the use of elemental chlorine. Manning Publications Co. Development editors: Susan Conant, Cynthia Kane 20 Baldwin Road Technical development editor: Bill Bruns PO Box 761 Copyeditor: Andy Carroll Shelter Island, NY 11964 Proofreader: Katie Tennant Technical proofreaders: Alain Couniot, David Pombal Typesetter: Dottie Marsico Cover designer: Marija Tudor ISBN 9781617292163 Printed in the United States of America 1 2 3 4 5 6 7 8 9 10 – EBM – 21 20 19 18 17 16 Licensed to tracy moore <[email protected]> brief contents PART 1 GETTING STARTED........................................................1 1 ■ Introducing OpenStack 3 2 ■ Taking an OpenStack test-drive 20 3 ■ Learning basic OpenStack operations 55 4 ■ Understanding private cloud building blocks 84 PART 2 WALKING THROUGH A MANUAL DEPLOYMENT.............111 5 ■ Walking through a Controller deployment 113 6 ■ Walking through a Networking deployment 161 7 ■ Walking through a Block Storage deployment 195 8 ■ Walking through a Compute deployment 216 PART 3 BUILDING A PRODUCTION ENVIRONMENT 239 9 ■ Architecting your OpenStack 241 10 ■ Deploying Ceph 259 11 ■ Automated HA OpenStack deployment with Fuel 277 12 ■ Cloud orchestration using OpenStack 303 v Licensed to tracy moore <[email protected]> Licensed to tracy moore <[email protected]> contents foreword xiii preface xv acknowledgements xvii about this book xviii PART 1 GETTING STARTED..................................................1 1 Introducing OpenStack 3 1.1 What is OpenStack? 6 1.2 Understanding cloud computing and OpenStack 9 Abstraction and the OpenStack API 10 1.3 Relating OpenStack to the computational resources it controls 11 OpenStack and hypervisors 11 ■ OpenStack and network services 14 ■ OpenStack and storage 15 ■ OpenStack and cloud terminology 17 1.4 Introducing OpenStack components 18 1.5 History of OpenStack 18 1.6 Summary 19 vii Licensed to tracy moore <[email protected]> viii CONTENTS 2 Taking an OpenStack test-drive 20 2.1 What is DevStack? 22 2.2 Deploying DevStack 23 Creating the server 25 ■ Preparing the server environment 26 Preparing DevStack 28 ■ Executing DevStack 29 2.3 Using the OpenStack Dashboard 36 Overview screen 38 ■ Access & Security screen 38 Images & Snapshots screen 41 ■ Volumes screen 44 Instances screen 47 2.4 Accessing your first private cloud server 51 Assigning a floating IP to an instance 53 ■ Permitting network traffic to your floating IP 53 2.5 Summary 54 3 Learning basic OpenStack operations 55 3.1 Using the OpenStack CLI 56 3.2 Using the OpenStack APIs 58 3.3 Tenant model operations 59 The tenant model 61 ■ Creating tenants, users, and roles 62 ■ Tenant networks 65 3.4 Quotas 78 Tenant quotas 79 ■ Tenant-user quotas 80 Additional quotas 82 3.5 Summary 83 4 Understanding private cloud building blocks 84 4.1 How are OpenStack components related? 85 Understanding component communication 85 Distributed computing model 91 4.2 How is OpenStack related to vendor technologies? 95 Using vendor storage systems with OpenStack 96 Using vendor network systems with OpenStack 101 4.3 Why walk through a manual deployment? 108 4.4 Summary 109 Licensed to tracy moore <[email protected]> CONTENTS ix PART 2 WALKING THROUGH A MANUAL DEPLOYMENT......111 5 Walking through a Controller deployment 113 5.1 Deploying controller prerequisites 116 Preparing the environment 116 ■ Configuring the network interface 117 ■ Updating packages 120 ■ Installing software dependencies 121 5.2 Deploying shared services 124 Deploying the Identity Service (Keystone) 125 ■ Deploying the Image Service (Glance) 135 5.3 Deploying the Block Storage (Cinder) service 142 Creating the Cinder data store 143 ■ Configuring a Cinder Keystone user 144 ■ Creating the Cinder service and endpoint 145 ■ Installing Cinder 146 5.4 Deploying the Networking (Neutron) service 147 Creating the Neutron data store 148 ■ Configuring a Neutron Keystone user 149 ■ Installing Neutron 151 5.5 Deploying the Compute (Nova) service 152 Creating the Nova data store 153 ■ Configuring a Nova Keystone user 154 ■ Assigning a role to the nova user 154 Creating the Nova service and endpoint 155 ■ Installing the Nova controller 156 5.6 Deploying the Dashboard (Horizon) service 158 Installing Horizon 158 ■ Accessing Horizon 159 Debugging Horizon 160 5.7 Summary 160 6 Walking through a Networking deployment 161 6.1 Deploying network prerequisites 163 Preparing the environment 164 ■ Configuring the network interfaces 164 ■ Updating packages 167 ■ Software and configuration dependencies 168 ■ Installing Open vSwitch 171 ■ Configuring Open vSwitch 174 6.2 Installing Neutron 177 Installing Neutron components 177 ■ Configuring Neutron 178 ■ Configuring the Neutron ML2 plug-in 178 ■ Configuring the Neutron L3 agent 179 Licensed to tracy moore <[email protected]>

Description:
OpenStack in Action. V. K. CODY BUMGARDNER. MANNING. SHELTER ISLAND. Licensed to tracy moore
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.