Memcached

Memcached

各类服务的身份认证机制使用Memcached缓存令牌。缓存服务memecached通常运行在控制节点。在生产部署中,我们推荐联合启用防火墙、认证和加密保证它的安全。

安全并配置组件

  1. 安装软件包:

    # yum install memcached python-memcached
    
  1. 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"
      

      注解

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

完成安装

  • 启动Memcached服务,并且配置它随机启动。

    # systemctl enable memcached.service
    # systemctl start memcached.service
    
Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.