Step 1: Upload a Backup Firmware Package to SP
Use a POST request to upload a firmware package to the SP as a backup image.
HTTP Request Format
POST /rest/v<version>/SP/firmware/backupimage/update HTTP/1.1 <Header Name>: <Value> <request body>
Where:
-
The
<Request body>
contains the package file contents in a multi-part data form format.
Note:
The backup image remains in a pending state until it is activated for installation. To active the backup image for immediate installation using the Oracle ILOM web interface or CLI, see Activate Firmware Backup Image for Immediate Installation in Oracle ILOM 5.1 Administrator’s Guide.
Request Headers Required
The following request headers are required to post the backup firmware package on the SP.
-
Accept header – The
Accept:
header must specify the value ofapplication/json
or a superset ofapplication/json
. -
Content-Type header – The
Content-Type:
header must specify the value ofmultipart/form-data
.Note:
Some tools such as cURL provide the Content-Type and file contents when the user supplies the file path.
-
Other headers– Authentication and Host headers are required. For a description of these headers, see Common Request Header Fields.