Dump Service

DumpService

DumpService APIs are used to dump and download debug information.

URI: /redfish/v1/Oem/Supermicro/DumpService

Method: GET

Response: 200

{

"@odata.type": "#DumpService.v1_0_1.DumpService",

"@odata.id": "/redfish/v1/Oem/Supermicro/DumpService",

"Id": "DumpService",

"Name": "Dump Service",

"Dumps": {

"@odata.id": "/redfish/v1/Oem/Supermicro/DumpService/Dumps"

},

"Actions": {

"Oem": {},

"#SmcDumpService.CreateDump": {

"target": "/redfish/v1/Oem/Supermicro/DumpService/Actions/SmcDumpService.CreateDump",

"@Redfish.ActionInfo": "/redfish/v1/Oem/Supermicro/DumpService/CreateDumpActionInfo"

},

"#SmcDumpService.DeleteAll": {

"target": "/redfish/v1/Oem/Supermicro/DumpService/Actions/SmcDumpService.DeleteAll"

}

}

}

CreateDump

URI: /redfish/v1/Oem/Supermicro/DumpService/Actions/SmcDumpService.CreateDump

Method: POST

Payload:

{

"DumpType": "Host Dump"

}

Response: 202 Accepted

Task: Task added under TaskService to create dump process and link added in response to navigate to task details

 

HostCrashDumps

When the host crash dump is created, you can download it from HostCrashDumpURI.

URI: /redfish/v1/Oem/Supermicro/DumpService/Dumps/HostCrashDump

Method: GET

Response: 200

{

"@odata.type": "#Dump.v1_1_0.Dump",

"@odata.id": "/redfish/v1/Oem/Supermicro/DumpService/Dumps/HostCrashDump",

"Id": "HostCrashDump",

"Description": "Host dump",

"Size": 49139,

"Reason": "Host failure",

"Actions": {

"Oem": {

},

"#SmcDump.Download": {

"target": "/redfish/v1/Oem/Supermicro/DumpService/Dumps/HostCrashDump/Actions/SmcDump.Download"

}

},

"@odata.etag": "\"ae12d4647e32eb925f33eac0c038604b\""

}

 

Downloading Crash Dump

URI: /redfish/v1/Oem/Supermicro/DumpService/Dumps/HostCrashDump/Actions/SmcDump.Download

Method: POST

Payload:

{

}

Response: 200

Filename: CDump.txt