1. Introduction
1.1. Note: Because memcached does not have its own cluster scheme, so this step is very simple, direct installation can be enabled. The popular online is the use of magent, but also a scheduler and other software. Since OpenStack is self-balancing, this demo is not configured to be highly available
1.2. Cluster Scheme Link: (later write)
2. Environment
2.1. List of machines
Features and Components |
Machine name |
Service IP |
Manage IP |
Processor cores |
Ram |
Storage |
Note |
Mongo/redis/rabbitmq/memorycached |
HCTJOSCACHE01 |
10.30.2.45 |
172.16.0.45 |
|
|
|
|
Mongo/redis/rabbitmq/memorycached |
HCTJOSCACHE02 |
10.30.2.46 |
172.16.0.46 |
|
|
|
|
Mongo/redis/rabbitmq/memorycached |
HCTJOSCACHE03 |
10.30.2.47 |
172.16.0.47 |
|
|
|
|
2.2. Software
Memcached 1.4.39-1.el7
3. Installation and Configuration
Yum Installation
Yum Install memcached python-memcached
Modify configuration file/etc/sysconfig/memcached, add machine name
options="-L 127.0.0.1,::1,hctjoscache01"
Enable
Systemctl start memcached && systemctl enable memcached
"Linux" "Services" "IaaS" Openstack-pike (5. Install memcached)