Memcached for SUSE

Identity サービスのサービス用の認証機構は、トークンをキャッシュするために memcached を使用します。 memcached サービスは通常コントローラーノードで実行します。本番環境では、安全性のため、ファイアウォール、認証、暗号化を組み合わせて利用することを推奨します。

コンポーネントのインストールと設定

  1. パッケージをインストールします。

    # 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 10.0.0.11"
      

      注釈

      Change the existing line MEMCACHED_PARAMS="-l 127.0.0.1".

インストールの最終作業

  • memcached サービスを起動し、システム起動時に起動するよう設定します。

    # systemctl enable memcached.service
    # systemctl start memcached.service