Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
OpenStack Essentials

You're reading from   OpenStack Essentials Demystify the cloud by building your own private OpenStack cloud

Arrow left icon
Product type Paperback
Published in May 2015
Publisher
ISBN-13 9781783987085
Length 182 pages
Edition 1st Edition
Arrow right icon
Author (1):
Arrow left icon
Dan Radez Dan Radez
Author Profile Icon Dan Radez
Dan Radez
Arrow right icon
View More author details
Toc

Table of Contents (15) Chapters Close

Preface 1. Architecture and Component Overview 2. RDO Installation FREE CHAPTER 3. Identity Management 4. Image Management 5. Network Management 6. Instance Management 7. Block Storage 8. Object Storage 9. Telemetry 10. Orchestration 11. Scaling Horizontally 12. Monitoring 13. Troubleshooting 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...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image