2017-07-21 3 views
0

私は現在MySQL Reference Manualを読んでおり、NDBの設定オプションArbitrtaion = WaitExternalがあることに注意してください。問題は、このオプションを使用する方法と、外部クラスタマネージャを実装する方法です。MySQL ClusterでオプションArbitrtaion = WaitExternalを使用するには?

The Arbitration parameter also makes it possible to configure arbitration in 
such a way that the cluster waits until after the time determined by Arbitrat- 
ionTimeout has passed for an external cluster manager application to perform 
arbitration instead of handling arbitration internally. This can be done by 
setting Arbitration = WaitExternal in the [ndbd default] section of the config.ini 
file. For best results with the WaitExternal setting, it is recommended that 
ArbitrationTimeout be 2 times as long as the interval required by the external 
cluster manager to perform arbitration. 

答えて

0

Gitの注釈のビットとオリジナルデザインのドキュメントのいくつかの検索は、次の言葉:

仲裁人は、それが代わりに次のログメッセージを発行します仲裁人に仲裁メッセージを送信しようとしているとき:

  • ケースArbitCode :: WinWaitExternal:{
  • チャーBUF [8 * 4 * 2 + 1]。
  • sd-> mask.getText(buf);
  • BaseString ::のsnprintf(m_text、m_text_len、
  • "の後に、外部の仲裁を待ち続けて" "ノード:%sの"、BUF)。
  • break;
  • }

外部仲裁を待ってから、ノード:1,2

外部クラスタウェアは、このメッセージを確認する必要があります。 は、ArbitrationTimeoutと同じ間隔で確認してください。 このメッセージが検出されると、外部クラスタウェア は、 アービトレーションを失うと判断したデータノードを強制終了する必要があります。

このkillはNDBデータノードによって記録され、 はどのノードが生存するかを決定します。

関連する問題