All of lore.kernel.org
 help / color / mirror / Atom feed
* phosphor-debug-collector
@ 2021-06-17 20:01 Mahesh Kurapati
  2021-06-21  7:27 ` phosphor-debug-collector Jayanth Othayoth
  0 siblings, 1 reply; 2+ messages in thread
From: Mahesh Kurapati @ 2021-06-17 20:01 UTC (permalink / raw)
  To: openbmc

[-- Attachment #1: Type: text/plain, Size: 203 bytes --]

Hello,

How to use the services of phosphor-debug-collector? Readme says it can help retrieve the debug data for debugging.  How to collect this data/trigger the log collection?

Thank you,
Mahesh

[-- Attachment #2: Type: text/html, Size: 1815 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: phosphor-debug-collector
  2021-06-17 20:01 phosphor-debug-collector Mahesh Kurapati
@ 2021-06-21  7:27 ` Jayanth Othayoth
  0 siblings, 0 replies; 2+ messages in thread
From: Jayanth Othayoth @ 2021-06-21  7:27 UTC (permalink / raw)
  To: Mahesh Kurapati; +Cc: openbmc

[-- Attachment #1: Type: text/plain, Size: 1402 bytes --]

Design Document link :
https://github.com/openbmc/docs/blob/master/designs/dump-manager.md

BMC Dump Redfish interface details . I will get this updated in Readme .

Create bmc Dump
curl -k -H "X-Auth-Token: $bmc_token" -X POST
https://${BMC_IP}/redfish/v1/Managers/bmc/LogServices/Dump/Actions/LogService.CollectDiagnosticData
-d '{"DiagnosticDataType":"Manager"}'Get BMC dump entries
curl -k -H "X-Auth-Token: $bmc_token" -X GET
https://${BMC_IP}/redfish/v1/Managers/bmc/LogServices/Dump/EntriesDelete
all BMC dumps
curl -k -H "X-Auth-Token: $bmc_token" -X POST
https://${BMC_IP}/redfish/v1/Managers/bmc/LogServices/Dump/Actions/LogService.ClearLogGet
particular BMC dump details
curl -k -H "X-Auth-Token: $bmc_token" -X DELETE
https://${BMC_IP}/redfish/v1/Managers/bmc/LogServices/Dump/Entries/<dump-id>Download
BMC dump
curl -k -H "X-Auth-Token: $bmc_token" -X GET
https://${BMC_IP}/redfish/v1/Managers/bmc/LogServices/Dump/attachment/<dump-id>
 > BMC_dump.tar.gzGet BMC dump Progress
curl -k -H "X-Auth-Token: $bmc_token" -X GET
https://${BMC_IP}/redfish/v1/TaskService/Tasks/<task_ID>


On Fri, Jun 18, 2021 at 1:32 AM Mahesh Kurapati <
mahesh.kurapati@keysight.com> wrote:

> Hello,
>
>
>
> How to use the services of phosphor-debug-collector? Readme says it can
> help retrieve the debug data for debugging.  How to collect this
> data/trigger the log collection?
>
>
>
> Thank you,
> Mahesh
>

[-- Attachment #2: Type: text/html, Size: 3417 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-06-21  7:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-17 20:01 phosphor-debug-collector Mahesh Kurapati
2021-06-21  7:27 ` phosphor-debug-collector Jayanth Othayoth

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.