331i のファームウェアアップデート
ESXi 7.0.3 が稼働している機械で、ファームウェアのアップデートをします。
手順が分からず数日無駄にしたのでメモしておきます。(DL360, DL380 Gen9)
ファームのダウンロード
から CP050425.zip をダウンロード
ESXi へファイルを転送
ESXi の ESXi Shell, ssh を有効化、
scp などで ESXi へファイルを転送します。
scp CP050425.zip root@100.64.0.1:/tmp
ESXi へログイン
ssh root@100.64.0.1
[root@localhost:~] cd /tmp
[root@localhost:/tmp] ls -la
total 7556
drwxrwxrwt 1 root root 512 Mar 27 05:35 .
drwxr-xr-x 1 root root 512 Mar 27 05:34 ..
-rw-r--r-- 1 root root 7552182 Mar 27 05:35 CP050425.zip
-rw-r--r-- 1 root root 175296 Mar 17 04:25 look_for_iLO_in_pcihwlist.txt
展開してコンポーネントを取り出す
[root@localhost:/tmp] unzip CP050425.zip
Archive: CP050425.zip
inflating: CP050425_BUILD_7.data
inflating: CP050425.vmexe
inflating: CP050425.vmexe64
inflating: CP050425.vmfile
inflating: CP050425_VMw.zip
inflating: CP050425.xml
inflating: payload.json
コンポーネントをインストール
[root@localhost:/tmp] esxcli software component apply -d /tmp/CP050425_VMw.zip
Installation Result
Components Installed: Smart-Component-CP050425_1.30.0.7-7.0.0.15843807
Components Removed:
Components Skipped:
Message: Operation finished successfully.
Reboot Required: false
残骸は削除
[root@localhost:/tmp] rm CP050425*
rm: remove 'CP050425.vmexe'? y
rm: remove 'CP050425.vmexe64'? y
rm: remove 'CP050425.vmfile'? y
rm: remove 'CP050425.xml'? y
rm: remove 'CP050425.zip'? y
rm: remove 'CP050425_BUILD_7.data'? y
rm: remove 'CP050425_VMw.zip'? y
コンポーネントのインストール先に移動
[root@localhost:/tmp] cd /opt/Smart_Component/CP050425/
[root@localhost:/opt/Smart_Component/CP050425] ls -l
total 1664
-r--r--r-- 1 root root 37 Dec 21 2021 CP050425.vmcfg
-r--r--r-- 1 root root 98222 Dec 21 2021 CP050425.xml
-r--r--r-- 1 root root 170 Dec 21 2021 CP050425_BUILD_7.data
drwxrwxrwx 1 root root 512 Mar 27 06:35 ESXi_6.7
drwxrwxrwx 1 root root 512 Mar 27 06:35 ESXi_7.0
-r--r-xr-x 1 root root 4803 Jan 20 2021 Execute_Component
-r--r-xr-x 1 root root 4986 Jan 20 2021 determine_which_OS.sh
-r-xr-xr-x 1 root root 24621 Dec 21 2021 flash.so
-r-xr-xr-x 1 root root 10419 Dec 21 2021 hpsetup
-r--r--r-- 1 root root 705834 Dec 21 2021 libbrcm_bmapi.so.6
-r--r--r-- 1 root root 791556 Dec 21 2021 libbrcm_hpfwupg.so
drwxrwxrwx 1 root root 512 Mar 27 06:35 nic_fw
-r--r--r-- 1 root root 24190 Dec 21 2021 release.txt
コンポーネント (ファームのアップデート) を実行
[root@localhost:/opt/Smart_Component/CP050425] ./Execute_Component
Command [ ./Execute_Component ]
Number of parameters passed in [ 0 ]
The parameters are [ ]
OS Version found [7.0.3]
Process [7.0.3] with path [./ESXi_7.0]
Set Flash Engine files for path [./ESXi_7.0]
... leaving ./determine_which_OS.sh in /opt/Smart_Component/CP050425 ...
execute hpsetup with parameters [ ]
===============================================================
HPE Broadcom NX1 Online Firmware Upgrade Utility for VMware
Version: 1.30.0
Performing Discovery operation......Please be patient..
Selecting HPE Ethernet 1Gb 4-port 331i Adapter MAC: ecB1D7xxxxxx
Update nvm 20.14.62 to 20.19.51 y/n/q (y):y
Firmware update in progress......It will take a while....Please be patient..
Please reboot for the firmware flash to complete.
... END [ ./Execute_Component - Return value is 1 ] ...
[root@localhost:/opt/Smart_Component/CP050425] cd ..
コンポーネントを削除
[root@localhost:/opt/Smart_Component] esxcli software component remove -n Smart-Component-CP050425
Removal Result
Components Installed:
Components Removed: Smart-Component-CP050425_1.30.0.7-7.0.0.15843807
Components Skipped:
Message: Operation finished successfully.
Reboot Required: false
[root@localhost:/opt/Smart_Component] ls -la
total 12
drwxrwxrwx 1 root root 512 Mar 27 06:35 .
drwxr-xr-x 1 root root 512 Mar 27 06:35 ..
drwxrwxrwx 1 root root 512 Mar 27 06:39 CP050425
残った残骸も削除
[root@localhost:/opt/Smart_Component] rm -rf CP050425
あとは ESXi を再起動。