legacy-knowledge-base
公開されました Sep. 10, 2025

LiferayはAzureとのセッションアフィニティをサポートしていますか?

written-by

Marcos da Silva Xavier

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

legacy-article

learn-legacy-article-disclaimer-text

問題

  • Azure Zone RedundantアプリサービスはLiferay DXPと互換性がありますか?
  • Zone RedundantにするApp Serviceを選択すると、Azureがクラスターを管理してくれるようだ。 つまり、個々のノードにアクセスすることはできない。 しかし、Azure App Serviceとのセッションアフィニティが有効になっている場合、クラスタリングを有効にしなくても、異なるLiferayバンドルは互いに独立して動作します。

Environment

  • Liferay DXP 7.0+

解決策

  • ノードが正しく機能するためには クラスタリングが 有効になっている必要がある ため、 この 構成はサポートされて いません )。 キャッシュされたエンティティの更新(古くなった)、スケジュールされたジョブ通知などを互いに通知する。 したがって、 1つ以上のノードを使用する場合は、クラスタリングが必要である

    さらに、セッション・アフィニティは 常に推奨される。

    セッションアフィニティを有効にすると、そのノードは私が必要とするかもしれないすべてのものをキャッシュしているが、他のノードはそうではない。

    ですから、セッションアフィニティだけでなく、複数のノードが機能している場合はクラスタリングも有効にすることをお勧めします。

追加情報

did-this-article-resolve-your-issue

legacy-knowledge-base