VMware NSX for vSphere 6.x コントローラが次のメッセージでクラスタから除外される:Zookeeper クライアントが切断されます (Zookeeper client disconnected)
search cancel

VMware NSX for vSphere 6.x コントローラが次のメッセージでクラスタから除外される:Zookeeper クライアントが切断されます (Zookeeper client disconnected)

book

Article ID: 339076

calendar_today

Updated On:

Products

VMware NSX Networking

Issue/Introduction

  • 展開された VMware NSX for vSphere 6.x コントローラがコントローラ クラスタから切断される。 
  • 実行中の NSX コント ローラに適用可能な TCP リスナーが show network connections of-type tcp コマンドの出力に表示されない。 
  • NSX コントローラ ログに次のようなエントリが記録される。

    D0525 13:46:07.185200 31975 rpc-broker.cc:369] Registering address resolution for: 20.5.1.11:7777
    D0525 13:46:07.185246 31975 rpc-tcp.cc:548] Handshake complete, both peers support the same protocol.
    D0525 13:46:07.197654 31975 rpc-tcp.cc:1048] Rejecting a connection from peer 20.5.1.11:42195/ef447643-f05d-4862-be2c-35630df39060, cluster 9f7ea8ff-ab80-4c0c-825e-628e834aa8a5, which doesn't match our cluster (00000000-0000-0000-0000-000000000000).
    D0525 13:46:07.222869 31975 rpc-tcp.cc:1048] Rejecting a connection from peer 20.5.1.11:42195/ef447643-f05d-4862-be2c-35630df39060, cluster 9f7ea8ff-ab80-4c0c-825e-628e834aa8a5, which doesn't match our cluster (00000000-0000-0000-0000-000000000000)


    詳細については、「Collecting diagnostic information for VMware NSX for vSphere 6.x (2074678)」を参照してください。
  • 切断されたコントローラが、有効でないすべて 0 の UUID を使用してクラスタに参加しようとする。
  • show control-cluster history コマンドで次のようなメッセージが表示される。

    INFO.20150530-000550.1774:D0530 13:25:29.452639  1983 zookeeper_client.cc:774] Zookeeper client disconnected!
  • NSX Controller コンソールで show log cloudnet/cloudnet_java-zookeeper*.log コマンドを実行すると、次のようなエントリが記録される。

    cloudnet_java-zookeeper.20150530-000550.1806.log-2015-05-30 13:25:07,382 47956539 [SyncThread:1] WARN org.apache.zookeeper.server.persistence.FileTxnLog  - fsync-ing the write ahead log in SyncThread:1 took 3219ms which will adversely effect operation latency. See the ZooKeeper troubleshooting guide.

    :前述のログの引用は単なる例です。日付、時間、および環境変数は、環境によって異なる場合があります。


Symptoms:
免責事項:これは英文の記事「VMware NSX for vSphere 6.x controller is excluded from the cluster with the message: Zookeeper client disconnected (2135291)」の日本語訳です。記事はベストエフォートで翻訳を進めているため、ローカライズ化コンテンツは最新情報ではない可能性があります。最新情報は英語版の記事で参照してください。

Environment

VMware NSX for vSphere 6.1.x
VMware NSX for vSphere 6.2.x

Cause

この問題は、ディスクのパフォーマンスが低下して NSX コントローラ クラスタに悪影響を与えるために発生します。コントローラの zookeeper プロセスは、すべての I/O イベントを単一のスレッドで処理します。ファイルの書き込み操作でリソースが消費されている場合、コントローラのキープアライブ メッセージが不足する可能性があります。

Resolution

注意:NSX Controller の性能はストレージに基づいています。

VMware は、NSX Controller を低遅延のディスクに展開することを強くお勧めします。詳細については、「Troubleshooting storage issues when using VMware products (2013160)」を参照してください。