Book Image

Learning OpenStack Networking - Third Edition

By : James Denton
Book Image

Learning OpenStack Networking - Third Edition

By: James Denton

Overview of this book

OpenStack Networking is a pluggable, scalable, and API-driven system to manage physical and virtual networking resources in an OpenStack-based cloud. Like other core OpenStack components, OpenStack Networking can be used by administrators and users to increase the value and maximize the use of existing datacenter resources. This third edition of Learning OpenStack Networking walks you through the installation of OpenStack and provides you with a foundation that can be used to build a scalable and production-ready OpenStack cloud. In the initial chapters, you will review the physical network requirements and architectures necessary for an OpenStack environment that provide core cloud functionality. Then, you’ll move through the installation of the new release of OpenStack using packages from the Ubuntu repository. An overview of Neutron networking foundational concepts, including networks, subnets, and ports will segue into advanced topics such as security groups, distributed virtual routers, virtual load balancers, and VLAN tagging within instances. By the end of this book, you will have built a network infrastructure for your cloud using OpenStack Neutron.
Table of Contents (16 chapters)

Load balancer management in the CLI

Neutron offers a number of commands that can be used to create and manage listeners, virtual IPs, pools, members, and health monitors for load balancing purposes. As of the Pike release of OpenStack, however, load balancer-related commands are not available in the openstack client. Instead, the neutron client or API should be used.

The workflow to create a basic load balancer is as follows:

  • Create a load balancer object
  • Create and associate a pool
  • Create and associate pool member(s)
  • Create and associate health monitor(s) (optional)
  • Create and associate a listener

Managing load balancers in the CLI

A load balancer is an object that occupies a Neutron port and has an IP assigned from a subnet...