Book Image

Learning OpenStack High Availability

By : Rishabh Sharma
Book Image

Learning OpenStack High Availability

By: Rishabh Sharma

Overview of this book

<p>OpenStack is one of the most popular open source cloud computing platforms, and it is used most of all for deploying Infrastructure as a Service (IaaS) solutions. Enabling high availability in OpenStack is a required skill for cloud administrators and cloud engineers in today’s world.</p> <p>This book helps you to achieve high availability and resiliency to OpenStack. This means clustering, fencing, load-balancing, distributed networking, leveraging shared storage, automatic failover, and replication. We start with a basic understanding of what a highly available design is meant to achieve in OpenStack and various ways to achieve high availability in OpenStack through simple step-by-step procedures.</p> <p>Through hands-on examples, you will develop a solid knowledge of horizontally-scalable, fault-resistant, and highly-available OpenStack clusters and will be able to apply the techniques from this book in your day-to-day projects. This book also sheds light on the principles of application design for high availability, and monitoring for high availability, with examples.</p>
Table of Contents (18 chapters)
Learning OpenStack High Availability
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

High availability image services


In high availability glance, a service acts as a backend storage for the object storage called Swift. Image service is used to store the images in a shared manner.

Installing and configuring image services

As the initial step of activating image services, we have to install the Python glance client using this:

sudo apt-get install glance python-glanceclient

Now, we need to modify several image service files for this implementation. The first file that we must modify is glance-api.conf that is available under /etc/glance/. The modification is done using following command:

sudo gedit /etc/glance/glance-api.conf

We changed our Virtual IP for Swift, database, and authentication:

Then, we need to modify the next file called glance-registry.conf available under /etc/glance. This is done as follows:

sudo gedit /etc/glance/glance-registry.conf

The following changes are to be done in the preceding glance-registry.conf file:

The next file to be edited is the glance-cache...