Mastering OpenStack
eBook - ePub

Mastering OpenStack

Omar Khedher

Share book
  1. 400 pages
  2. English
  3. ePUB (mobile friendly)
  4. Available on iOS & Android
eBook - ePub

Mastering OpenStack

Omar Khedher

Book details
Book preview
Table of contents
Citations

About This Book

This book is intended for system administrators, cloud engineers, and system architects who want to deploy a cloud based on OpenStack in a mid- to large-sized IT infrastructure. If you have a fundamental understanding of cloud computing and OpenStack and want to expand your knowledge, then this book is an excellent checkpoint to move forward.

Frequently asked questions

How do I cancel my subscription?
Simply head over to the account section in settings and click on “Cancel Subscription” - it’s as simple as that. After you cancel, your membership will stay active for the remainder of the time you’ve paid for. Learn more here.
Can/how do I download books?
At the moment all of our mobile-responsive ePub books are available to download via the app. Most of our PDFs are also available to download and we're working on making the final remaining ones downloadable now. Learn more here.
What is the difference between the pricing plans?
Both plans give you full access to the library and all of Perlego’s features. The only differences are the price and subscription period: With the annual plan you’ll save around 30% compared to 12 months on the monthly plan.
What is Perlego?
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 1000+ topics, we’ve got you covered! Learn more here.
Do you support text-to-speech?
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more here.
Is Mastering OpenStack an online PDF/ePUB?
Yes, you can access Mastering OpenStack by Omar Khedher in PDF and/or ePUB format, as well as other popular books in Informatica & Virtualizzazione. We have over one million books available in our catalogue for you to explore.

Information

Year
2015
ISBN
9781784395643
Edition
1

Mastering OpenStack


Table of Contents

Mastering OpenStack
Credits
About the Author
About the Reviewers
www.PacktPub.com
Support files, eBooks, discount offers, and more
Why subscribe?
Free access for Packt account holders
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Downloading the example code
Downloading the color images of this book
Errata
Piracy
Questions
1. Designing OpenStack Cloud Architecture
OpenStack – think again
Introducing the OpenStack logical architecture
Keystone
Swift
Glance
Cinder
Nova
nova-api
nova-compute
nova-volume
nova-network
nova-scheduler
Queue
Database
Neutron
The Neutron architecture
Horizon
Gathering the pieces and building a picture
Provisioning a flow under the hood
Expanding the picture
A sample architecture setup
Deployment
The conceptual model design
The logical model design
What about storage?
Networking
The logical networking design
Network layout
The external network
The storage network
The management network
The internal VM traffic
The physical model design
Estimating your hardware capabilities
CPU calculations
Memory calculations
The network calculations
Storage calculations
Best practices
Summary
2. Deploying OpenStack – DevOps and OpenStack Dual Deal
DevOps in a nutshell
DevOps and cloud – everyone is coding
DevOpsing OpenStack
Breaking down the OpenStack pieces
Making the infrastructure deployment professional
Bringing OpenStack to the chain
Continuous integration and delivery
Eat the elephant
Preparing the infrastructure code environment
The Chef environment
Prerequisites for settings
The Chef server installation
Workstation installation
Time to cook OpenStack
Where is my kitchen?
OpenStack cookbooks
Resolving OpenStack cookbook dependencies
Uploading cookbooks using Berkshelf
Defining roles
Configuring the environment
Summary
3. Learning OpenStack Clustering – Cloud Controllers and Compute Nodes
Understanding the art of clustering
Asymmetric clustering
Symmetric clustering
Divide and conquer
The cloud controller
nova-conductor
nova-scheduler
X-api
Image management
Network outfit
The Horizon decision
Planning for the message queue
Consolidating the database
Cloud controller clustering
Cooking the cloud controller
The compute node
Overcommitment considerations
The CPU allocation ratio
The RAM allocation ratio
Deciding on the hypervisor
Changing the color of the hypervisor
Storing instances' alternatives
External shared file storage
Internal nonshared file storage
Cooking the compute node
Preparing for plan B
Back up with backup-manager
Simple recovery steps
Summary
4. Learning OpenStack Storage – Deploying the Hybrid Storage Model
Understanding the storage types
Ephemeral storage
Persistent storage
Object storage is not NAS/SAN
A spotlight on Swift
The Swift architecture
Fire and forget
Indexing the data
A rich API access
Physical design considerations
Where is my data?
Swift hardware
Where to place what
The Swift network
Cooking Swift
Joining Cinder
Choosing the storage
CAP under scope
Stirring up the storage
Cinder can do more
The Cinder use case
Beyond Cinder – Ceph
Ceph in OpenStack
Cooking Ceph
Storing images in Ceph
Summary
5. Implementing OpenStack Networking and Security
The story of an API
Security groups
Managing the security groups using Horizon
Managing the security groups using the Neutron CLI
Managing the security groups using the Nova CLI
An example of a web server DMZ
Firewall as a Service
Coupling a firewall with Neutron
The Neutron plugin
There can be more than one plugin
Empowering the traffic isolation
VPN as a Service – a case study
General settings
VPNaaS configuration
Creating the Internet Key Exchange policy
Creating an IPSec policy
Creating a VPN service
Creating an IPSec site connection
Summary
6. OpenStack HA and Failover
HA under the scope
Do not mix them
HA levels in OpenStack
A strict service-level agreement
Measuring HA
The HA dictionary
Hands on HA
Understanding HAProxy
Services should not fail
The load balancer should not fail
OpenStack HA under the hood
HA the database
HA in the queue
Keep calm and use HA
Implementing HA on MySQL
Implementing HA on RabbitMQ
Implementing HA on OpenStack cloud controllers
Implementing HA on network nodes
Summary
7. OpenStack Multinode Deployment – Bringing in Production
Confirming the multinode setup
Assigning physical nodes
Preparing the OpenStack Initiator
The network topology
The OpenStack network mode
The physical network topology
The OpenStack deployment
The MIN installation
Chef server preinstallation
Discover and cook
Cooking time
Testing the cloud
Arming the deployment
Bringing HA into action
Adapting the deployment
Running first tenant
Summary
8. Extending OpenStack – Advanced Networking Features and Deploying Multi-tier Applications
Navigating through Neutron
Neutron plugins
Virtual switching infrastructure
The Linux Bridge plugin
The Open vSwitch plugin
Load Balancer as a Service
Work around LBaaS
Integrate LBaaS in the cloud
Stack in OpenStack
HOT explained
Installing heat
Heating things up
Summary
9. Monitoring OpenStack – Ceilometer and Zabbix
Telemetry in OpenStack – Ceilometer
Ceilometer definition
Ceilometer glossary
The Ceilometer architecture
The Ceilometer installation
Ceilometer and heat
Autoscaling
Extending HOT for alarming
Arming OpenStack monitoring
Zabbix in action
Placing Zabbix
Installing the Zabbix server
Configuring the Zabbix agent on OpenStack nodes
Watching OpenStack
Summary
10. Keeping Track for Logs – Centralizing Logs with Logstash
Tackling logging
D...

Table of contents