Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Production Ready OpenStack - Recipes for Successful Environments
  • Toc
  • feedback
Production Ready OpenStack - Recipes for Successful Environments

Production Ready OpenStack - Recipes for Successful Environments

By : Arthur Berezin
3.5 (2)
close
Production Ready OpenStack - Recipes for Successful Environments

Production Ready OpenStack - Recipes for Successful Environments

3.5 (2)
By: Arthur Berezin

Overview of this book

OpenStack is the most popular open source cloud platform used by organizations building internal private clouds and by public cloud providers. OpenStack is designed in a fully distributed architecture to provide Infrastructure as a Service, allowing us to maintain a massively scalable cloud infrastructure. OpenStack is developed by a vibrant community of open source developers who come from the largest software companies in the world. The book provides a comprehensive and practical guide to the multiple uses cases and configurations that OpenStack supports. This book simplifies the learning process by guiding you through how to install OpenStack in a single controller configuration. The book goes deeper into deploying OpenStack in a highly available configuration. You'll then configure Keystone Identity Services using LDAP, Active Directory, or the MySQL identity provider and configure a caching layer and SSL. After that, you will configure storage back-end providers for Glance and Cinder, which will include Ceph, NFS, Swift, and local storage. Then you will configure the Neutron networking service with provider network VLANs, and tenant network VXLAN and GRE. Also, you will configure Nova's Hypervisor with KVM, and QEMU emulation, and you will configure Nova's scheduler filters and weights. Finally, you will configure Horizon to use Apache HTTPD and SSL, and you will customize the dashboard's appearance.
Table of Contents (11 chapters)
close
10
Index

Configuring Horizon caching with memcached


To better address large-scale environments while using the Horizon dashboard service, with a large amount of users, it is recommended to configure a caching layer in front of the dashboard. This reduces the amount of calls httpd needs to address and allows Horizon dashboard to serve a larger amount of users.

Getting started

In this recipe, we will configure Horizon to use a memcached caching service. We will need to install and configure the memcached service first.

Install the memcached service with dependent packages:

[root@controller ~]# yum install -y memcached memcached-selinux

Edit the memcached configuration file:

[root@controller ~]# vi /etc/sysconfig/memcached

Make sure that the following settings are done:

PORT="11211"
USER="memcached"
OPTIONS="-l 127.0.0.1"

Enable and start the memcached service:

[root@controller ~]# systemctl enable memcached
[root@controller ~]# systemctl start memcached

Test if memcached is running and functional as follows...

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