legacy-knowledge-base
公開されました Jun. 30, 2025

discovery.zen.minimum_master_nodesの正しい設定を計算する方法は?

written-by

Peter Nyiro

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

問題

  • 3ノードのクラスタ化されたエラスティック・サーチ環境で、discovery.zen.minimum_master_nodesプロパティの最適な値を教えてください。
  • 私の計算は正しいですか? 私の計算は、3ノードの場合、以下のようになる:
    • 3/2 + 1 = 1.5 + 1 = 2.5

Environment

  • DXP 7.2+

解決策

  • Elasticsearchのドキュメントによると、計算式は以下のようになっています:
(master_eligible_nodes / 2) + 1
  • この方法の最後のステップは、最も近い整数に数を切り捨てることである。

追加情報

did-this-article-resolve-your-issue

legacy-knowledge-base