ESXiホストでのvSphere Replication VIBインストールエラー "/usr/sbin/esxupdate returned with exit status: 7"
search cancel

ESXiホストでのvSphere Replication VIBインストールエラー "/usr/sbin/esxupdate returned with exit status: 7"

book

Article ID: 431324

calendar_today

Updated On:

Products

VMware vCenter Server VMware vSphere ESXi

Issue/Introduction

免責事項: これは英文の記事vSphere Replication vib installation errors on ESXi hosts "/usr/sbin/esxupdate returned with exit status: 7"の日本語訳です。記事はベストエフォートで翻訳を進めているため、ローカライズ化コンテンツは最新情報ではない可能性があります。最新情報は英語版の記事を参照してください。

vCenterをバージョン8.0U2に、Live Site Recoveryを9.0.2にアップグレードした後、レプリケーションクラスタに属さない別のクラスタ内のホストへの接続を試行すると、vCenterで "/usr/sbin/esxupdate returned with exit status: 7"およびSSLExceptionに関するエラーが発生します。

このクラスタの通信はvSphere Replicationに対して開くことができません。

 

Environment

vSphere Replication (All versions)

Cause

vSphere Replication アプライアンスは、設計上、vCenter インベントリ内のすべての ESXi ホストに VIB をインストールしようと試みます。

Resolution

理想的には、vCenter インベントリ内のすべての ESXi ホストと vSphere Replication アプライアンス間のネットワーク通信をオープンにすることです。一部のクラスターでこれが不可能な場合は、エラーを無視しても安全です。ただし、レプリケーション トラフィックの暗号化を使用していない場合は、自動インストール機能を無効にすることで、アプライアンスによるホストへの VIB 転送試行を停止できます。


Resolution:

1. vSphere Replication アプライアンスに SSH でログインします。:

ディレクトリ /opt/vmware/hms/conf/ へ移動します。

オプション A:手動編集

  1. vi などのエディタで hms-configuration.xml を開き、hms-auto-install-hbragent-vib エントリを true から false に更新します。:

    変更前 : 元の値 True

    <! -- Whether to install hbragent vib automatically when reconnecting to the hosts -->
    <hms-auto-install-hbragent-vib>true</hms-auto-install-hbragent-vib>

    変更後 : 更新後の値 False

    <! -- Whether to install hbragent vib automatically when reconnecting to the hosts -->
    <hms-auto-install-hbragent-vib>false</hms-auto-install-hbragent-vib>

  2. のコマンドを実行して HMS を再起動します。: systemctl restart hms

オプション B:コマンドラインによる更新  : 次のコマンドを実行して hms-auto-install-hbragent-vib のステータスfalse にすることも可能です。:

# /opt/vmware/hms/bin/hms-configtool -cmd reconfig -property hms-auto-install-hbragent-vib=false

注: vSphere Replication をアップグレードした際、レプリケーションに使用するホストに対しては VIB を手動でインストールするか、一時的にこの値を true に戻してインストールを完了させる必要があります。

Additional Information

関連 KB:

Host install tasks for HBR agent VIB fails, error displays "An error occurred during host configuration", causing remediation to hung through update manager.

Exclude hosts from registration in vSphere Replication

備考:

注記:KB Exclude hosts from registration in vSphere Replication  に記載されている com.vmware.vr.disallowedHost タグを使用しても、ESXi ホストにおける vSphere Replication VIB インストールエラー(例 "/usr/sbin/esxupdate returned with exit status: 7")は修正できません。

com.vmware.vr.disallowedHost タグは、ターゲットサイトへのレプリケーション受信時のみ有効です。タグ付けされたホストは送信レプリケーションに引き続き使用され、許可されていないホスト上の仮想マシンもレプリケーション可能であるため、この機能では vmware-hbr-agent.vib のインストールを停止できません。したがって、これらのインストールエラーを停止する唯一の回避策は、vSphere Replication アプライアンス内で hms-auto-install-hbragent-vib のステータスを false に更新することです。

installation errors on ESXi hosts "/usr/sbin/esxupdate returned with exit status: 7"