HP Insight Control Server Provisioning 7.3 Update 1 Installation Guide

Table Of Contents
DescriptionREST component
-F file=”@c:/IC-server-provisioning-7.2.2-update.bin (Windows)
-F file="@/home/user/IC-server-provisioning-7.2.2–update.bin" (Linux)
An example of the response is shown below, file name and version will depend on the upload:Response Body:
{"fileName":"IC-server-provisioning-7.2.2-update.bin","version":"7.2.2-58602",
"preupgradeTimeout":1800000,"rebootRequired":true,"estimatedUpgradeTime":110}
When a successful Response Body has been seen, like the above, after about 10-15 minutes,
you can proceed to use the UI to install the update. From the Settings screen, select
ActionsUpdate Appliance. You should see information stating that the update file has been
uploaded. You can then select the Install update button to continue the update process as usual.
The following illustrates how to Invoke the cURL with its associated response.
cURL command on Linux:
# curl -i -k -H "accept: application/json" -H "content-type: multipart/form-data" -H "accept-language: en-us"
-H "auth: <user-authorization-token>"
-F file="@<path to the update file>" -X POST https://<appliance-hostname-or-address>/rest/appliance/firmware/image
HTTP/1.1 100 Continue
Response on success:
HTTP/1.1 200 OK
Date: Thu, 23 May 2013 18:18:07 GMT
Content-Type: application/json
Via: 1.1 cic.dns.hp
cache-control: no-cache
Transfer-Encoding: chunked
{"fileName":"IC-server-provisioning-7.2.2-update.bin","version":"7.2.2-58602","rebootRequired":false,"estimatedUpgradeTime":15}
REST API call to upload the 7.2.2 update file 67