Beginning with Release 3.0, the BIOS and Cisco IMC firmware files are no longer embedded inside the HUU as a standalone .zip file. BIOS and Cisco IMC firmware must now be extracted using the getfw utility, which is available in the GETFW folder of the HUU.
4. 使用 CLI 升级 CIMC firmware,举个栗子
server# scope cimc
server /cimc # scope firmware
server /cimc /firmware # update ftp 192.0.20.34 //test/dnld-ucs-k9-bundle.1.0.2h.bin // 注意这里是 .bin 文件,firmware file
Firmware update has started.
Please check the status using "show detail"
CIMC reboot 以后,active 对应 image
Server /cimc/firmware # show detail
Server /cimc/firmware # activate 1
This operation will activate firmware 1 and reboot the BMC.
Continue?[y|N]y
.
-- BMC reboot --
.
-- Log into CLI as Admin --
Server /cimc/firmware # show detail // 确认一下
getfw utility 从 HUU .iso 获取 firmware/固件.bin 文件
需要 Linux 环境,LAB 测试发现 Ubuntu 20 会报错,Ubuntu 16.04 可以成功。
root@ubuntu20:/mnt/iso/GETFW# ./getfw -s /home/luke/case/ucs-c220m4-huu-3.0.3a.iso -d .
Error: Invalid HUU ISO image
root@ubuntu20:/home/luke/case# ./getfw -s ./ucs-c220m4-huu-3.0.3a.iso -d .
Decryption failed
Ubuntu 16.04 测试结果
luke@DESKTOP-R6G59N8:/mnt/c/Users/fushuang/Downloads$ sudo su
[sudo] password for luke:
luke@DESKTOP-R6G59N8:/mnt/c/Users/fushuang/Downloads$ mkdir iso
root@DESKTOP-R6G59N8:/mnt/c/Users/fushuang/Downloads# mount ucs-c220m4-huu-3.0.3a.iso iso
mount: /dev/loop2 is write-protected, mounting read-only
root@DESKTOP-R6G59N8:/mnt/c/Users/fushuang/Downloads# iso/GETFW/getfw -s ucs-c220m4-huu-3.0.3a.iso -d .
Nothing was selected hence getting only CIMC and BIOS
FW/s available at './ucs-c220m4-huu-3.0.3a'
root@DESKTOP-R6G59N8:/mnt/c/Users/fushuang/Downloads#
root@DESKTOP-R6G59N8:/mnt/c/Users/fushuang/Downloads# openssl version
OpenSSL 1.0.2g 1 Mar 2016
root@DESKTOP-R6G59N8:/mnt/c/Users/fushuang/Downloads#
root@DESKTOP-R6G59N8:/mnt/c/Users/fushuang/Downloads# ls -l ucs-c220m4-huu-3.0.3a
total 0
drwxrwxrwx 1 luke luke 4096 Apr 20 2017 bios
drwxrwxrwx 1 luke luke 4096 Apr 20 2017 cimc
root@DESKTOP-R6G59N8:/mnt/c/Users/fushuang/Downloads# ls -l ucs-c220m4-huu-3.0.3a/cimc
total 45500
-rwxrwxrwx 1 luke luke 46590892 Apr 20 2017 cimc.bin