「VxRail:ESXiホストでVMware Toolsのバージョンをアップデートする方法
Summary: この記事では、Broadcomからのオフライン パケットを使用して、ESXiホストのVMware Toolsバージョンをアップデートする方法について説明します。
Instructions
-
Broadcomサポート ページから「VMware Tools Offline VIB Bundle」をダウンロードします。[マイ ダウンロード]セクションに移動し、[VMware Tools]で検索します。必要なバージョンを選択し、オフラインVIBバンドルをダウンロードします。


-
アップデートを適用する前に、ESXiホストの現在のVMware Toolsバージョンを確認できます。SSHでESXiホストにアクセスし、次のコマンドを実行します。
esxcli software component get | grep VMware-VM-Tools -B 1 -A 14
Example:
[root@host01:~] esxcli software component get | grep VMware-VM-Tools -B 1 -A 14 VMware-VM-Tools_12.3.5.22544099-23794019 Name: VMware-VM-Tools Display Name: ESXi VM Tools Version: 12.3.5.22544099-23794019 Display Version: 12.3.5 VIBs: VMware_locker_tools-light_12.3.5.22544099-23794019 Vendor: VMware Summary: ESXi Tools Component Severity: general Urgency: critical Category: security Release Type: patch Kburl: https://docs.vmware.com/en/VMware-vSphere/7.0/rn/vsphere-esxi-70u3q-release-notes/index.html#Resolved%20Issues-VMware-VM-Tools_12.3.5.22544099-23794019 Description: This component contains the tools VIB. Contact: VMware ReleaseDate: 05-21-2024
この場合、ESXiホストの現在のVMware Toolsバージョンは「12.3.5.22544099-23794019」です。
-
ESXiホストで、「VMware Tools Offline VIB Bundle」を配置する一時ディレクトリーを作成します。この場合、「VMware Tools オフライン VIB バンドル」バージョン 12.4.5 のサイズは約 370 MB です。このファイルは、ESXiホスト内のサポートされているディレクトリーに配置する必要があります。この例では、ローカルデータストア内に一時ディレクトリを作成します。
[root@host01:~] cd /vmfs/volumes/LOCAL-DATASTORE [root@host01:/vmfs/volumes/LOCAL-DATASTORE] mkdir vmware-tools-temp
一時ディレクトリーを作成したら、「VMware Tools Offline VIB Bundle」ファイルをそのディレクトリーにコピーします。ファイルは、WinSCP、PowerShell、または任意のアプリケーションを使用してESXiホストにコピーできます。
-
VMware Toolsのバージョンをアップデートするために、ESXiホストをメンテナンス モードにしたり、再起動したりする必要はありません。次のコマンドを使用して確認できます。
esxcli software sources vib get --depot=file:/vmfs/volumes/LOCAL-DATASTORE/vmware-tools-temp/VMware-Tools-12.4.5-core-offline-depot-ESXi-all-23787635.zip
コマンド出力の例:
VMware_locker_tools-light_6.5.0-12.4.5.23787635 Name: tools-light Version: 6.5.0-12.4.5.23787635 Type: locker Vendor: VMware Acceptance Level: VMwareCertified Summary: VMware Tools VIB for Windows and Linux guests for ESXi 6.5.0 Description: This package contains cdrom and floppy images used to install the VMware Tools inside virtual machines. ReferenceURLs: Creation Date: 2024-05-22 Depends: esx-version = 6.5.0 Conflicts: Replaces: Provides: Maintenance Mode Required: False Hardware Platforms Required: Live Install Allowed: True Live Remove Allowed: True Stateless Ready: True Overlay: False Tags: Payloads: tools VMware_locker_tools-light_12.4.5.23787635-23919197 Name: tools-light Version: 12.4.5.23787635-23919197 Type: locker Vendor: VMware Acceptance Level: VMwareCertified Summary: VMware Tools VIB for Windows and Linux guests (generated by vmtoolspkg build 23919197) Description: This package contains cdrom and floppy images used to install the VMware Tools inside virtual machines. ReferenceURLs: Creation Date: 2024-05-22 Depends: esx-version >= 6.6.0 Conflicts: Replaces: Provides: Maintenance Mode Required: False Hardware Platforms Required: Live Install Allowed: True Live Remove Allowed: True Stateless Ready: True Overlay: False Tags: Payloads: tools
-
アップデートを適用するには、次のコマンドを実行します。
esxcli software vib install --depot=file:/vmfs/volumes/LOCAL-DATASTORE/vmware-tools-temp/VMware-Tools-12.4.5-core-offline-depot-ESXi-all-23787635.zip
コマンド出力の例:
[root@vxrail01:/vmfs/volumes/LOCAL-DATASTORE/vmware-tools-temp] esxcli software vib install --depot=file:/vmfs/volumes/LOCAL-DATASTORE/vmware-tools-temp/VMware-Tools-12.4.5-core-offline-depot-ESXi-all-23787635.zip Installation Result Message: Operation finished successfully. Reboot Required: false VIBs Installed: VMware_locker_tools-light_12.4.5.23787635-23919197 VIBs Removed: VMware_locker_tools-light_12.3.5.22544099-23794019 VIBs Skipped:
-
その後、VMware Toolsのバージョンを確認できます。
[root@vxrail01:/vmfs/volumes/LOCAL-DATASTORE/vmware-tools-temp] esxcli software component get | grep VMware-VM-Tools -B 1 -A 14TOOLS-23919197 Name: VMware-VM-Tools Display Name: VMware Tools Async Release Version: 12.4.5.23787635-23919197 Display Version: 12.4.5 VIBs: VMware_locker_tools-light_12.4.5.23787635-23919197 Vendor: VMware Summary: VMware Tools 12.4.5 Async Release Severity: general Urgency: important Category: bugfix Release Type: patch Kburl: https://docs.vmware.com/en/VMware-Tools/12.4/rn/vmware-tools-1245-release-notes/index.html Description: VMware Tools 12.4.5 Async Release Contact: http://www.vmware.com/support/contacts/ ReleaseDate: 06-27-2024
ご覧のように、新しいVMware Toolsバージョンは「12.4.5.23787635-23919197」です。
-
これで、vSphere Clientにアクセスし、VMware ToolsをアップデートしたESXiホストを選択して、そこで実行されているVM上のVMware Toolsをアップデートできます。