Book Image

Production Ready OpenStack - Recipes for Successful Environments

By : Arthur Berezin
Book Image

Production Ready OpenStack - Recipes for Successful Environments

By: Arthur Berezin

Overview of this book

OpenStack is the most popular open source cloud platform used by organizations building internal private clouds and by public cloud providers. OpenStack is designed in a fully distributed architecture to provide Infrastructure as a Service, allowing us to maintain a massively scalable cloud infrastructure. OpenStack is developed by a vibrant community of open source developers who come from the largest software companies in the world. The book provides a comprehensive and practical guide to the multiple uses cases and configurations that OpenStack supports. This book simplifies the learning process by guiding you through how to install OpenStack in a single controller configuration. The book goes deeper into deploying OpenStack in a highly available configuration. You'll then configure Keystone Identity Services using LDAP, Active Directory, or the MySQL identity provider and configure a caching layer and SSL. After that, you will configure storage back-end providers for Glance and Cinder, which will include Ceph, NFS, Swift, and local storage. Then you will configure the Neutron networking service with provider network VLANs, and tenant network VXLAN and GRE. Also, you will configure Nova's Hypervisor with KVM, and QEMU emulation, and you will configure Nova's scheduler filters and weights. Finally, you will configure Horizon to use Apache HTTPD and SSL, and you will customize the dashboard's appearance.
Table of Contents (16 chapters)
Production Ready OpenStack - Recipes for Successful Environments
About the Author
About the Reviewers

Configuring LoadBalancer as a service

The Neutron LBaaS extension allows us to create virtual load balancers that can balance incoming application traffic between running virtual machine instances. The extension introduces additional Neutron API calls to create and manage virtual IP addresses, pools, pool members, and health monitors.

Getting ready

Neutron LBaaS service relies on an HAProxy implementation driver. Before getting started with configuring Neutron LBaaS, make sure that the HAProxy service is installed on the neutron network node running L3 service:

[root@neutron-node ~]# yum -y install haproxy


If Neutron LBaaS is installed on same node with Keystone, you will need to change the default HAProxy port, since Keystone uses port 5000 for public endpoint. Edit the file /etc/haproxy/haproxy.cfg and change the line frontend main *:5000 to frontend main *:5001.

How to do it…

Follow these steps to configure Neutron LBaaS:

  1. In Neutron's main configuration file, under the DEFAULT section...