The following commands factory reset the BMC configuration.
1. Factory Reset Redfish Command
curl -k -u root:"<PASSWORD>" -H "Content-Type: application/json" -X POST https:/<bmc_ip>/redfish/v1/Managers/Bluefield_BMC/Actions/Manager.ResetToDefaults -d '{"ResetToDefaultsType": "ResetAll"}'
Before connecting to the internet, it is important to change the default global password to prevent potential malicious attackers from hacking your system. For information on password policy, refer to section "BMC Management Interface".
After running factory reset, the BIOS configuration attributes list is updated only after rebooting the BlueField as the list gets its values from UEFI as BlueField is booting and Redfish is enabled.
2. Factory Reset IPMI Command
ipmitool raw 0x32 0x66
After issuing the ipmitool raw command for factory reset, you must log into the BMC and reboot it for the factory reset to take effect.
If you have lost your BMC login credentials and cannot login, you may issue the following command from the NVIDIA® BlueField® Arm:
ipmitool mc reset cold
In factory reset the time is also restarting, and time sync to the real time start after some of the services start. Because of that some of the services will show that there active time to be start at 1970.
Before connecting to the internet, it is important to change the default global password to prevent potential malicious attackers from hacking your system. For information on password policy, refer to section "BMC Management Interface".
3. Secure Factory Reset
This feature is considered BETA for 26.04 release.
When the BMC was compromised or is not reachable for any reason, there is an option to ensure a factory reset takes place.
This Feature is relevant for BlueField3 only.
The Secure Factory Reset will:
-
Do regular Factory Reset of the BMC.
-
Clear the Config Partition.
-
Hold the DPU's Arm in reset, until an Arm Hard Reset command is received in the BMC.
Prerequisites
-
Host-BMC which is connected to the CEC over SMBus through GoldenFinger.
-
Implementation of the following VDM command over MCTP stack, on the Host-BMC side:
< Placeholder for Glacier's VDM doc with the command >
-
Initiate the flow by sending the VDM command of 'Secure Factory Reset Request' from the Host-BMC to the CEC.
-
Wait for the BMC to boot, check the status of the Secure Factory Reset from the Host-BMC by polling on the Volatile Data returned from "Secure Factory Reset Query Volatile Data" command.
-
Once the Volatile Data is 0x00, that is the indication that Secure Factory Reset is complete.
-
From Redfish or IPMITool, run the ARM Hard Reset command to bring back the DPU's Arm.
Before connecting to the internet, it is important to change the default global password to prevent potential malicious attackers from hacking your system. For information on password policy, refer to section "BMC Management Interface".
Last updated: