メインコンテンツへスキップ
  1. Blogs/

profile updateとprofile installの違い

·6995 文字·
Blog VMware VSphere
hiroki
著者
hiroki
クラウドを作るお仕事をしてます。
目次
esxi-install-update - 関連記事
2: << この記事 >>

はじめに
#

esxiをアップグレードやアップデートする際には、esxcil software profile install/updateesxcli software vib install/updateのように複数の手法がありますが、それぞれの違いについては詳しく解説はされておらず、どれを使用するのが適切かわかりづらいです。

そこで今回は4つの各種コマンドについて、ESXi7.0 → 8.0へのアップグレードを前提に解説をしたいと思います。

1. 公式で解説されている内容
#

4つのコマンドを見る前に公式docではどのように解説されているかを確認しておきます。

アップグレードとアップデートの違い
#

vSphereでは混合しやすいアップグレードとアップデートですが、しっかり使い分けられているようなので覚えておきましょう。

アップグレード 7.0 → 8.0のようなメジャーアップデートのこと
アップデート 8.0U1 → 8.0U2のようにマイナーアップデート/パッチアップデートすること

vSphere 製品では、ソフトウェアに主要な変更を加えるアップグレード、より小さい変更を加えるパッチ適用およびアップデート、ソフトウェア プラットフォームを変更する移行が、それぞれ区別されています。

公式doc

vib install/updateのサポート
#

アップグレード(メジャーアップデート)では、esxcli vib install/updateはサポートされていません。

以下の記載であればアップデート(マイナーアップデート)はサポートされそうですが、ESXiのversionを上げる際はそもそもvib install/updateは使用すべきではないでしょう。

アップグレード操作では、 esxcli software vib update コマンドと esxcli software vib install コマンドはサポートされていません。 イメージ プロファイルによるホストのアップグレードまたはアップデートを参照してください。

公式doc

ESXi8.0U2からはそもそも使えない様に変更された模様です。

ESXi 8.0 Update 2 以降では、esxcli software vib update または esxcli software vib install コマンドを使用した ESXi のアップグレードやアップデートはサポートされて?いません。esxcli software vib update または esxcli software vib install を使用して ESXi 8.0 Update 2 ホストを 8.0 Update 2b 以降にアップデートすると、タスクは失敗します。vpxd ログには、次のようなエラーが記録されます:

ESXi version change is not allowed using esxcli software vib commands. Please use a supported method to upgrade ESXi. vib = VMware_bootbank_esx-base_8.0.2-0.20.22481015 Please refer to the log file for more details.

profile install/updateのサポート
#

profile install/updateはアップグレード、アップデートのどちらにも使用できることが書かれています。従ってESXiのversionを上げたいときはこちらのprofile install/updateのコマンドを使用することになります。

esxcli software profile updateまたは esxcli software profile install コマンドを使用して、ESXi ホストをアップグレードまたはアップデートできます。

公式doc

またprofile install/updateの違いも、一言ですが記載されています。

  • install: 全てのvibを一旦削除して、zipバンドルのvibにinstallし直す
  • update: updateできるvibはupdateし、updateできないものはそのまま残す

software profile updateコマンドでは、指定したプロファイルの対応する VIB を使用して既存の VIB を更新しますが、ターゲット サーバ上にインストールされているほかの VIB には影響しません。 software profile installコマンドでは、デポのイメージ プロファイル内にある VIB をインストールし、ターゲット サーバ上にインストールされているその他すべての VIB を削除します。

公式doc

2. 注意すべきzipバンドル
#

ESXiをアップデートする際には、zipバンドルと呼ばれるアップデート用のファイルを使用しますが、大きく分けて2種類存在します。

VMware純正 VMware-ESXi-7.0U3p-23307199-depot.zip
VMware-ESXi-8.0U2b-23305546-depot.zip
ベンダーカスタム VMware-ESXi-7.0.3-20036589-HPE-703.0.0.10.9.1.5-Jul2022-depot.zip
VMware-ESXi-7.0.3.update03-21686933-Fujitsu-v531-1-offline-bundle.zip

この中zipバンドルの差分が、各種installコマンドprofile install/update、vib install/updateに影響を与えるので、着目すべきvibを紹介します。

VMwareの純正バンドルだけ使っていれば、後述するinstallコマンドによる差分は無くなります。結果としてesxcli software profile updateだけ使えばOKになり非常にsimpleです。

しかし、実際はベンダーのカスタムバンドルを使うことを推奨されていると思います。 その結果installコマンドによる差分が生まれてしまいます。

vibのベンダー差分
#

VMware純正か、ベンダーのカスタムバンドルを使うかによって、vibのベンダーに差分が生まれることがあります。

例えばixgbenというintel用のnic-driverを見てみると、vib名は同じでもINTとVMWと言う異なるvibが存在することがわかります。これらがアップグレード・アップデートの際に両方現れた場合に、どちらのベンダーvibを採用するかinstallコマンドによって差分が発生します。

# FUJITSUのESXi7.0のzipバンドルに入っているixgben → Intel製
[root@localhost:~] esxcli software vib list | grep ixgben
Name                           Version                               Vendor   Acceptance Level  Install Date
-----------------------------  ------------------------------------  -------  ----------------  ------------
ixgben                         1.15.1.0-1OEM.700.1.0.15843807        INT      VMwareCertified   2024-06-25

# VMware純正のESXi8.0のzipバンドルに入ってるixgben → VMware製
[root@v10-nesxi-02:~] esxcli software vib list | grep ixgben
ixgben                         1.7.1.40-1vmw.801.0.0.21495797       VMW     VMwareCertified   2023-06-02    host

vender独自のvib
#

ベンダーのカスタムバンドルを使うと、ベンダー固有のvibが入ってくることが一般的になります。このvibの取り扱いについてもinstallコマンドの結果に影響を与えてきます。

[root@localhost:~] esxcli software vib list | grep F
fujitsu-conf                   7.0.3-531.1.1                         FJT      PartnerSupported  2024-06-25
fujitsu-upgrade                7.0.3-531.1.1                         FJT      PartnerSupported  2024-06-25
svshti                         9.80.06-1OEM.700.1.0.15843807         FJT      PartnerSupported  2024-06-25
raid0                          9.90.02-70                            Fujitsu  VMwareAccepted    2024-06-25
svscimprovider                 10.40-02.70                           Fujitsu  VMwareAccepted    2024-06-25

3. 各種コマンドの違い
#

ここまでで、各種installコマンドの公式での扱いと、アップグレード、アップデート時に注意しなければならないvibを紹介したので、これからinstallコマンドの差分を解説します。

複雑になってしまうので、先に結果だけをまとめます。

  • 既存のみに存在
    • 現在稼働しているESXiにのみ存在し、zipバンドルには含まれないvib
  • 両方に存在
    • 現在稼働しているESXiと、zipバンドル両方に存在するvib
  • zipバンドルにのみ存在
    • 現在稼働しているESXiには存在せず、zipバンドルにのみ含まれvib
  • skip or update
    • ベンダー名が一致 + vibのverがダウングレードしない場合 → update
    • ベンダー名が一致しない場合 → 既存のvibが優先されてskip
command 既存にのみ存在 両方に存在 zipバンドルにのみ存在
esxcli software profile install 削除 update install
esxcli software profile update そのまま skip or update install
esxcli software vib install そのまま update install
esxcli software vib update そのまま skip or update skip

4. profile install
#

現在のESXiにのみ存在するvib 削除
既存のESXiにも、zipバンドルにも存在するvib 一旦削除後、zipバンドル内のvibがinstall
zipバンドルにのみ存在するvib install

「既存のvibは全て削除され、zipバンドルの中身に置き換わる」クリーンインストールのような挙動をします。 従って主なユースケースはアップグレード(メジャーアップデート)になります。

メジャーアップデートの場合、古いvibが残ってしまうと依存性のエラーが出てしまいアップデートできないという問題が発生することがあります。dellのkbVMwareのkb

ホストまたはインストーラ ISO イメージに、競合をもたらし、アップグレードを妨げる VIB が含まれる場合、エラー メッセージに競合している VIB が示されます。

公式doc

この際には公式で紹介されているvibを1つずつ削除する方法もありますが、esxcli software profile installであれば、全てのvibを削除してzipバンドルのvibに入れ替えるので依存性エラーが発生しなくなります。

ただし以下のように予期せぬvibが削除されるので、しっかり検証時に削除・変更されるvibを確認しておくことが重要になります。

  • 現在のESXiにのみ存在するvibは削除 (vender独自のvibや、独自に追加したvibなど)
  • 「vibのベンダー差分」がある場合、既存のvibは削除されバンドルのvibに置き換わる

特に現在使っているnicのdriver(vib)が、ベンダーを含めて変化してしまうと通信系の挙動が変わることがあります。 nicのdriverについては特に注意しましょう。

# driverとversionを確認しておく
[root@localhost:~] esxcli network nic get -n vmnic0
   Advertised Auto Negotiation: true
   Advertised Link Modes: Auto, 
   Auto Negotiation: true
   Backing DPUId: N/A
   Cable Type: 
   Current Message Level: -1
   Driver Info: 
         Bus Info: 0000:01:00:0
         Driver: cndi_igc 
         Firmware Version: 1.85, 0x800002bb
         Version: 1.2.10.0
   Link Detected: true
   Link Status: Up 
   Name: vmnic0
   PHYAddress: 0
   Pause Autonegotiate: false
   Pause RX: false
   Pause TX: false
   Supported Ports: 
   Supports Auto Negotiation: true
   Supports Pause: false
   Supports Wakeon: true
   Transceiver: 
   Virtual Address: 00:50:56:54:8e:d9
   Wakeon: MagicPacket(tm)

# driver(vib)のvenderも確認しておく
[root@localhost:~] esxcli software vib list | grep cndi-igc
cndi-igc      1.2.10.0-1vmw.801.0.0.21495797       VMW

アップグレード例
#

ESXi7でFujitsuのベンダーバンドルを使っていて、ESXi8へVMwareの純正バンドルでアップグレードする場合

本来はあまり推奨できないアップグレードパターンです。今回はvibが大きく変わり挙動が見やすいため、あえて採用しています。

1. アップグレード前

  • ixgbenはINT製
  • ベンダー独自のvibが存在する
[root@localhost:/vmfs/volumes/667a8804-8a65dc00-00b6-00505695b22f] esxcli software profile get
FJT-Addon-for-FujitsuCustomImage_7.0.3-531.1.0
   Name: FJT-Addon-for-FujitsuCustomImage_7.0.3-531.1.0
   Vendor: Fujitsu

[root@localhost:~] esxcli software vib list | grep ixgben
Name                           Version                               Vendor   Acceptance Level  Install Date
-----------------------------  ------------------------------------  -------  ----------------  ------------
ixgben                         1.15.1.0-1OEM.700.1.0.15843807        INT      VMwareCertified   2024-06-25

[root@localhost:~] esxcli software vib list | grep F
fujitsu-conf                   7.0.3-531.1.1                         FJT      PartnerSupported  2024-06-25
fujitsu-upgrade                7.0.3-531.1.1                         FJT      PartnerSupported  2024-06-25
svshti                         9.80.06-1OEM.700.1.0.15843807         FJT      PartnerSupported  2024-06-25
raid0                          9.90.02-70                            Fujitsu  VMwareAccepted    2024-06-25
svscimprovider                 10.40-02.70                           Fujitsu  VMwareAccepted    2024-06-25

2. 使用するzipバンドル

  • ESXi8.0.2の23305546を使用
[root@localhost:~] esxcli software sources profile get \
>    -d /vmfs/volumes/667a8804-8a65dc00-00b6-00505695b22f/VMware-ESXi-8.0U2b-23305546-depot.zip \
>    -p ESXi-8.0U2b-23305546-standard
ESXi-8.0U2b-23305546-standard
   Acceptance Level: PartnerSupported
   Name: ESXi-8.0U2b-23305546-standard
   Vendor: VMware, Inc.
純正zipバンドル内のvibを確認する場合は、以下のサイトを使用すると非常に便利です。
img001
Figure by VMware ESXi Patch Tracker

3. dry-runの実施

  • profile installでは「以下のvibは削除されて、新しくinstallされないけどいいの?」と注意してくれる
  • OKであれば--ok-to-removeをつけて再実行する
[root@localhost:/vmfs/volumes/667a8804-8a65dc00-00b6-00505695b22f] esxcli software profile install --dry-run \
>    -d /vmfs/volumes/667a8804-8a65dc00-00b6-00505695b22f/VMware-ESXi-8.0U2b-23305546-depot.zip \
>    -p ESXi-8.0U2b-23305546-standard
 [ProfileVibRemoval]
 You attempted to install an image profile which would have resulted in the removal of VIBs {'FJT_bootbank_fujitsu-upgrade_7.0.3-531.1.1', 'Fujitsu_bootbank_svscimprovider_10.40-02.70', 'EMU_bootbank_emulex-cim-provider_12.8.351.27-01OEM.700.1.0.15843807', 'FJT_bootbank_fujitsu-conf_7.0.3-531.1.1', 'QLC_bootbank_qedf_2.2.86.0-1OEM.700.1.0.15843807', 'QLC_bootbank_qedi_2.19.87.0-1OEM.700.1.0.15843807', 'FJT_bootbank_svshti_9.80.06-1OEM.700.1.0.15843807', 'BCM_bootbank_vmware-storcli64_007.1323.0000.0000-01', 'Fujitsu_bootbank_raid0_9.90.02-70', 'BCM_bootbank_lsiprovider_700.00.V0.77-0004', 'MRVL_bootbank_qlogic-adapter-provider_1.7.40-10404389'}. If this is not what you intended, you may use the esxcli software profile update command to preserve the VIBs above. If this is what you intended, please use the --ok-to-remove option to explicitly allow the removal.
    profile = ESXi-8.0U2b-23305546-standard
    removed = {'FJT_bootbank_fujitsu-upgrade_7.0.3-531.1.1', 'Fujitsu_bootbank_svscimprovider_10.40-02.70', 'EMU_bootbank_emulex-cim-provider_12.8.351.27-01OEM.700.1.0.15843807', 'FJT_bootbank_fujitsu-conf_7.0.3-531.1.1', 'QLC_bootbank_qedf_2.2.86.0-1OEM.700.1.0.15843807', 'QLC_bootbank_qedi_2.19.87.0-1OEM.700.1.0.15843807', 'FJT_bootbank_svshti_9.80.06-1OEM.700.1.0.15843807', 'BCM_bootbank_vmware-storcli64_007.1323.0000.0000-01', 'Fujitsu_bootbank_raid0_9.90.02-70', 'BCM_bootbank_lsiprovider_700.00.V0.77-0004', 'MRVL_bootbank_qlogic-adapter-provider_1.7.40-10404389'}
 Please refer to the log file for more details.

4. アップグレードの実施

  • profile installは既存のvibが全て削除され、zibバンドルのvibが全てinstallされるので、VIBs Skipped:は0件
[root@localhost:/vmfs/volumes/667a8804-8a65dc00-00b6-00505695b22f] esxcli software profile install --dry-run --ok-to-remove \
>    -d /vmfs/volumes/667a8804-8a65dc00-00b6-00505695b22f/VMware-ESXi-8.0U2b-23305546-depot.zip \
>    -p ESXi-8.0U2b-23305546-standard
Installation Result
   Message: Dryrun only, host not changed. The following installers will be applied: [BootBankInstaller, LockerInstaller]
   Reboot Required: true
   VIBs Installed: VMW_bootbank_atlantic_1.0.3.0-12vmw.802.0.0.22380479, VMW_bootbank_bcm-mpi3_8.6.1.0.0.0-1vmw.802.0.0.22380479, VMW_bootbank_bfedac-esxio_0.1-1vmw.802.0.0.22380479, VMW_bootbank_bnxtnet_225.0.4.0-8vmw.802.0.0.22380479, VMW_bootbank_bnxtroce_225.0.4.0-8vmw.802.0.0.22380479, VMW_bootbank_brcmfcoe_12.0.1500.3-4vmw.802.0.0.22380479, VMW_bootbank_cndi-igc_1.2.10.0-1vmw.802.0.0.22380479, VMW_bootbank_dwi2c-esxio_0.1-7vmw.802.0.0.22380479, VMW_bootbank_dwi2c_0.1-7vmw.802.0.0.22380479, VMW_bootbank_elxiscsi_12.0.1200.0-11vmw.802.0.0.22380479, VMW_bootbank_elxnet_12.0.1250.0-8vmw.802.0.0.22380479, VMW_bootbank_i40en_1.11.3.10-1vmw.802.0.0.22380479, VMW_bootbank_iavmd_3.0.0.1010-9vmw.802.0.0.22380479, VMW_bootbank_icen_1.5.2.12-1vmw.802.0.0.22380479, VMW_bootbank_igbn_1.4.11.7-2vmw.802.0.0.22380479, VMW_bootbank_intelgpio_0.1-1vmw.802.0.0.22380479, VMW_bootbank_ionic-cloud_20.0.0-48vmw.802.0.0.22380479, VMW_bootbank_ionic-en-esxio_20.0.0-49vmw.802.0.0.22380479, VMW_bootbank_ionic-en_20.0.0-49vmw.802.0.0.22380479, VMW_bootbank_irdman_1.3.1.26-1vmw.802.0.0.22380479, VMW_bootbank_iser_1.1.0.2-1vmw.802.0.0.22380479, VMW_bootbank_ixgben_1.7.1.41-1vmw.802.0.0.22380479, VMW_bootbank_lpfc_14.2.641.5-32vmw.802.0.0.22380479, VMW_bootbank_lpnic_11.4.62.0-1vmw.802.0.0.22380479, VMW_bootbank_lsi-mr3_7.726.02.00-2vmw.802.0.0.22380479, VMW_bootbank_lsi-msgpt2_20.00.06.00-4vmw.802.0.0.22380479, VMW_bootbank_lsi-msgpt35_27.00.00.00-1vmw.802.0.0.22380479, VMW_bootbank_lsi-msgpt3_17.00.13.00-2vmw.802.0.0.22380479, VMW_bootbank_mlnx-bfbootctl-esxio_0.1-6vmw.802.0.0.22380479, VMW_bootbank_mnet-esxio_0.1-1vmw.802.0.0.22380479, VMW_bootbank_mtip32xx-native_3.9.8-1vmw.802.0.0.22380479, VMW_bootbank_ne1000_0.9.0-2vmw.802.0.0.22380479, VMW_bootbank_nenic_1.0.35.0-7vmw.802.0.0.22380479, VMW_bootbank_nfnic_5.0.0.35-5vmw.802.0.0.22380479, VMW_bootbank_nhpsa_70.0051.0.100-4vmw.802.0.0.22380479, VMW_bootbank_nipmi_1.0-1vmw.802.0.0.22380479, VMW_bootbank_nmlx5-cc-esxio_4.23.0.66-2vmw.802.0.0.22380479, VMW_bootbank_nmlx5-cc_4.23.0.66-2vmw.802.0.0.22380479, VMW_bootbank_nmlx5-core-esxio_4.23.0.66-2vmw.802.0.0.22380479, VMW_bootbank_nmlx5-core_4.23.0.66-2vmw.802.0.0.22380479, VMW_bootbank_nmlx5-rdma-esxio_4.23.0.66-2vmw.802.0.0.22380479, VMW_bootbank_nmlx5-rdma_4.23.0.66-2vmw.802.0.0.22380479, VMW_bootbank_nmlxbf-gige-esxio_2.2-1vmw.802.0.0.22380479, VMW_bootbank_nmlxbf-pmc-esxio_0.1-6vmw.802.0.0.22380479, VMW_bootbank_ntg3_4.1.13.0-4vmw.802.0.0.22380479, VMW_bootbank_nvme-pcie-esxio_1.2.4.11-1vmw.802.0.0.22380479, VMW_bootbank_nvme-pcie_1.2.4.11-1vmw.802.0.0.22380479, VMW_bootbank_nvmerdma_1.0.3.9-1vmw.802.0.0.22380479, VMW_bootbank_nvmetcp-esxio_1.0.1.8-1vmw.802.0.0.22380479, VMW_bootbank_nvmetcp_1.0.1.8-1vmw.802.0.0.22380479, VMW_bootbank_nvmxnet3-ens-esxio_2.0.0.23-5vmw.802.0.0.22380479, VMW_bootbank_nvmxnet3-ens_2.0.0.23-5vmw.802.0.0.22380479, VMW_bootbank_nvmxnet3-esxio_2.0.0.31-9vmw.802.0.0.22380479, VMW_bootbank_nvmxnet3_2.0.0.31-9vmw.802.0.0.22380479, VMW_bootbank_penedac-esxio_0.1-1vmw.802.0.0.22380479, VMW_bootbank_pengpio-esxio_0.1-1vmw.802.0.0.22380479, VMW_bootbank_pensandoatlas_1.46.0.E.28.1.314-2vmw.802.0.0.22939414, VMW_bootbank_penspi-esxio_0.1-1vmw.802.0.0.22380479, VMW_bootbank_pvscsi-esxio_0.1-5vmw.802.0.0.22380479, VMW_bootbank_pvscsi_0.1-5vmw.802.0.0.22380479, VMW_bootbank_qcnic_1.0.15.0-22vmw.802.0.0.22380479, VMW_bootbank_qedentv_3.40.5.73-4vmw.802.0.0.22380479, VMW_bootbank_qedrntv_3.40.5.73-4vmw.802.0.0.22380479, VMW_bootbank_qfle3_1.0.67.0-33vmw.802.0.0.22380479, VMW_bootbank_qfle3f_1.0.51.0-33vmw.802.0.0.22380479, VMW_bootbank_qfle3i_1.0.15.0-20vmw.802.0.0.22380479, VMW_bootbank_qflge_1.1.0.11-2vmw.802.0.0.22380479, VMW_bootbank_rd1173-esxio_0.1-1vmw.802.0.0.22380479, VMW_bootbank_rdmahl_1.0.0-1vmw.802.0.0.22380479, VMW_bootbank_rste_2.0.2.0088-7vmw.802.0.0.22380479, VMW_bootbank_sfvmk_2.4.0.2010-15vmw.802.0.0.22380479, VMW_bootbank_smartpqi_80.4495.0.5000-7vmw.802.0.0.22380479, VMW_bootbank_spidev-esxio_0.1-1vmw.802.0.0.22380479, VMW_bootbank_vmkata_0.1-1vmw.802.0.0.22380479, VMW_bootbank_vmksdhci-esxio_1.0.3-3vmw.802.0.0.22380479, VMW_bootbank_vmksdhci_1.0.3-3vmw.802.0.0.22380479, VMW_bootbank_vmkusb-esxio_0.1-18vmw.802.0.0.22380479, VMW_bootbank_vmkusb_0.1-18vmw.802.0.0.22380479, VMW_bootbank_vmw-ahci_2.0.17-1vmw.802.0.0.22380479, VMware_bootbank_bmcal-esxio_8.0.2-0.30.23305546, VMware_bootbank_bmcal_8.0.2-0.30.23305546, VMware_bootbank_clusterstore_8.0.2-0.30.23305546, VMware_bootbank_cpu-microcode_8.0.2-0.30.23305546, VMware_bootbank_crx_8.0.2-0.30.23305546, VMware_bootbank_drivervm-gpu-base_8.0.2-0.30.23305546, VMware_bootbank_elx-esx-libelxima.so_12.0.1200.0-6vmw.802.0.0.22380479, VMware_bootbank_esx-base_8.0.2-0.30.23305546, VMware_bootbank_esx-dvfilter-generic-fastpath_8.0.2-0.30.23305546, VMware_bootbank_esx-ui_2.14.0-21993070, VMware_bootbank_esx-update_8.0.2-0.30.23305546, VMware_bootbank_esx-xserver_8.0.2-0.30.23305546, VMware_bootbank_esxio-base_8.0.2-0.30.23305546, VMware_bootbank_esxio-combiner-esxio_8.0.2-0.30.23305546, VMware_bootbank_esxio-combiner_8.0.2-0.30.23305546, VMware_bootbank_esxio-dvfilter-generic-fastpath_8.0.2-0.30.23305546, VMware_bootbank_esxio-update_8.0.2-0.30.23305546, VMware_bootbank_esxio_8.0.2-0.30.23305546, VMware_bootbank_gc-esxio_8.0.2-0.30.23305546, VMware_bootbank_gc_8.0.2-0.30.23305546, VMware_bootbank_infravisor_8.0.2-0.30.23305546, VMware_bootbank_loadesx_8.0.2-0.30.23305546, VMware_bootbank_loadesxio_8.0.2-0.30.23305546, VMware_bootbank_lsuv2-hpv2-hpsa-plugin_1.0.0-4vmw.802.0.0.22380479, VMware_bootbank_lsuv2-intelv2-nvme-vmd-plugin_2.7.2173-2vmw.802.0.0.22380479, VMware_bootbank_lsuv2-lsiv2-drivers-plugin_1.0.2-1vmw.802.0.0.22380479, VMware_bootbank_lsuv2-nvme-pcie-plugin_1.0.0-1vmw.802.0.0.22380479, VMware_bootbank_lsuv2-oem-dell-plugin_1.0.0-2vmw.802.0.0.22380479, VMware_bootbank_lsuv2-oem-lenovo-plugin_1.0.0-2vmw.802.0.0.22380479, VMware_bootbank_lsuv2-smartpqiv2-plugin_1.0.0-10vmw.802.0.0.22380479, VMware_bootbank_native-misc-drivers-esxio_8.0.2-0.30.23305546, VMware_bootbank_native-misc-drivers_8.0.2-0.30.23305546, VMware_bootbank_qlnativefc_5.4.69.0-23vmw.802.0.0.22380479, VMware_bootbank_trx_8.0.2-0.30.23305546, VMware_bootbank_vdfs_8.0.2-0.30.23305546, VMware_bootbank_vds-vsip_8.0.2-0.30.23305546, VMware_bootbank_vmware-esx-esxcli-nvme-plugin-esxio_1.2.0.52-1vmw.802.0.0.22380479, VMware_bootbank_vmware-esx-esxcli-nvme-plugin_1.2.0.52-1vmw.802.0.0.22380479, VMware_bootbank_vmware-hbrsrv_8.0.2-0.30.23305546, VMware_bootbank_vsan_8.0.2-0.30.23305546, VMware_bootbank_vsanhealth_8.0.2-0.30.23305546, VMware_locker_tools-light_12.3.5.22544099-23305545
   VIBs Removed: BCM_bootbank_bnxtnet_222.0.118.0-1OEM.700.1.0.15843807, BCM_bootbank_bnxtroce_222.0.118.0-1OEM.700.1.0.15843807, BCM_bootbank_lsiprovider_700.00.V0.77-0004, BCM_bootbank_vmware-storcli64_007.1323.0000.0000-01, EMU_bootbank_emulex-cim-provider_12.8.351.27-01OEM.700.1.0.15843807, EMU_bootbank_lpfc_14.0.326.12-1OEM.700.1.0.15843807, FJT_bootbank_fujitsu-conf_7.0.3-531.1.1, FJT_bootbank_fujitsu-upgrade_7.0.3-531.1.1, FJT_bootbank_svshti_9.80.06-1OEM.700.1.0.15843807, Fujitsu_bootbank_raid0_9.90.02-70, Fujitsu_bootbank_svscimprovider_10.40-02.70, INT_bootbank_i40en_2.5.2.0-1OEM.700.1.0.15843807, INT_bootbank_iavmd_3.0.0.1038-1OEM.700.1.0.15843807, INT_bootbank_icen_1.11.3.0-1OEM.702.0.0.17630552, INT_bootbank_igbn_1.11.2.0-1OEM.700.1.0.15843807, INT_bootbank_irdman_1.4.3.0-1OEM.700.1.0.15843807, INT_bootbank_ixgben_1.15.1.0-1OEM.700.1.0.15843807, MEL_bootbank_nmlx5-core_4.21.71.101-1OEM.702.0.0.17630552, MEL_bootbank_nmlx5-rdma_4.21.71.101-1OEM.702.0.0.17630552, MIS_bootbank_smartpqi_70.4380.0.108-1OEM.700.1.0.15843807, MRVL_bootbank_qlogic-adapter-provider_1.7.40-10404389, MVL_bootbank_qlnativefc_5.3.80.0-1OEM.703.0.0.18644231, QLC_bootbank_qedentv_3.40.57.0-1OEM.700.1.0.15843807, QLC_bootbank_qedf_2.2.86.0-1OEM.700.1.0.15843807, QLC_bootbank_qedi_2.19.87.0-1OEM.700.1.0.15843807, QLC_bootbank_qedrntv_3.40.56.0-1OEM.700.1.0.15843807, VMW_bootbank_atlantic_1.0.3.0-8vmw.703.0.20.19193900, VMW_bootbank_brcmfcoe_12.0.1500.2-3vmw.703.0.20.19193900, VMW_bootbank_elxiscsi_12.0.1200.0-9vmw.703.0.20.19193900, VMW_bootbank_elxnet_12.0.1250.0-5vmw.703.0.20.19193900, VMW_bootbank_ionic-en_16.0.0-16vmw.703.0.20.19193900, VMW_bootbank_iser_1.1.0.1-1vmw.703.0.50.20036589, VMW_bootbank_lpnic_11.4.62.0-1vmw.703.0.20.19193900, VMW_bootbank_lsi-mr3_7.718.02.00-1vmw.703.0.20.19193900, VMW_bootbank_lsi-msgpt2_20.00.06.00-4vmw.703.0.20.19193900, VMW_bootbank_lsi-msgpt35_19.00.02.00-1vmw.703.0.20.19193900, VMW_bootbank_lsi-msgpt3_17.00.12.00-1vmw.703.0.20.19193900, VMW_bootbank_mtip32xx-native_3.9.8-1vmw.703.0.20.19193900, VMW_bootbank_ne1000_0.9.0-1vmw.703.0.50.20036589, VMW_bootbank_nenic_1.0.33.0-1vmw.703.0.20.19193900, VMW_bootbank_nfnic_4.0.0.70-1vmw.703.0.20.19193900, VMW_bootbank_nhpsa_70.0051.0.100-4vmw.703.0.20.19193900, VMW_bootbank_nmlx4-core_3.19.16.8-2vmw.703.0.20.19193900, VMW_bootbank_nmlx4-en_3.19.16.8-2vmw.703.0.20.19193900, VMW_bootbank_nmlx4-rdma_3.19.16.8-2vmw.703.0.20.19193900, VMW_bootbank_ntg3_4.1.9.0-5vmw.703.0.90.21686933, VMW_bootbank_nvme-pcie_1.2.3.16-2vmw.703.0.85.21424296, VMW_bootbank_nvmerdma_1.0.3.5-1vmw.703.0.20.19193900, VMW_bootbank_nvmetcp_1.0.0.1-1vmw.703.0.35.19482537, VMW_bootbank_nvmxnet3-ens_2.0.0.22-1vmw.703.0.20.19193900, VMW_bootbank_nvmxnet3_2.0.0.30-1vmw.703.0.20.19193900, VMW_bootbank_pvscsi_0.1-4vmw.703.0.20.19193900, VMW_bootbank_qcnic_1.0.15.0-14vmw.703.0.20.19193900, VMW_bootbank_qfle3_1.0.67.0-22vmw.703.0.20.19193900, VMW_bootbank_qfle3f_1.0.51.0-22vmw.703.0.20.19193900, VMW_bootbank_qfle3i_1.0.15.0-15vmw.703.0.20.19193900, VMW_bootbank_qflge_1.1.0.11-1vmw.703.0.20.19193900, VMW_bootbank_rste_2.0.2.0088-7vmw.703.0.20.19193900, VMW_bootbank_sfvmk_2.4.0.2010-6vmw.703.0.20.19193900, VMW_bootbank_vmkata_0.1-1vmw.703.0.20.19193900, VMW_bootbank_vmkfcoe_1.0.0.2-1vmw.703.0.20.19193900, VMW_bootbank_vmkusb_0.1-8vmw.703.0.85.21424296, VMW_bootbank_vmw-ahci_2.0.11-1vmw.703.0.20.19193900, VMware_bootbank_bmcal_7.0.3-0.90.21686933, VMware_bootbank_cpu-microcode_7.0.3-0.90.21686933, VMware_bootbank_crx_7.0.3-0.90.21686933, VMware_bootbank_elx-esx-libelxima.so_12.0.1200.0-4vmw.703.0.20.19193900, VMware_bootbank_esx-base_7.0.3-0.90.21686933, VMware_bootbank_esx-dvfilter-generic-fastpath_7.0.3-0.90.21686933, VMware_bootbank_esx-ui_2.9.2-21141530, VMware_bootbank_esx-update_7.0.3-0.90.21686933, VMware_bootbank_esx-xserver_7.0.3-0.90.21686933, VMware_bootbank_esxio-combiner_7.0.3-0.90.21686933, VMware_bootbank_gc_7.0.3-0.90.21686933, VMware_bootbank_loadesx_7.0.3-0.90.21686933, VMware_bootbank_lsuv2-hpv2-hpsa-plugin_1.0.0-3vmw.703.0.20.19193900, VMware_bootbank_lsuv2-intelv2-nvme-vmd-plugin_2.7.2173-1vmw.703.0.20.19193900, VMware_bootbank_lsuv2-lsiv2-drivers-plugin_1.0.0-12vmw.703.0.50.20036589, VMware_bootbank_lsuv2-nvme-pcie-plugin_1.0.0-1vmw.703.0.20.19193900, VMware_bootbank_lsuv2-oem-dell-plugin_1.0.0-1vmw.703.0.20.19193900, VMware_bootbank_lsuv2-oem-hp-plugin_1.0.0-1vmw.703.0.20.19193900, VMware_bootbank_lsuv2-oem-lenovo-plugin_1.0.0-1vmw.703.0.20.19193900, VMware_bootbank_lsuv2-smartpqiv2-plugin_1.0.0-8vmw.703.0.20.19193900, VMware_bootbank_native-misc-drivers_7.0.3-0.90.21686933, VMware_bootbank_trx_7.0.3-0.90.21686933, VMware_bootbank_vdfs_7.0.3-0.90.21686933, VMware_bootbank_vmware-esx-esxcli-nvme-plugin_1.2.0.44-1vmw.703.0.20.19193900, VMware_bootbank_vsan_7.0.3-0.90.21686933, VMware_bootbank_vsanhealth_7.0.3-0.90.21686933, VMware_locker_tools-light_12.1.5.20735119-21422485
   VIBs Skipped: 
[root@localhost:/vmfs/volumes/667a8804-8a65dc00-00b6-00505695b22f] reboot

5. アップグレード後

  • INT製だったixgbenがVMW製に変わった
  • ベンダー独自のvibが削除された
[root@localhost:~] esxcli software profile get
ESXi-8.0U2b-23305546-standard
   Name: ESXi-8.0U2b-23305546-standard
   Vendor: VMware, Inc.

[root@localhost:~] esxcli software vib list | grep ixgben
ixgben                         1.7.1.41-1vmw.802.0.0.22380479        VMW     VMwareCertified   2024-06-25    host

[root@localhost:~] esxcli software vib list | grep F
[root@localhost:~] 

このようにアップグレードに使うzipバンドルによっては、最終的にinstallされるvibが大きく変わるので注意しましょう。(ベンダーバンドルを使っている時は、アップグレードの際も継続してベンダーバンドルを使うのが一番変化が少なくて良いはずです)

5. profile update
#

現在のESXiにのみ存在するvib そのまま
既存のESXiにも、zipバンドルにも存在するvib vib名が一致し、venderも一致する場合 → update
vib名が一致するが、venderが異なる場合 or downgradeする時 → skip
zipバンドルにのみ存在するvib install

「更新可能なvibはupdateし、更新不可なvibはそのまま残す」挙動をします。従って以下理由からアップデート(マイナーアップデート)に最適です。

  • マイナアップデートのため依存性エラーの心配がない
  • 既存のvibが誤って削除されることもない
  • 「vibのベンダー差分」が発生しても、現在使っているvibを優先するので意図しない変更も少ない

アップデート例
#

ESXi8.0U1でFujitsuのベンダーバンドルを使っていて、ESXi8.0U2に純正のバンドルでアップデート(マイナーアップデート)する場合

この状況は、「bug解消やセキュリティ向上のために特定のバージョンを採用したいが、ベンダーがリリースしてない」場合にわりと発生します。

1. アップデート前

  • ESXi8.0.2(22380479)のfujistuベンダーバンドルを使用中
  • ベンダーバンドルなので、ベンダー独自vibが存在しixgbenはIntel製である。
[root@v10-nesxi-03:~] esxcli system version get
   Product: VMware ESXi
   Version: 8.0.2
   Build: Releasebuild-22380479
   Update: 2
   Patch: 0

[root@v10-nesxi-03:~] esxcli software profile get
FJT-Addon-for-FujitsuCustomImage_8.0.2-570.1.0
   Name: FJT-Addon-for-FujitsuCustomImage_8.0.2-570.1.0
   Vendor: Fujitsu
   Creation Time: 2024-06-26T06:01:54
   Modification Time: 2024-06-26T06:05:16
   Stateless Ready: True
   Description: 

[root@v10-nesxi-03:~] esxcli software vib list | grep F
fujitsu-conf                   8.0.2-570.1.1                         FJT     PartnerSupported  2024-06-26    host
fujitsu-upgrade                8.0.2-570.1.0                         FJT     PartnerSupported  2024-06-26    host
fujitsusvhcp                   10.40.10-1OEM.800.1.0.20613240        FJT     VMwareAccepted    2024-06-26    host
fujitsusvrc                    10.10.10-1OEM.800.1.0.20613240        FJT     VMwareAccepted    2024-06-26    host
svshti                         10.40.08-1OEM.800.1.0.20143090        FJT     PartnerSupported  2024-06-26    host

[root@v10-nesxi-03:~] esxcli software vib list | grep ixgben
ixgben-ens                     1.9.2.0-1OEM.800.1.0.20613240         INT     VMwareCertified   2024-06-26    host
ixgben                         1.15.1.0-1OEM.800.1.0.20613240        INT     VMwareCertified   2024-06-26    host

2. 使用するzipバンドル

  • profile installと同じ、VMware純正のESXi8.0.2の23305546を使用します。
  • 従って、ixgben: 1.7.1.41-1vmw.802.0.0.22380479のVMwareベンダーのdriverが入っています。
[root@v10-nesxi-03:/vmfs/volumes/66336577-21422980-e648-005056959d60] esxcli software sources profile get \
>    -d /vmfs/volumes/66336577-21422980-e648-005056959d60/VMware-ESXi-8.0U2b-23305546-depot.zip \
>    -p ESXi-8.0U2b-23305546-standard
ESXi-8.0U2b-23305546-standard
   Acceptance Level: PartnerSupported
   Name: ESXi-8.0U2b-23305546-standard
   Vendor: VMware, Inc.

3. アップデートの実施

  • profile installの時には0だった、VIBs Skipped:に該当するvibがたくさんリストアップされる
  • これは「versionが変化しない or downgradeする」、「vibのベンダーが変化する」場合には、現在使っているvibが優先されるため
  • 従ってixgbenのvibはINT→VMWに変化しないように、VMW_bootbank_ixgben_1.7.1.41-1vmw.802.0.0.22380479VIBs Skipped:に入っている。
[root@v10-nesxi-03:/vmfs/volumes/66336577-21422980-e648-005056959d60] esxcli software profile update \
>    -d /vmfs/volumes/66336577-21422980-e648-005056959d60/VMware-ESXi-8.0U2b-23305546-depot.zip \
>    -p ESXi-8.0U2b-23305546-standard
Update Result
   Message: The update completed successfully, but the system needs to be rebooted for the changes to be effective.
   VIBs Installed: VMW_bootbank_pensandoatlas_1.46.0.E.28.1.314-2vmw.802.0.0.22939414, VMware_bootbank_bmcal-esxio_8.0.2-0.30.23305546, VMware_bootbank_bmcal_8.0.2-0.30.23305546, VMware_bootbank_clusterstore_8.0.2-0.30.23305546, VMware_bootbank_cpu-microcode_8.0.2-0.30.23305546, VMware_bootbank_crx_8.0.2-0.30.23305546, VMware_bootbank_drivervm-gpu-base_8.0.2-0.30.23305546, VMware_bootbank_esx-base_8.0.2-0.30.23305546, VMware_bootbank_esx-dvfilter-generic-fastpath_8.0.2-0.30.23305546, VMware_bootbank_esx-update_8.0.2-0.30.23305546, VMware_bootbank_esx-xserver_8.0.2-0.30.23305546, VMware_bootbank_esxio-base_8.0.2-0.30.23305546, VMware_bootbank_esxio-combiner-esxio_8.0.2-0.30.23305546, VMware_bootbank_esxio-combiner_8.0.2-0.30.23305546, VMware_bootbank_esxio-dvfilter-generic-fastpath_8.0.2-0.30.23305546, VMware_bootbank_esxio-update_8.0.2-0.30.23305546, VMware_bootbank_esxio_8.0.2-0.30.23305546, VMware_bootbank_gc-esxio_8.0.2-0.30.23305546, VMware_bootbank_gc_8.0.2-0.30.23305546, VMware_bootbank_infravisor_8.0.2-0.30.23305546, VMware_bootbank_loadesx_8.0.2-0.30.23305546, VMware_bootbank_loadesxio_8.0.2-0.30.23305546, VMware_bootbank_native-misc-drivers-esxio_8.0.2-0.30.23305546, VMware_bootbank_native-misc-drivers_8.0.2-0.30.23305546, VMware_bootbank_trx_8.0.2-0.30.23305546, VMware_bootbank_vdfs_8.0.2-0.30.23305546, VMware_bootbank_vds-vsip_8.0.2-0.30.23305546, VMware_bootbank_vmware-hbrsrv_8.0.2-0.30.23305546, VMware_bootbank_vsan_8.0.2-0.30.23305546, VMware_bootbank_vsanhealth_8.0.2-0.30.23305546, VMware_locker_tools-light_12.3.5.22544099-23305545
   VIBs Removed: VMW_bootbank_pensandoatlas_1.46.0.E.28.1.312-2vmw.802.0.0.21879230, VMware_bootbank_bmcal-esxio_8.0.2-0.0.22380479, VMware_bootbank_bmcal_8.0.2-0.0.22380479, VMware_bootbank_clusterstore_8.0.2-0.0.22380479, VMware_bootbank_cpu-microcode_8.0.2-0.0.22380479, VMware_bootbank_crx_8.0.2-0.0.22380479, VMware_bootbank_drivervm-gpu-base_8.0.2-0.0.22380479, VMware_bootbank_esx-base_8.0.2-0.0.22380479, VMware_bootbank_esx-dvfilter-generic-fastpath_8.0.2-0.0.22380479, VMware_bootbank_esx-update_8.0.2-0.0.22380479, VMware_bootbank_esx-xserver_8.0.2-0.0.22380479, VMware_bootbank_esxio-base_8.0.2-0.0.22380479, VMware_bootbank_esxio-combiner-esxio_8.0.2-0.0.22380479, VMware_bootbank_esxio-combiner_8.0.2-0.0.22380479, VMware_bootbank_esxio-dvfilter-generic-fastpath_8.0.2-0.0.22380479, VMware_bootbank_esxio-update_8.0.2-0.0.22380479, VMware_bootbank_esxio_8.0.2-0.0.22380479, VMware_bootbank_gc-esxio_8.0.2-0.0.22380479, VMware_bootbank_gc_8.0.2-0.0.22380479, VMware_bootbank_infravisor_8.0.2-0.0.22380479, VMware_bootbank_loadesx_8.0.2-0.0.22380479, VMware_bootbank_loadesxio_8.0.2-0.0.22380479, VMware_bootbank_native-misc-drivers-esxio_8.0.2-0.0.22380479, VMware_bootbank_native-misc-drivers_8.0.2-0.0.22380479, VMware_bootbank_trx_8.0.2-0.0.22380479, VMware_bootbank_vdfs_8.0.2-0.0.22380479, VMware_bootbank_vds-vsip_8.0.2-0.0.22380479, VMware_bootbank_vmware-hbrsrv_8.0.2-0.0.22380479, VMware_bootbank_vsan_8.0.2-0.0.22380479, VMware_bootbank_vsanhealth_8.0.2-0.0.22380479, VMware_locker_tools-light_12.3.0.22234872-22380479
   VIBs Skipped: VMW_bootbank_atlantic_1.0.3.0-12vmw.802.0.0.22380479, VMW_bootbank_bcm-mpi3_8.6.1.0.0.0-1vmw.802.0.0.22380479, VMW_bootbank_bfedac-esxio_0.1-1vmw.802.0.0.22380479, VMW_bootbank_bnxtnet_225.0.4.0-8vmw.802.0.0.22380479, VMW_bootbank_bnxtroce_225.0.4.0-8vmw.802.0.0.22380479, VMW_bootbank_brcmfcoe_12.0.1500.3-4vmw.802.0.0.22380479, VMW_bootbank_cndi-igc_1.2.10.0-1vmw.802.0.0.22380479, VMW_bootbank_dwi2c-esxio_0.1-7vmw.802.0.0.22380479, VMW_bootbank_dwi2c_0.1-7vmw.802.0.0.22380479, VMW_bootbank_elxiscsi_12.0.1200.0-11vmw.802.0.0.22380479, VMW_bootbank_elxnet_12.0.1250.0-8vmw.802.0.0.22380479, VMW_bootbank_i40en_1.11.3.10-1vmw.802.0.0.22380479, VMW_bootbank_iavmd_3.0.0.1010-9vmw.802.0.0.22380479, VMW_bootbank_icen_1.5.2.12-1vmw.802.0.0.22380479, VMW_bootbank_igbn_1.4.11.7-2vmw.802.0.0.22380479, VMW_bootbank_intelgpio_0.1-1vmw.802.0.0.22380479, VMW_bootbank_ionic-cloud_20.0.0-48vmw.802.0.0.22380479, VMW_bootbank_ionic-en-esxio_20.0.0-49vmw.802.0.0.22380479, VMW_bootbank_ionic-en_20.0.0-49vmw.802.0.0.22380479, VMW_bootbank_irdman_1.3.1.26-1vmw.802.0.0.22380479, VMW_bootbank_iser_1.1.0.2-1vmw.802.0.0.22380479, VMW_bootbank_ixgben_1.7.1.41-1vmw.802.0.0.22380479, VMW_bootbank_lpfc_14.2.641.5-32vmw.802.0.0.22380479, VMW_bootbank_lpnic_11.4.62.0-1vmw.802.0.0.22380479, VMW_bootbank_lsi-mr3_7.726.02.00-2vmw.802.0.0.22380479, VMW_bootbank_lsi-msgpt2_20.00.06.00-4vmw.802.0.0.22380479, VMW_bootbank_lsi-msgpt35_27.00.00.00-1vmw.802.0.0.22380479, VMW_bootbank_lsi-msgpt3_17.00.13.00-2vmw.802.0.0.22380479, VMW_bootbank_mlnx-bfbootctl-esxio_0.1-6vmw.802.0.0.22380479, VMW_bootbank_mnet-esxio_0.1-1vmw.802.0.0.22380479, VMW_bootbank_mtip32xx-native_3.9.8-1vmw.802.0.0.22380479, VMW_bootbank_ne1000_0.9.0-2vmw.802.0.0.22380479, VMW_bootbank_nenic_1.0.35.0-7vmw.802.0.0.22380479, VMW_bootbank_nfnic_5.0.0.35-5vmw.802.0.0.22380479, VMW_bootbank_nhpsa_70.0051.0.100-4vmw.802.0.0.22380479, VMW_bootbank_nipmi_1.0-1vmw.802.0.0.22380479, VMW_bootbank_nmlx5-cc-esxio_4.23.0.66-2vmw.802.0.0.22380479, VMW_bootbank_nmlx5-cc_4.23.0.66-2vmw.802.0.0.22380479, VMW_bootbank_nmlx5-core-esxio_4.23.0.66-2vmw.802.0.0.22380479, VMW_bootbank_nmlx5-core_4.23.0.66-2vmw.802.0.0.22380479, VMW_bootbank_nmlx5-rdma-esxio_4.23.0.66-2vmw.802.0.0.22380479, VMW_bootbank_nmlx5-rdma_4.23.0.66-2vmw.802.0.0.22380479, VMW_bootbank_nmlxbf-gige-esxio_2.2-1vmw.802.0.0.22380479, VMW_bootbank_nmlxbf-pmc-esxio_0.1-6vmw.802.0.0.22380479, VMW_bootbank_ntg3_4.1.13.0-4vmw.802.0.0.22380479, VMW_bootbank_nvme-pcie-esxio_1.2.4.11-1vmw.802.0.0.22380479, VMW_bootbank_nvme-pcie_1.2.4.11-1vmw.802.0.0.22380479, VMW_bootbank_nvmerdma_1.0.3.9-1vmw.802.0.0.22380479, VMW_bootbank_nvmetcp-esxio_1.0.1.8-1vmw.802.0.0.22380479, VMW_bootbank_nvmetcp_1.0.1.8-1vmw.802.0.0.22380479, VMW_bootbank_nvmxnet3-ens-esxio_2.0.0.23-5vmw.802.0.0.22380479, VMW_bootbank_nvmxnet3-ens_2.0.0.23-5vmw.802.0.0.22380479, VMW_bootbank_nvmxnet3-esxio_2.0.0.31-9vmw.802.0.0.22380479, VMW_bootbank_nvmxnet3_2.0.0.31-9vmw.802.0.0.22380479, VMW_bootbank_penedac-esxio_0.1-1vmw.802.0.0.22380479, VMW_bootbank_pengpio-esxio_0.1-1vmw.802.0.0.22380479, VMW_bootbank_penspi-esxio_0.1-1vmw.802.0.0.22380479, VMW_bootbank_pvscsi-esxio_0.1-5vmw.802.0.0.22380479, VMW_bootbank_pvscsi_0.1-5vmw.802.0.0.22380479, VMW_bootbank_qcnic_1.0.15.0-22vmw.802.0.0.22380479, VMW_bootbank_qedentv_3.40.5.73-4vmw.802.0.0.22380479, VMW_bootbank_qedrntv_3.40.5.73-4vmw.802.0.0.22380479, VMW_bootbank_qfle3_1.0.67.0-33vmw.802.0.0.22380479, VMW_bootbank_qfle3f_1.0.51.0-33vmw.802.0.0.22380479, VMW_bootbank_qfle3i_1.0.15.0-20vmw.802.0.0.22380479, VMW_bootbank_qflge_1.1.0.11-2vmw.802.0.0.22380479, VMW_bootbank_rd1173-esxio_0.1-1vmw.802.0.0.22380479, VMW_bootbank_rdmahl_1.0.0-1vmw.802.0.0.22380479, VMW_bootbank_rste_2.0.2.0088-7vmw.802.0.0.22380479, VMW_bootbank_sfvmk_2.4.0.2010-15vmw.802.0.0.22380479, VMW_bootbank_smartpqi_80.4495.0.5000-7vmw.802.0.0.22380479, VMW_bootbank_spidev-esxio_0.1-1vmw.802.0.0.22380479, VMW_bootbank_vmkata_0.1-1vmw.802.0.0.22380479, VMW_bootbank_vmksdhci-esxio_1.0.3-3vmw.802.0.0.22380479, VMW_bootbank_vmksdhci_1.0.3-3vmw.802.0.0.22380479, VMW_bootbank_vmkusb-esxio_0.1-18vmw.802.0.0.22380479, VMW_bootbank_vmkusb_0.1-18vmw.802.0.0.22380479, VMW_bootbank_vmw-ahci_2.0.17-1vmw.802.0.0.22380479, VMware_bootbank_elx-esx-libelxima.so_12.0.1200.0-6vmw.802.0.0.22380479, VMware_bootbank_esx-ui_2.14.0-21993070, VMware_bootbank_lsuv2-hpv2-hpsa-plugin_1.0.0-4vmw.802.0.0.22380479, VMware_bootbank_lsuv2-intelv2-nvme-vmd-plugin_2.7.2173-2vmw.802.0.0.22380479, VMware_bootbank_lsuv2-lsiv2-drivers-plugin_1.0.2-1vmw.802.0.0.22380479, VMware_bootbank_lsuv2-nvme-pcie-plugin_1.0.0-1vmw.802.0.0.22380479, VMware_bootbank_lsuv2-oem-dell-plugin_1.0.0-2vmw.802.0.0.22380479, VMware_bootbank_lsuv2-oem-lenovo-plugin_1.0.0-2vmw.802.0.0.22380479, VMware_bootbank_lsuv2-smartpqiv2-plugin_1.0.0-10vmw.802.0.0.22380479, VMware_bootbank_qlnativefc_5.4.69.0-23vmw.802.0.0.22380479, VMware_bootbank_vmware-esx-esxcli-nvme-plugin-esxio_1.2.0.52-1vmw.802.0.0.22380479, VMware_bootbank_vmware-esx-esxcli-nvme-plugin_1.2.0.52-1vmw.802.0.0.22380479
   Reboot Required: true
   DPU Results: 
[root@v10-nesxi-03:/vmfs/volumes/66336577-21422980-e648-005056959d60] reboot
[root@v10-nesxi-03:/vmfs/volumes/66336577-21422980-e648-005056959d60] Connection to 10.0.10.13 closed by remote host.

4. アップデート後

  • profile update後には、(Updated) ESXi-8.0U2b-23305546-standardのようにprofile名に(Updated)が追加される
  • profile installと違い、既存のvibは削除されないのでベンダーvibはそのまま残っている
  • profile installと違い、「vibのベンダー差分」が起きた場合は既存のvibが優先されるのでIntel製のままに
[root@v10-nesxi-03:~] esxcli system version get
   Product: VMware ESXi
   Version: 8.0.2
   Build: Releasebuild-23305546
   Update: 2
   Patch: 30

[root@v10-nesxi-03:~] esxcli software profile get
(Updated) ESXi-8.0U2b-23305546-standard
   Name: (Updated) ESXi-8.0U2b-23305546-standard
   Vendor: Fujitsu
   Creation Time: 2024-06-26T06:41:03
   Modification Time: 2024-06-26T06:44:17
   Stateless Ready: True
   Description: 
      
      2024-06-26T06:41:01.333484+00:00: The following VIBs are
      installed:
        bmcal 8.0.2-0.30.23305546
        vsan  8.0.2-0.30.23305546
        gc    8.0.2-0.30.23305546
        crx   8.0.2-0.30.23305546
        drivervm-gpu-base     8.0.2-0.30.23305546
        native-misc-drivers   8.0.2-0.30.23305546
        esxio-combiner-esxio  8.0.2-0.30.23305546
        bmcal-esxio   8.0.2-0.30.23305546
        pensandoatlas 1.46.0.E.28.1.314-2vmw.802.0.0.22939414
        esxio-combiner        8.0.2-0.30.23305546
        infravisor    8.0.2-0.30.23305546
        tools-light   12.3.5.22544099-23305545
        vmware-hbrsrv 8.0.2-0.30.23305546
        vdfs  8.0.2-0.30.23305546
        esxio-update  8.0.2-0.30.23305546
        clusterstore  8.0.2-0.30.23305546
        esx-base      8.0.2-0.30.23305546
        gc-esxio      8.0.2-0.30.23305546
        cpu-microcode 8.0.2-0.30.23305546
        vds-vsip      8.0.2-0.30.23305546
        esxio-dvfilter-generic-fastpath       8.0.2-0.30.23305546
        vsanhealth    8.0.2-0.30.23305546
        esx-update    8.0.2-0.30.23305546
        trx   8.0.2-0.30.23305546
        native-misc-drivers-esxio     8.0.2-0.30.23305546
        loadesx       8.0.2-0.30.23305546
        esx-dvfilter-generic-fastpath 8.0.2-0.30.23305546
        loadesxio     8.0.2-0.30.23305546
        esx-xserver   8.0.2-0.30.23305546
        esxio 8.0.2-0.30.23305546
        esxio-base    8.0.2-0.30.23305546
      ----------

[root@v10-nesxi-03:~] esxcli software vib list | grep F
fujitsu-conf                   8.0.2-570.1.1                         FJT     PartnerSupported  2024-06-26    host
fujitsu-upgrade                8.0.2-570.1.0                         FJT     PartnerSupported  2024-06-26    host
fujitsusvhcp                   10.40.10-1OEM.800.1.0.20613240        FJT     VMwareAccepted    2024-06-26    host
fujitsusvrc                    10.10.10-1OEM.800.1.0.20613240        FJT     VMwareAccepted    2024-06-26    host
svshti                         10.40.08-1OEM.800.1.0.20143090        FJT     PartnerSupported  2024-06-26    host

[root@v10-nesxi-03:~] esxcli software vib list | grep ixgben
ixgben-ens                     1.9.2.0-1OEM.800.1.0.20613240         INT     VMwareCertified   2024-06-26    host
ixgben                         1.15.1.0-1OEM.800.1.0.20613240        INT     VMwareCertified   2024-06-26    host

6. vib install
#

現在のESXiにのみ存在するvib そのまま
既存のESXiにも、zipバンドルにも存在するvib 一旦削除後、zipバンドル内のvibがinstall
zipバンドルにのみ存在するvib install
前述したようにvib install/updateのコマンドは、ESXiのアップグレード、アップデートはサポートされないので注意です。

主なユースケースは「vibを1つだけ追加でinstallすること」です。

この場合稼働中のESXiに同じvibがある場合は、profile installのように削除して、新しくinstallするのでベンダー違いやダウングレードに注意しましょう。

特定のnic-driver(vib)にbugがあるので、アップデートしたい場合やMellanox Firmware Toolsのように特殊なvibを追加したい場合に使うことがあります。

7. vib update
#

現在のESXiにのみ存在するvib そのまま
既存のESXiにも、zipバンドルにも存在するvib vib名が一致し、venderも一致する場合 → update
vib名が一致するが、venderが異なる場合 or downgradeする時 → skip
zipバンドルにのみ存在するvib skip
前述したようにvib install/updateのコマンドは、ESXiのアップグレード、アップデートはサポートされないので注意です。

主なユースケースは「既存で稼働中のESXiのvibをupdate」したい場合です。

profile updateと同じように、状況によってupdateがskipされるので注意しましょう。また既存で稼働中のESXiに該当のvibが存在しないときもskipされるので注意です。(この場合はvib installを使いましょう。)

使い道がほぼない気がします。。。

まとめ
#

かなり複雑になってしまいましたが、メジャーアップデートはesxcli software profile install、マイナーアップデートはesxcli software profile update、vibを1つだけ変更したい場合はesxcli software vib installを使うことを前提に、install前後のvibを確認しておくとどのコマンドを使えば良いか迷わずに済むと思います。

esxi-install-update - 関連記事
2: << この記事 >>

Related

ESXiを自動でインストール
·3901 文字
Blog VMware VSphere RedfishAPI Python Kickstart Ansible
pyvmomiで自動化7 -HoLを使った検証環境の用意-
·1189 文字
Blog VMware VSphere Pyvmomi Python
pyvmomiで自動化6 -便利なツール群-
·1898 文字
Blog VMware VSphere Pyvmomi Python