Upgrading the Firmware (upgrade)
Function
The upgrade command is used to upgrade the server firmware, which includes the iBMC, BIOS, SD card firmware, and complex programmable logic device (CPLD).
Format
ipmcset -d upgrade -v <filepath> [option]
Parameters
Parameter |
Description |
Value |
---|---|---|
filepath |
Specifies the absolute path of the upgrade file. NOTE:
Only the .hpm file is supported. |
Example value: /tmp/image.hpm. |
option |
Specifies whether to automatically restart the iBMC immediately after the upgrade is complete. |
Default value: 1 |
Usage Guidelines
Before running this command, use a file transfer tool that supports SFTP, for example WinSCP, to transfer the upgrade file to the specified directory (for example /tmp) of the iBMC file system.
The files uploaded by different users cannot be overwritten. That is, user B can upload the file with the same name only after user A deletes the file.
After upgrading the iBMC or SD card controller, restart the iBMC for the upgrade to take effect.
- The iBMC is restarted immediately after the upgrade is complete if option is set to 1.
- The iBMC will not automatically restart after the upgrade if option is set to 0. To make the upgrade take effect, restart the iBMC.
When the iBMC is upgraded, the primary and backup partition images are upgraded at the same time.
Example
iBMC:/->ipmcset -d upgrade -v /tmp/image.hpm 1 Please make sure the iBMC is working while upgrading! Updating... 100% Update successfully.
iBMC:/->ipmcset -d upgrade -v /tmp/image.hpm 0 Please make sure the iBMC is working while upgrading! Updating... 100% Upgrade successfully and need to reboot the BMC to active the upgrade.