Unsolved
1 Rookie
•
5 Posts
0
149
November 5th, 2024 14:56
iDRAC reset to factory defaults
Hello,
I am administrating PowerEdges R740 and R750 servers. I have installed iDRAC 7.x firmware on whole environment.
I would like to build a script which will reset iDRACs to factory defaults. I have found some APIs to do it:
/redfish/v1/Managers/iDRAC.Embedded.1/Actions/Manager.ResetToDefaults
"ResetType@Redfish.AllowableValues": [
"ResetAll",
"PreserveNetworkAndUsers"
]
/redfish/v1/Managers/iDRAC.Embedded.1/Actions/Oem/DellManager.ResetToDefaults
"ResetType@Redfish.AllowableValues": [
"All",
"Default",
"ResetAllWithRootDefaults"
]
What exactly are the differences between those two ResetToDefaults options? And what exactly are the differences between ResetTypes options? Is it somewhere explained in documentation? I cannot test every of them because, I do not have access to physical servers, I am working remotely with them so I need to perform reset but I want to keep only the static IPv4 config. Would be sad if I reset IP config :D
I already did:
POST /redfish/v1/Managers/iDRAC.Embedded.1/Actions/Manager.ResetToDefaults
{
"ResetType":"PreserveNetworkAndUsers"
}
But it keeps users too.
I noticed also that BIOS and storage settings are not reset to defaults. Does any of above options reset also BIOS, storage and users?
Or do I need use separate commands for reset BIOS, storage and users?
Thank you in advance.
DELL-Rey G
3 Apprentice
•
1K Posts
0
November 5th, 2024 22:36
perhaps this will help. from the idrac gui, you get the choices shown below

#Iwork4Dell
(edited)
DELL-Young E
Moderator
•
5.2K Posts
0
November 7th, 2024 07:02
The first set of values is what DMTF defines (https://dell.to/4hR2uNx). The second set is Dell OEM implementation.
Both should work.
Lab tested on iDRAC 7.00.00.00
"Default" and "PreserveNetworkAndUsers" kept users and network settings
"All", "ResetAllWithRootDefaults", "ResetAll" users and network settings lost.
After reset iDRAC iPV4 will be DHCP Enabled, and you can utilize MAC-binding on your DHCP server to avoid connection issues. Alternatively, you can use "How to use the Repurpose or retire system feature of the PowerEdge Lifecycle Controller"
https://dell.to/4hEfd60
DELL-Young E
Moderator
•
5.2K Posts
0
November 8th, 2024 06:52
furthermore, might I add
ResetBios Action
https://dell.to/3YUToYw
DellRaidService ResetConfig Action https://dell.to/4fkWj2y
Dell Technologies Developer
And for your question "I noticed also that BIOS and storage settings are not reset to defaults. Does any of above options reset also BIOS, storage and users?" -> BIOS and RAID will be separate.