How to Install Memcached

asked 2020-07-30 16:38:37 -0500

MichaelCropper gravatar image

Ok, so got up to here, https://docs.openstack.org/install-guide/environment-memcached-rdo.html (https://docs.openstack.org/install-gu...), and with the section;


Edit the /etc/sysconfig/memcached file and complete the following actions:

Configure the service to use the management IP address of the controller node. This is to enable access by other nodes via the management network:

OPTIONS="-l 127.0.0.1,::1,controller"

Note

This doesn't make sense. What is this telling me to do? What is the syntax in the OPTIONS line? -l? ::1? 127.0.0.1 VS the actual IP address of the controller node?

Confused...

Regards Michael

Change the existing line OPTIONS="-l 127.0.0.1,::1".

edit retag flag offensive close merge delete

Comments

1

I understand that the line in the original config file is OPTIONS="-l 127.0.0.1,::1", and you add controller to the options so that the line becomes OPTIONS="-l 127.0.0.1,::1,controller".

Bernd Bausch gravatar imageBernd Bausch ( 2020-07-30 18:36:20 -0500 )edit
1

OPTIONS is an environment variable that is used when memcached is started. You should see it in the ExecStart clause in the systemd unit file: systemctl cat memcached.

Bernd Bausch gravatar imageBernd Bausch ( 2020-07-30 18:38:53 -0500 )edit