Memcached

Memcached

Le mécanisme d’authentification du service d’Identité pour les services utilise Memcached pour mettre en cache les jetons. Le service memcached s’exécute généralement sur le nœud contrôleur. Pour les déploiements en production, il est recommandé d’activer une combinaison de fonction pare-feu, d’authentification et de cryptage pour le sécuriser.

Installer et configurer les composants

  1. Installez les paquets :

    # zypper install memcached python-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:

      MEMCACHED_PARAMS="-l 127.0.0.1"
      

      Note

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

Finaliser l’installation

  • Démarrer le service Memcached et le configurer pour le lancer au démarrage du système.

    # 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.