This job can be used to update the firmware on a server.
| Job Template ID | Resource Type | Job Parameters |
|---|---|---|
| fd54a96c-cabc-42e3-aee3-374a2d009dba | compute-ops-mgmt/server | See Job Parameters section |
Note Firmware update is not supported on HPE Edgeline e920 server blades.
Job parameters marked with a
*are required.
A job can be created by issuing a POST to the /compute-ops-mgmt/v1/jobs endpoint with the correct payload for the job.
The following properties are used when creating a job:
| Property | JSON Type | Description | Required? |
|---|---|---|---|
jobTemplate | string (id) | The durable Template ID of the job | Yes |
resourceType | string (type) | The TYPE of the resource the job will operate on | Yes |
resourceId | string (id) | The ID of the resource the job will operate on | Yes |
jobParams | object | Any additional data required by the job | No |
If the job was created successfully, a 201 Created response is returned. The response includes the job resource which has a job resourceUri that you can use to track the progress of the job.
This table summarizes the supported properties in jobParams.
| Property | JSON Type | Description | Required? |
|---|---|---|---|
bundle_id | string (uuid) | Firmware Bundle UUID | Yes |
downgrade | boolean | Controls Firmware update downgrade option | No |
install_sw_drivers | boolean | Controls HPE drivers and software installation | No |
power_off | boolean | Power off server after firmware update | No |
prerequisite_check | boolean | Prerequisites check before firmware update | No |
skip_blocklisted_components | boolean | Skip component updates that are blocked by known issues. | No |
wait_for_power_off_or_reboot | boolean | Firmware update wait for server power off or reboot outside Compute Ops Management | No |
wait_for_power_off_or_reboot_timeout | integer | Amount of time (hours) that Compute Ops Management waits for server power off or reboot | No |
bundle_id: This required property is the firmware bundle UUID that should be used for the firmware update.- The firmware bundle UUID can be obtained using
GET /compute-ops-mgmt/v1/firmware-bundlesand looking at theidproperty in the response.
- The firmware bundle UUID can be obtained using
downgrade: This flag allows a downgrade of the firmware as part of the firmware update.- Default:
false
- Default:
install_sw_drivers: This flag determines if HPE drivers and software should be installed in the OS as part of the firmware update.- Default:
false
- Default:
power_off: This flag determines if server needs to be powered off after firmware update.- Default:
false
- Default:
prerequisite_check: This flag determines whether the prerequisites are checked before a firmware update.- Default:
true - If the prerequisites check passed without recommendations, the firmware update proceeds.
- If the prerequisites check failed with recommendations, fix the reported issues to continue with the firmware update.
- Default:
skip_blocklisted_components: This flag determines whether to skip component updates that are blocked by known issues.- Default:
false
- Default:
wait_for_power_off_or_reboot: This flag causes the update to wait for the user to reboot or power off the server before performing the installation.- Default:
false - Note that the server reboot or power off must be performed outside of Compute Ops Management.
- Default:
wait_for_power_off_or_reboot_timeout: The amount of time in hours to wait for the server to reboot or power off, when thewait_for_power_off_or_rebootoption is set to true.- Supported values are 1, 2, 4, 8, 12, 24
- Default: 4
Here's an example request payload for creating this job.
Use the specified firmware bundle to update a server.
{
"jobTemplate": "fd54a96c-cabc-42e3-aee3-374a2d009dba",
"resourceType": "compute-ops-mgmt/server",
"resourceId": "086856-F17+8899086856117487",
"jobParams": {
"bundle_id": "de600c7f01e29f793f26ad91b31d96ce"
}
}Use the specified firmware bundle to update a server and power off the server after firmware update.
{
"jobTemplate": "fd54a96c-cabc-42e3-aee3-374a2d009dba",
"resourceType": "compute-ops-mgmt/server",
"resourceId": "086856-F17+8899086856117487",
"jobParams": {
"bundle_id": "de600c7f01e29f793f26ad91b31d96ce",
"power_off": true
}
}Use the specified firmware bundle to update a server including HPE drivers and software.
{
"jobTemplate": "fd54a96c-cabc-42e3-aee3-374a2d009dba",
"resourceType": "compute-ops-mgmt/server",
"resourceId": "086856-F17+8899086856117487",
"jobParams": {
"bundle_id": "de600c7f01e29f793f26ad91b31d96ce",
"install_sw_drivers": true
}
}Use the specified firmware bundle to update a server and allow to downgrade the firmware
{
"jobTemplate": "fd54a96c-cabc-42e3-aee3-374a2d009dba",
"resourceType": "compute-ops-mgmt/server",
"resourceId": "086856-F17+8899086856117487",
"jobParams": {
"bundle_id": "de600c7f01e29f793f26ad91b31d96ce",
"downgrade": true
}
}Use the specified firmware bundle to update a server with prerequisite check.
{
"jobTemplate": "fd54a96c-cabc-42e3-aee3-374a2d009dba",
"resourceType": "compute-ops-mgmt/server",
"resourceId": "086856-F17+8899086856117487",
"jobParams": {
"bundle_id": "de600c7f01e29f793f26ad91b31d96ce",
"prerequisite_check": true
}
}Use the specified firmware bundle to perform a server firmware update that skips components with known issues. The remaining components in the selected bundle are updated.
{
"jobTemplate": "fd54a96c-cabc-42e3-aee3-374a2d009dba",
"resourceType": "compute-ops-mgmt/server",
"resourceId": "086856-F17+8899086856117487",
"jobParams": {
"bundle_id": "de600c7f01e29f793f26ad91b31d96ce",
"skip_blocklisted_components": true
}
}Use the specified firmware bundle to update a server after the user powers off or reboots the server within the specified time period.
{
"jobTemplate": "fd54a96c-cabc-42e3-aee3-374a2d009dba",
"resourceType": "compute-ops-mgmt/server",
"resourceId": "086856-F17+8899086856117487",
"jobParams": {
"bundle_id": "de600c7f01e29f793f26ad91b31d96ce",
"wait_for_power_off_or_reboot": true,
"wait_for_power_off_or_reboot_timeout": 8
}
}