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
Production Ready OpenStack - Recipes for Successful Environments

You're reading from   Production Ready OpenStack - Recipes for Successful Environments Production Ready OpenStack - Recipes for Successful Environments

Arrow left icon
Product type Paperback
Published in Oct 2015
Publisher Packt
ISBN-13 9781783986903
Length 210 pages
Edition 1st Edition
Arrow right icon
Author (1):
Arrow left icon
Arthur Berezin Arthur Berezin
Author Profile Icon Arthur Berezin
Arthur Berezin
Arrow right icon
View More author details
Toc

Table of Contents (11) Chapters Close

Preface 1. Introduction to OpenStack and its Deployment Using Packages FREE CHAPTER 2. Deploying OpenStack Using Staypuft OpenStack Installer 3. Deploying Highly Available OpenStack 4. Keystone Identity Service 5. Glance Image Service 6. Cinder Block Storage Service 7. Neutron Networking Service 8. Nova-Compute Service 9. Horizon Dashboard Service 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...

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