HP Insight Control Server Provisioning 7.2 Update 1 Install Guide
Appliance file upload function. Refer to the HP Insight Control Server Provisioning 7.2 Administrator
Guide chapter on Advanced Topics for more information on how to use REST APIs.
A list of the components of the REST call is shown below:
DescriptionREST component
https://<appliance-hostname-or-address>/rest/appliance/firmware/image
where you supply <appliance-hostname-or-address>
URL:
POSTMessage Type:
accept: application/jsonHTTP Headers:
content-type: multipart/form-data
accept-language: en-us (optional)
auth: <user-authorization-token>
None, but use —F option to supply form data with the absolute path of the
IC-server-provisioning-7.2.1–update.bin update file to upload, depending on
your system type as follows, for example:
Request Body:
-F file=”@c:/IC-server-provisioning-7.2.1-update.bin” (Windows)
-F file="@/home/user/IC-server-provisioning-7.2.1–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.1-update.bin","version":"7.2.1-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 and from the Settings page, select Actions→Update Appliance.
You should see information stating that the update file has been uploaded. You can then select
the Install Upgrade button to continue the update process as usual.
You invoke cURL as follows and will see the associated response shown below:
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.1-update.bin","version":"7.2.1-58602","rebootRequired":false,"estimatedUpgradeTime":15}
Related information
Table 1 Where to find information
Where to find the informationTopic
See the Insight Control server provisioning section of the HP Insight Management 7.2
Update 1 Release Notes and HP Insight Control Release Notes available at http://
www.hp.com/go/insightcontrol/docs.
Release notes
See the Insight Control server provisioning section of the HP Insight Management Support
Matrix available at http://www.hp.com/go/insightcontrol/docs.
Support Matrix
http://www.hp.com/go/insightupdates.Software download
website
Related information 7