Installing Memcached
Perform the following operations on the controller node.
- Install Memcached.
1yum -y install memcached python-memcached
- Modify the /etc/sysconfig/memcached file, and configure the Memcached service to use the management IP address of the controller node. This is to enable access to other nodes through the management network.
- Open the file.
vi /etc/sysconfig/memcached
- Press i to enter the insert mode and add the following information to the OPTIONS field:
,controller

- Press Esc, type :wq!, and press Enter to save the file and exit.
- Open the file.
- Enable the Memcached service and configure it to start as the system boots.
1 2
systemctl enable memcached.service systemctl start memcached.service
Parent topic: Configuring the Deployment Environment