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

Glance load balancing


Let's scale one more service to make sure there isn't confusion with updating the endpoints. The second service we looked at earlier in Chapter 4, Image Management was Glance. Start by updating the glance-api.conf and glance-registry.conf files to set bind_host to the primary IP address of the host that the Glance services are running on:

bind_host=192.168.123.101

Make sure you do this for both the glance-api.conf and glance-registry.conf files. Next, add the glance frontends and backends to the /etc/haproxy/haproxy.conf file:

frontend glance-frontend bind 192.168.122.111:9292 bind 192.168.123.111:9292 mode http default_backend glance-backend
frontend glance-registry-frontend bind 192.168.122.111:9191 bind 192.168.123.111:9191 mode http default_backend glance-registry-backend
backend glance-backend balance roundrobin mode http server control 192.168.123.101:9292 check inter 10s
 server control-deux 192.168.123.201:9292 check inter 10s
backend glance-registry-backend balance...

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