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

Logstash, Elasticsearch and Kibana


These are open source technologies for the efficient storage, analysis and retrieval of any type of log files. The backend storage will be provided using elasticsearch, and Kibana is used to generate reports via various chats instantly. In this OpenStack cloud environment, all the logs files that are generated will be considered for analyzing some resource utilization according to the policies. There is a log of built-in functions available for various purposes with the analyzed log files.

Installing Logstash

To install logstash, we need a Java runtime. We can check with the system whether Java will be available using this command as follows:

#sudo java –version

As an initial step of the Logstash installation, we have to download the binary as follows. Before this, we need to configure logstash and run it on the terminal:

# sudo curl -O https://download.elasticsearch.org/logstash/logstash/logstash-1.4.1.tar.gz

Then find logstash-1.4.1 under a tar file and...