HP Insight Control Server Provisioning 7.2 Administrator Guide

Once the registration process starts, a user will see two iLO related jobs in the left hand side column
of the Jobs page. First job “Registers IloManagerService will contain the job details of adding
a server through iLO. Second job Add iLO-managed Server will contain job details booting
a server into default service OS, usually Linux PE.
Common errors from registering a server via its iLO:
500 Internal Server Error
Resolution: Create a support dump
403 Request Forbidden
Cause: Failed to login a user with provided credentials
Resolution: Try logging in again with valid credentials
409 Conflict
Cause: iLO IP Address that user provided was already used to register and iLO
Resolution: Delete the server with duplicate iLO and try again or use different iLO address
404 Not Found
Cause: The server cannot be found
Resolution: Verify that server exists, or not deleted
400 Bad Request
Cause: When making a REST call one of the supplied parameters could be missing, malformed
or invalid.
Resolution: Verify that parameters are in correct form.
5.2 REST API to create and download a support dump
In addition to being able to download a support dump from your Insight Control server provisioning
appliance via the UI, you can also accomplish this programmatically. This alternate approach is
valuable if the appliance user interface is unresponsive and you need to retrieve a support dump
for diagnosing a problem.
Programmatically, one needs to make two REST calls to the Insight Control server provisioning
appliance. The first call creates the support dump and leaves it on the appliance, while the second
call downloads it.
In this discussion we use the open-source cURL utility to make the REST calls. The cURL open-source
project is located at: http://curl.haxx.se/. You can invoke cURL from a command line on either
Linux or Windows.
A list of the components of the REST call to create the support dump is shown below:
DescriptionREST component
https://<appliance-hostname-or-address>/rest/appliance/support-dumps
where you supply <appliance-hostname-or-address>
URL:
POSTMessage Type:
accept: application/jsonHTTP Headers:
content-type: application/json
{"errorCode": "<support-dump-error>”}
where <support-dump-error> is used when generating the support dump file name.
Request Body:
{"type":"DumpDataInfoDto", "dumpFileSize":8087, "uri":
"<support-dump-filename>", "category":null, "eTag":null,
"created":"Tue Jun 19 03:11:25 MDT 2012", "modified":null }
Response Body:
40 Advanced topics