vSphere Distributed Switch 上で LACP の LAG を使用している環境において、services.sh restart コマンドを実行すると、仮想マシンのネットワーク接続が切断される
search cancel

vSphere Distributed Switch 上で LACP の LAG を使用している環境において、services.sh restart コマンドを実行すると、仮想マシンのネットワーク接続が切断される

book

Article ID: 435278

calendar_today

Updated On:

Products

VMware vSphere ESXi

Issue/Introduction

免責事項: これは英文の記事 「Virtual machine lose network connectivity when running the services.sh restart command on the ESXi host when using Link Aggregation Control Protocol (LACP) LAG on the vSphere Distributed Switch 」の日本語訳です。記事はベストエフォートで翻訳を進めているため、ローカライズ化コンテンツは最新情報ではない可能性があります。最新情報は英語版の記事で参照してください。

 

VMware vSphere Distributed Switch (vDS) 上で Link Aggregation Control Protocol (LACP) の Link Aggregation Group (LAG) を使用すると、以下のような症状が発生することがあります:

  • services.sh restart コマンドを使用して ESXi ホストの管理エージェントを再起動した後、仮想マシンのネットワーク接続が切断される。
  • VMware vSphere Distributed Switch (vDS) 上で Link Aggregation Control Protocol (LACP) の Link Aggregation Group (LAG) を使用している。

Environment

VMware vSphere ESXi 5.5
VMware vSphere ESXi 6.0
VMware vSphere ESXi 6.5
VMware vSphere ESXi 7.0
VMware vSphere ESXi 8.0

Cause

この問題は、LACP モジュールが init.d スクリプトの一部であるため、ESXi ホスト上の他すべての管理サービスと同時に再起動されることが原因で発生します。
vSphere Distributed Switch (vDS) 上の LACP LAG がアクティブモードとパッシブモードのどちらであっても、LACP モジュールの再起動時に仮想マシンのネットワーク接続が切断されます。

Resolution

現在本事象への恒久的な解消策はありません。

LACP が使用されているかを確認するには以下のコマンドを実行します。:
# esxcli network vswitch dvs vmware lacp status get

この事象を回避するには、services.sh restart コマンドではなく、特定の ESXi ホスト管理エージェントごとに再起動を実施します。

: 各 ESXi ホスト管理エージェントは、個別に再起動することが可能です

特定の ESXi ホスト管理エージェントを個別に再起動する手順:

  1. SSH を使用して、root ユーザーで ESXi ホストにログインします。
  2. 特定のエージェントを再起動するには、以下のコマンドを実行します:

    # /etc/init.d/<エージェント名> restart

    例:

    # /etc/init.d/ntpd restart

    : 使用方法: <エージェント> {start|stop|status|restart}

Additional Information

影響/リスク:

LACP が構成されている VMware vSAN 環境においても services.sh restart コマンドを使用して ESXi 管理エージェントを再起動した場合、影響を受ける可能性があります。

After upgrade to ESXi 8.0.3 VMs are losing network connectivity intermittently
ESXi の管理エージェントの再起動
Converting to Enhanced LACP Support on a vSphere Distributed Switch- "Source vCenter Server has instance(s) of Distributed Virtual Switch at unsupported lacpApiVersion"