Manager Redfish DB Reset
Behavior
The RedfishDBReset action in Redfish will clear the Redfish database, repopulate it with default values using db_init and then repopulate data from IPMI to Redfish.
On a successful "RedfishDBReset" action, the db_init will repopulate the default values of several modules like Action-Info, AccountService, TelemetryService, TaskService, EventService, CompositionService etc.
And the properties of modules like VirtualMedia, NetworkProtocol, LDAP, SEL LogServices, SerialInterfaces will be repopulated with the values synced with IPMI.
If Unified User Account is enabled, then the ManagerAccount properties will not be reset to default after they have synced with IPMI.
Request
POST https://{{ip}}/redfish/v1/ Managers/Self/Actions/Oem/AMIManager.RedfishDBReset
Content-Type: application/json
Request example
{
"RedfishDBResetType": "ResetAll"
}
Response
The response of the request will be 202 with below content.
This URI is used for debugging purpose (DEBUG ONLY FEATURE).
System inventories like processor, memory etc. provided by BIOS will be cleared from database and needs host reboot for BIOS to populate data again.
Using TaskId Can check the TaskStatus.
{
"@odata.context": "/redfish/v1/$metadata#Task.Task(TaskState,Description,Name,Id)",
"@odata.id": "/redfish/v1/TaskService/Tasks/1",
"@odata.type": "#Task.v1_4_2.Task",
"Description": "Task for RedfishDBReset Task",
"Id": "1",
"Name": "RedfishDBReset Task",
"TaskState": "New"
}