NVIDIA DGX B200 User Guide
A successful command returns a 204 HTTP status code.
2. Restore the BMC conguration from a backup le, for example, bmc-config.bak.
curl -s -k -u <username>:<password> --location --request POST 'https:∕∕<bmcip>∕
,→redfish∕v1∕Managers∕BMC∕Actions∕Oem∕NvidiaManager.RestoreConfig' --form 'conf_
,→file=@"bmc-config.bak"' | jq
9.3.10. Collecting BMC Debug Data
1. Create a request for BMC to start collecting debug data:
curl -k -u <bmc-user>:<password> --request POST --location 'https:∕∕<bmc-ip-
,→address>∕redfish∕v1∕Managers∕BMC∕LogServices∕DiagnosticLog∕Actions∕LogService.
,→CollectDiagnosticData' -H 'Content-Type: application∕json' --data-raw '{
,→"DiagnosticDataType" : "OEM", "OEMDiagnosticDataType": "ALL"}' | jq
Example response:
{
"@odata.context": "∕redfish∕v1∕$metadata#Task.Task",
"@odata.id": "∕redfish∕v1∕TaskService∕Tasks∕2",
"@odata.type": "#Task.v1_4_2.Task",
"Description": "Task for Manager CollectDiagnosticData",
"Id": "2",
"Name": "Manager CollectDiagnosticData",
"TaskState": "New"
}
2. Change the task number to the appropriate task Id returned from step 1, and monitor the task
for completion until PercentComplete reaches 100.
curl -k -u <bmc-user>:<password> --request GET 'https:∕∕<bmc-ip-address>∕redfish∕
,→v1∕TaskService∕Tasks∕2' | jq
Example response:
{
"@odata.context": "∕redfish∕v1∕$metadata#Task.Task",
"@odata.etag": "\"1723565599\"",
"@odata.id": "∕redfish∕v1∕TaskService∕Tasks∕2",
"@odata.type": "#Task.v1_4_2.Task",
"Description": "Task for Manager CollectDiagnosticData",
"EndTime": "2024-08-13T16:28:15+00:00",
"Id": "2",
"Messages": [
{
"@odata.type": "#Message.v1_0_8.Message",
"Message": "Indicates that a DiagnosticDump of was created at ∕redfish∕
,→v1∕Managers∕BMC∕LogServices∕DiagnosticLog∕Attachment∕nvidiadiag-HT9buy.tar.gz",
"MessageArgs": [
"∕redfish∕v1∕Managers∕BMC∕LogServices∕DiagnosticLog∕Attachment∕
,→nvidiadiag-HT9buy.tar.gz"
],
"MessageId": "Ami.1.0.0.DiagnosticDumpCreated",
(continues on next page)
74 Chapter 9. Redsh APIs Support