Rate This Document
Findability
Accuracy
Completeness
Readability

Installing Memcached

Perform the following operations on the controller node.

  1. Install Memcached.
    1
    yum -y install memcached python-memcached
    
  2. 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.
    1. Open the file.
      vi /etc/sysconfig/memcached
    2. Press i to enter the insert mode and add the following information to the OPTIONS field:
      ,controller

    3. Press Esc, type :wq!, and press Enter to save the file and exit.
  3. Enable the Memcached service and configure it to start as the system boots.
    1
    2
    systemctl enable memcached.service
    systemctl start memcached.service