Book Image

Mastering OpenStack - Second Edition

By : Omar Khedher, Chandan Dutta
Book Image

Mastering OpenStack - Second Edition

By: Omar Khedher, Chandan Dutta

Overview of this book

In this second edition, you will get to grips with the latest features of OpenStack. Starting with an overview of the OpenStack architecture, you'll see how to adopt the DevOps style of automation while deploying and operating in an OpenStack environment. We'll show you how to create your own OpenStack private cloud. Then you'll learn about various hypervisors and container technology supported by OpenStack. You'll get an understanding about the segregation of compute nodes based on reliability and availability needs. We'll cover various storage types in OpenStack and advanced networking aspects such as SDN and NFV. Next, you'll understand the OpenStack infrastructure from a cloud user point of view. Moving on, you'll develop troubleshooting skills, and get a comprehensive understanding of services such as high availability and failover in OpenStack. Finally, you will gain experience of running a centralized logging server and monitoring OpenStack services. The book will show you how to carry out performance tuning based on OpenStack service logs. You will be able to master OpenStack benchmarking and performance tuning. By the end of the book, you'll be ready to take steps to deploy and manage an OpenStack cloud with the latest open source technologies.
Table of Contents (13 chapters)

Connecting virtual networks with routers

The virtual network can connect together multiple virtual machines and provide a communication path between them, but what if you wanted to cross the Layer-2 network boundary and communicate across the networks. This is where the virtual router comes into the picture. With virtual routers you can connect multiple networks to each other. The way this works is, the tenant adds the subnet associated virtual network to the router. This creates a port on the virtual network and the port is assigned the IP address of the gateway for the subnet. When the virtual machines are offered IP addresses by the DHCP server on the network, the offer contains the IP address for the network gateway. The virtual router forwards the IP packets between the connected networks.

The default L3 plugin for Neutron implements these virtual routers using Linux network namespaces. A network namespace...