ProLiant Servers (ML,DL,SL)
1825770 Members
2053 Online
109687 Solutions
New Discussion

iLO5 Redfish BootMode Changes

 
SOLVED
Go to solution
redfish_woes
Occasional Collector

iLO5 Redfish BootMode Changes

I am having issues trying to configure the "BootMode" from "UEFI" to "Legacy" using the Redfish API on iLO5. As I read the docs it appears that I need to use something similar to the below to make this happen. 

curl --location --request PATCH 'https://SERVER_NAME_HERE/redfish/v1/systems/1/bios/settings' \
--header 'X-Auth-Token: 7c7663bb1967996f9884dcfc73569d49' \
--header 'Content-Type: application/json' \
--data-raw '{
"BootMode": "LegacyBios"
}'

It seems to successfully apply and I get back the "MessageId": "iLO.2.14.SystemResetRequired". I can verify that the settings are in the pending queue located at

/redfish/v1/systems/1/bios/settings

If I reset the system it continues to boot in UEFI, but if I manually login to the iLO gui and change the boot mode to "Legacy Bios" it works as expected. Is this a different setting that needs to be passed in via API request to perform the same steps to force the permanent boot mode to Legacy instead of UEFI?

Any help or extra information assistance would be extremely helpful.

3 REPLIES 3
redfish_woes
Occasional Collector
Solution

Re: iLO5 Redfish BootMode Changes

I have managed to figure out the issue with the disagreement between the documentation and reality. 

The json data should be this instead of what is suggested by the documentation.

curl --location --request PATCH 'https://SERVER_NAME_HERE/redfish/v1/systems/1/bios/settings' \
--header 'X-Auth-Token: 7c7663bb1967996f9884dcfc73569d49' \
--header 'Content-Type: application/json' \
--data-raw '{"Attributes": {"BootMode": "LegacyBios"}}'

This seems to be not well explained in the official API documentation. Hopefully this will help others who run into this issue.

 

Suman_1978
HPE Pro

Re: iLO5 Redfish BootMode Changes

Hi,

Thankyou for your testing.
It will be helpful for others.

Thankyou



I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
Accept or Kudo
AKhanEric
Regular Visitor

Re: iLO5 Redfish BootMode Changes

Hi @redfish_woes  where this  (--header 'X-Auth-Token: 7c7663bb1967996f9884dcfc73569d49')? --->  -comes from?

Could you guide please guide on the below parameter changes through redfish and what is the equivalent of below in HPE gen 10 servers?

 

| FBO001| Boot mode select | LEGACY
| FBO101| Boot Option #1 | Hard Disk
| FBO102| Boot Option #2 | Network
| FBO103| Boot Option #3 | USB
| FBO104| Boot Option #4 | CD/DVD
| PMS001| SpeedStep (Pstates) | Enable
| PMS002| Turbo Mode | Disable
| PMS003| Hardware P-States | Native Mode
| PMS004| Autonomous Core C-State | Disable
| PMS005| CPU C6 report | Disable
| PMS006| Enhanced Halt State (C1E)| Disable
| PMS007| Package C State | C0/C1 state
| PMS008| Power Performance Tuning| BIOS Controls EPB