ネットワークの瞬断が発生すると、仮想マシンから NFS 上の ISO イメージへの接続が切れる
search cancel

ネットワークの瞬断が発生すると、仮想マシンから NFS 上の ISO イメージへの接続が切れる

book

Article ID: 339915

calendar_today

Updated On:

Products

VMware vSphere ESXi

Issue/Introduction


Symptoms:
免責事項:これは英文の記事「Virtual machine accessing an ISO image on NFS loses connection on network interrupt (2082333)」の日本語訳です。記事はベストエフォートで翻訳を進めているため、ローカライズ化コンテンツは最新情報ではない可能性があります。最新情報は英語版の記事で参照してください。

  • ネットワークの瞬断が発生すると、仮想マシンから NFS 上の ISO イメージへの接続が切れます。
  • 仮想マシンは、共有の NFS 上にある ISO イメージへアクセスしています。
  • vmkernel.log ファイル(場所:/var/log/ )に次のログが出力されます:

    <YYYY-MM-DD> <time> cpu8:8200)WARNING: NFS: 322: Lost connection to the server 10.15.57.230 mount point /vmisos, mounted as 8bddbbcc-8dd9ea9f-0000-000000000000 ("datastore_name")

    </time>
  • ISO の使用を継続するために [次へ] をクリックすると、vCenter Server に次のエラーと共に選択画面が表示されます。

    the operation on file "/vmfs/volumes/2ef6e05de2f6a0c7/SW_DVD5_Office_2010w_SP1_W32_English_CORE_MLF_X17-82110.ISO failed. If the file resides on a remote file system, ensure that the network connection and the server where this disk resides are functioning properly. If the file resides on removable media,reattach the media.Select Retry to attempt the operation again.Select Cancel to end this session.Select Continue to forward the error to the guest operating system.

  • このエラーに応答するまで、仮想マシンのネットワーク接続は回復しません。また、[キャンセル] をクリックするとすぐに仮想マシンはパワーオフされます。


Environment

VMware vSphere ESXi 5.1
VMware vSphere ESXi 5.0
VMware vSphere ESXi 5.5

Cause

この問題は、仮想マシンが NFS サーバから ISO ファイルを読み込むときに NFS サーバへのネットワークが切断されると発生します。

Resolution

この問題を解決するには、それぞれの ESXi ホストでポップアップメッセージに対して自動応答するための設定をしてください。

ポップアップメッセージに対して自動応答を設定する方法:
    1. SSH で ESXi ホストへ接続します。詳細は、Using ESXi Shell in ESXi 5.x (2004746) を参照してください。
    2. cd /etc/vmware/ コマンドを実行し、/etc/vmware/ へ移動します。
    3. テキストエディタで config ファイルを開き、編集します。詳細は、Editing configuration files in VMware ESXi and ESX (1017022) を参照してください。
    4. 次の内容を記載してください:

      answer.msg.vmxaiomgr.retrycontabort.rudeunplug = "_Continue"
      answer.msg.cdromImage.disconnect = "Disconnect"

    5. ファイルを保存し、テキストエディタを閉じます。
    仮想マシンがパワーオンされたときに変更内容が反映されます。

    Additional Information

    Editing configuration files in VMware ESXi and ESX
    Using ESXi Shell in ESXi 5.x and 6.x
    Virtual machine accessing an ISO image on NFS loses connection on network interrupt