Dell Open Server Manager built on OpenBMC™ 3.0.2 User's Guide

PDF

Common System Management Actions

Open Server Manager Redfish APIs supports the following common functions.

Server Power Operations

Table 1. Server Power Operations This action is used to run server power operations.
URI /redfish/v1/Systems/system/Actions/ComputerSystem.Reset
Example curl -X POST -k https://${OSM}/redfish/v1/Systems/system/Actions/ComputerSystem.Reset -H "Content-Type: application/json" -u <OSM username>:<OSM password> -d '{"ResetType": "ForceOn"}'
Allowable Values for ResetType To get current supported values for the OSM version installed, run GET on URI redfish/v1/Systems/system/ResetActionInfo.

Reboot Open Server Manager

Table 2. Reboot Open Server ManagerThis action restarts Open Server Manager.
URI /redfish/v1/Managers/bmc/Actions/Manager.Reset
Example curl -X POST -k https://${OSM}/redfish/v1/Managers/bmc/Actions/Manager.Reset -H "Content-Type: application/json" -u <OSM username>:<OSM password> -d '{"ResetType": "GracefulRestart"}'
Allowable Values for ResetType To get current supported values for the OSM version installed, run GET on URI redfish/v1/Managers/bmc/ResetActionInfo.

Reset Open Server Manager

Table 3. Reset Open Server Manager This action resets Open Server Manager to default settings.
URI /redfish/v1/Managers/bmc/Actions/Manager.ResetToDefaults
Example curl -X POST -k https://${OSM}/redfish/v1/Managers/bmc/Actions/Manager.ResetToDefaults -H "Content-Type: application/json" -u <OSM username>:<OSM password> -d '{"ResetType": "ResetAll"}'
Allowable Values for ResetType To get current supported values for the OSM version installed, run GET on URI redfish/v1/Managers/bmc and view ResetType@Redfish.AllowableValues property.
NOTE:This action resets the root password back to the default value '0penBmc'. You must change the default password before you run any Redfish actions. To change the root default password, see Change Root Default Password curl example.

Change root Default Password

Table 4. Change root Default PasswordThis action changes the root default password.
URI redfish/v1/AccountService/Accounts/root
Example curl -X PATCH -k https://${OSM}/redfish/v1/AccountService/Accounts/root -H "Content-Type: application/json" -u root:0penBmc -d '{"Password": "<new string password>"}'
Allowable Values for ResetType New string password

Reset Chassis

Table 5. Reset Chassis This action will A/C cycle the chassis.
URI /redfish/v1/Chassis/DELL_Baseboard/Actions/Chassis.Reset
Example curl -X POST -k https://${OSM}/redfish/v1/Chassis/DELL_Baseboard/Actions/Chassis.Reset -H "Content-Type: application/json" -u <OSM username>:<OSM password> -d '{"ResetType": "PowerCycle"}'
NOTE:
  • Once you perform the AC Power Cycle on the server, your server might power back on depending on the PowerRestorePolicy property current value. It is recommended to GET or PATCH this property before you AC cycle the server.
Allowable Values for ResetType PowerCycle

Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\