Wednesday, June 10, 2026
How to Remotely Upgrade R2520G6 Firmware Using Redfish Commands?
This article provides a solution for remotely upgrading the firmware of the R2520G6 server using Redfish commands, addressing challenges associated with manual or onsite firmware updates.
Answer:
To perform a remote firmware upgrade on the R2520G6, follow these steps using Redfish commands:
1. Define Update Targets:
Use PATCH commands with Redfish to specify the components you wish to update.
2. Initiate Firmware Update:
Use POST commands with Redfish to begin upgrading the firmware on the previously defined targets.
3. Prepare Firmware Files:
Upload the BIOS, BMC, CPLD, and ROT firmware files to the Linux working directory for the update process.
4. Power Off the Server:
Ensure that the R2520G6 is powered off before executing Redfish commands to upgrade the firmware.
Please note that this process requires out-of-band (OOB) upgrade image files. The required files are listed below:
BIOS: B066xxxxxx_signed_cap_prd.bin
BMC: B066Axxx.Ixx_signed_cap_prd.bin
CPLD: E7142_HPM_SCM_Rxx_Vxxx_prd_sign.bin
ROT: B8066ROTAxx.xx_signed_cap_prd.bi
By following these steps and using the appropriate image files, you can efficiently perform remote firmware upgrades on the R2520G6 via Redfish commands.
BIOS upgrade Process
1. Check target item firmware version.
Redfish command:
#curl -u username:password -k -s https://{BMC_IP}/redfish/v1/UpdateService/FirmwareInventory/bios_active
2. Use PATCH to define updating objects.
#curl -k -u username:password -X PATCH https://{BMC_IP}/redfish/v1/UpdateService -H "Content-Type: application/json" -d '{"HttpPushUriOptions": {"HttpPushUriApplyTime": {"ApplyTime": "Immediate"}},"HttpPushUriTargets": ["bios_active"],"HttpPushUriTargetsBusy": true,"Oem": {"ApplyOptions": {"ClearConfig": true}}}' -w "\nHTTP_CODE=%{response_code}\n"
Response: 200
3. Use POST to upgrade defined object firmware versions
#curl -k -u username:password -X POST https://{BMC_IP}/redfish/v1/UpdateService/update -H "Content-Type: application/octet-stream" --data-binary "@{Image_path}" -w "\nHTTP_CODE=%{response_code}\n"
Response: 202
4. BMC appear one task in Task menu. Waiting about 10 minutes for BIOS upgrade process.
5. Check target item firmware versions after upgrade process finished.
BMC upgrade Process
1. Check target item firmware version.
Redfish command:
#curl -u username:password -k -s https://{BMC_IP}/redfish/v1/UpdateService/FirmwareInventory/bmc_active
2. Use PATCH to define updating objects.
#curl -k -u username:password -X PATCH https://{BMC_IP}/redfish/v1/UpdateService -H "Content-Type: application/json" -d '{"HttpPushUriOptions": {"HttpPushUriApplyTime": {"ApplyTime": "Immediate"}},"HttpPushUriTargets": ["bmc_active"],"HttpPushUriTargetsBusy": true,"Oem": {"ApplyOptions": {"ClearConfig": false}}}' -w "\nHTTP_CODE=%{response_code}\n"
Response: 200
3. Use POST to upgrade defined object firmware versions
#curl -k -u username:password -X POST https://{BMC_IP}/redfish/v1/UpdateService/update -H "Content-Type: application/octet-stream" --data-binary "@{Image_path}" -w "\nHTTP_CODE=%{response_code}\n"
Response: 202
4. BMC appear one task in Task menu. Waiting about 20 minutes for BMC upgrade process.
5. Check target item firmware versions after upgrade process finished.
CPLD upgrade Process
1. Check target item firmware version.
Redfish command:
#curl -u username:password -k -s https://{BMC_IP}/redfish/v1/UpdateService/FirmwareInventory/cpld_active
2. Use PATCH to define updating objects.
#curl -k -u username:password -X PATCH https://{BMC_IP}/redfish/v1/UpdateService -H "Content-Type: application/json" -d '{"HttpPushUriOptions": {"HttpPushUriApplyTime": {"ApplyTime": "Immediate"}},"HttpPushUriTargets": ["cpld_active"],"HttpPushUriTargetsBusy": true,"Oem": {"ApplyOptions": {"ClearConfig": false}}}' -w "\nHTTP_CODE=%{response_code}\n"
Response: 200
3. Use POST to upgrade defined object firmware versions
#curl -k -u username:password -X POST https://{BMC_IP}/redfish/v1/UpdateService/update -H "Content-Type: application/octet-stream" --data-binary "@{Image_path}" -w "\nHTTP_CODE=%{response_code}\n"
Response: 202
4. Waiting about 30 seconds for CPLD upgrade process.
5. Check target item firmware versions after upgrade process finished.
ROT upgrade Process
1. Check target item firmware version.
Redfish command:
#curl -u username:password -k -s https://{BMC_IP}/redfish/v1/UpdateService/FirmwareInventory/rot_fw_active
2. Use PATCH to define updating objects.
#curl -k -u username:password -X PATCH https://{BMC_IP}/redfish/v1/UpdateService -H "Content-Type: application/json" -d '{"HttpPushUriOptions": {"HttpPushUriApplyTime": {"ApplyTime": "Immediate"}},"HttpPushUriTargets": ["rot_fw_active"],"HttpPushUriTargetsBusy": true,"Oem": {"ApplyOptions": {"ClearConfig": false}}}' -w "\nHTTP_CODE=%{response_code}\n"
Response: 200
3. Use POST to upgrade defined object firmware versions
#curl -k -u username:password -X POST https://{BMC_IP}/redfish/v1/UpdateService/update -H "Content-Type: application/octet-stream" --data-binary "@{Image_path}" -w "\nHTTP_CODE=%{response_code}\n"
Response: 202
4. Waiting about 30 seconds for ROT upgrade process.
5. Check target item firmware versions after upgrade process finished.
Subscribe to:
Post Comments (Atom)
How to Remotely Upgrade R2520G6 Firmware Using Redfish Commands?
This article provides a solution for remotely upgrading the firmware of the R2520G6 server using Redfish commands, addressing challenges as...
No comments:
Post a Comment