Skip to main content

Manager Redfish DB Reset

Behavior

  1. 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.

  2. 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.

  3. And the properties of modules like VirtualMedia, NetworkProtocol, LDAP, SEL LogServices, SerialInterfaces will be repopulated with the values synced with IPMI.

  4. 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

  1. The response of the request will be 202 with below content.

  2. This URI is used for debugging purpose (DEBUG ONLY FEATURE).

  3. System inventories like processor, memory etc. provided by BIOS will be cleared from database and needs host reboot for BIOS to populate data again.

  4. 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"
}