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 Administrator’s Guide for Configuration and Maintenance Firmware Release 5.0.x.

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 of application/json or a superset of application/json.

  • Content-Type header – The Content-Type: header must specify the value of multipart/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.