Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • OpenStack Essentials
  • Toc
  • feedback
OpenStack Essentials

OpenStack Essentials

By : Dan Radez
4.2 (14)
close
OpenStack Essentials

OpenStack Essentials

4.2 (14)
By: Dan Radez

Overview of this book

If you need to get started with OpenStack or want to learn more, then this book is your perfect companion. If you're comfortable with the Linux command line, you'll gain confidence in using OpenStack.
Table of Contents (15 chapters)
close
14
Index

Load-balancing keystone


Keystone is a single-threaded service that can benefit from some tuning and scaling when done properly. To run HAProxy on the same node as the API services, the API services will have to be told not to listen on all IP addresses on the node. Edit your /etc/keystone/keystone.cfg file and change the public_bind_host and admin_bind_host options from 0.0.0.0 to the internal IP address of the node. If these are commented out, just uncomment them and set them to the internal IP address of your control node.

Note

Configuration changes from here on made to OpenStack components in configuration files, or in the database, are subject to be overwritten by Packstack with original answer file values if you run Packstack again.

public_bind_host=192.168.123.101
admin_bind_host=192.168.123.101

Next, restart Keystone so that it sees the change:

control# service openstack-keystone restart

Now that Keystone is bound to a specific IP address, another IP address can be added to HAProxy to...

Unlock full access

Continue reading for free

A Packt free trial gives you instant online access to our library of over 7000 practical eBooks and videos, constantly updated with the latest in tech
bookmark search playlist font-size

Change the font size

margin-width

Change margin width

day-mode

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Delete Bookmark

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete