<div dir="ltr"><div>Design Document link : <a href="https://github.com/openbmc/docs/blob/master/designs/dump-manager.md">https://github.com/openbmc/docs/blob/master/designs/dump-manager.md</a></div><div><br></div><div>BMC Dump Redfish interface details . I will get this updated in Readme . <br></div><div><pre class="gmail-c-mrkdwn__pre" style="box-sizing:inherit;margin:4px 0px;padding:8px;font-size:12px;line-height:1.50001;font-variant-ligatures:none;white-space:pre-wrap;word-break:normal;font-family:Monaco,Menlo,Consolas,"Courier New",monospace;border-radius:4px;color:rgb(29,28,29);font-style:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:left;text-indent:0px;text-transform:none;word-spacing:0px;text-decoration-style:initial;text-decoration-color:initial">Create bmc Dump<br style="box-sizing:inherit">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"}'<span class="gmail-c-mrkdwn__br" style="box-sizing:inherit;display:block;height:unset"></span>Get BMC dump entries<br style="box-sizing:inherit">curl -k -H "X-Auth-Token: $bmc_token" -X GET https://${BMC_IP}/redfish/v1/Managers/bmc/LogServices/Dump/Entries<span class="gmail-c-mrkdwn__br" style="box-sizing:inherit;display:block;height:unset"></span>Delete all BMC dumps<br style="box-sizing:inherit">curl -k -H "X-Auth-Token: $bmc_token" -X POST https://${BMC_IP}/redfish/v1/Managers/bmc/LogServices/Dump/Actions/LogService.ClearLog<span class="gmail-c-mrkdwn__br" style="box-sizing:inherit;display:block;height:unset"></span>Get particular BMC dump details<br style="box-sizing:inherit">curl -k -H "X-Auth-Token: $bmc_token" -X DELETE https://${BMC_IP}/redfish/v1/Managers/bmc/LogServices/Dump/Entries/<dump-id><span class="gmail-c-mrkdwn__br" style="box-sizing:inherit;display:block;height:unset"></span>Download BMC dump <br style="box-sizing:inherit">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.gz<span class="gmail-c-mrkdwn__br" style="box-sizing:inherit;display:block;height:unset"></span>Get BMC dump Progress<br style="box-sizing:inherit">curl -k -H "X-Auth-Token: $bmc_token" -X GET https://${BMC_IP}/redfish/v1/TaskService/Tasks/<task_ID></pre></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Jun 18, 2021 at 1:32 AM Mahesh Kurapati <<a href="mailto:mahesh.kurapati@keysight.com">mahesh.kurapati@keysight.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">





<div style="overflow-wrap: break-word;" lang="EN-US">
<div class="gmail-m_8907564346643284WordSection1">
<p class="MsoNormal">Hello, <u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">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?
<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Thank you, <br>
Mahesh<u></u><u></u></p>
</div>
</div>

</blockquote></div>