Rate This Document
Findability
Accuracy
Completeness
Readability

Installing Memcached

Install Memcached on the controller node.

  1. Install the Memcached component.
    yum install memcached python3-memcached
  2. Modify the /etc/sysconfig/memcached file.
    1. Open the /etc/sysconfig/memcached file.
      vi /etc/sysconfig/memcached 
    2. Press i to enter the insert mode and add the following content to OPTIONS:
      OPTIONS="-l 127.0.0.1,::1,controller"
    3. Press Esc to exit the insert mode. Type :wq! and press Enter to save the file and exit.
  3. Start the Memcached service and configure it to start upon system startup.
    systemctl enable memcached.service 
    systemctl start memcached.service
  4. Optional: After the Memcached service is started, view the service status as required.
    memcached-tool controller stats