Memcached のインストール

Memcached のインストール

ほとんどの OpenStack サービスは、トークンなどの一時データを保存するために Memcached を使用できます。Memcached はクラスターなどの一般的な形式の冗長化をサポートしませんが、OpenStack サービスは複数のホスト名や IP アドレスを設定することにより、ほぼ任意の数のインスタンスを使用できます。

Memcached クライアントは、インスタンス間でオブジェクトを分散するハッシュ機能を持ちます。インスタンスの障害は、オブジェクトの使用率のみに影響します。クライアントは、インスタンスの一覧から自動的に削除されます。

Memcached をインストールして設定する方法は、 公式ドキュメント を参照してください。

メモリーキャッシュは oslo.cache により管理されます。これにより、複数の Memcached サーバーの使用時に全プロジェクト間で一貫性を保証できます。以下の例は 3 ノードの設定例です。

Memcached_servers = controller1:11211,controller2:11211,controller3:11211

デフォルトで controller1 がキャッシュサービスを処理します。そのホストが停止している場合、 controller2 または controller3 がサービスを実施します。

For more information about Memcached installation, see the Environment -> Memcached section in the Installation Guides depending on your distribution.

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.