ProLiant Servers (ML,DL,SL)
1824169 Members
3303 Online
109669 Solutions
New Discussion

HEP 360 Gen 10 Bios Setting through redfish api

 
AKhanEric
Regular Visitor

HEP 360 Gen 10 Bios Setting through redfish api

Hi All,

 I need help regarding bios changes in the HPE Gen10 server, previously we used to have different vendor servers for that we used redfish API to update bios using the following options now I want to make similar changes in the HP server through redfish but don't know how to use the redfish API command for HP and relate the following changes in the bios as these are from the different 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

 

3 REPLIES 3
Suman_1978
HPE Pro

Re: HEP 360 Gen 10 Bios Setting through redfish api

Hi,

Here are some links to start with.
HPE iLOrest - Overview of the HPE RESTful Interface Tool | HPE Developer Portal
ILO RESTFUL API ECOSYSTEM | HPE
Getting started with iLO RESTful API- Redfish® API Conformance | HPE Developer Portal
Document - HPE ProLiant DL360 Gen10 Plus Server User Guide | HPE Support


Thank You!
I work with HPE but opinions expressed here are mine.
Recent Support Video Releases



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
Kashyap02
HPE Pro

Re: HEP 360 Gen 10 Bios Setting through redfish api

Hi There, 

There are few parameters changed in the HPE ILO 5 Redfish API commands. 

Reference: iLO 5 Redfish API Reference document (hewlettpackard.github.io)
Few of them which are listed below. 

For Changing the BootMode: 

iLOrest > select Bios.v1_0_0
iLOrest > set BootMode=LegacyBios
Added the following patch:
{
"Attributes/BootMode": "LegacyBios"
}

iLOrest > commit
Committing changes...
The operation completed successfully.

BootOrder Change: 

iLOrest > bootorder
bootname is : Boot Order Current Settings

bootname is : Boot Order Pending Settings

bootpath is : /redfish/v1/systems/1/bios/boot/settings/


Current Persistent Boot Order:
1. HD.EmbSATA.14.2 (Windows Boot Manager)
2. Generic.USB.1.1 (Generic USB Boot)
3. HD.SD.1.2 (Internal SD Card 1 : Generic USB3.0-CRW)
4. HD.EmbSATA.14.1 (Embedded SATA Port 14 HDD : MR000480GWFLV )
5. NIC.LOM.1.1.IPv4 (Embedded LOM 1 Port 1 : HPE Ethernet 1Gb 4-port 369i Adapter (PXE IPv4))
6. NIC.LOM.1.1.Httpv6 (Embedded LOM 1 Port 1 : HPE Ethernet 1Gb 4-port 369i Adapter (HTTP(S) IPv6))
7. NIC.LOM.1.1.IPv6 (Embedded LOM 1 Port 1 : HPE Ethernet 1Gb 4-port 369i Adapter (PXE IPv6))
8. NIC.LOM.1.1.Httpv4 (Embedded LOM 1 Port 1 : HPE Ethernet 1Gb 4-port 369i Adapter (HTTP(S) IPv4))
9. App.Emb.1.1 (System Utilities)
10. Unknown.Unknown.200.1 (Assisted_Installation)
11. Unknown.Unknown.200.2 (VMware ESXi)
12. HD.EmbRAID.1.2 (Embedded RAID 1 : HPE Smart Array P408i-a SR Gen10 - Size:447.131 GiB Port:2I Bay:2 Box:2)
13. HD.EmbRAID.1.3 (Embedded RAID 1 : HPE Smart Array P408i-a SR Gen10 - Size:1.746 TiB Port:2I Bay:3 Box:2)
14. HD.EmbRAID.1.4 (Embedded RAID 1 : HPE Smart Array P408i-a SR Gen10 - Size:1.746 TiB Port:2I Bay:4 Box:2)
15. HD.EmbRAID.1.5 (Embedded RAID 1 : HPE Smart Array P408i-a SR Gen10 - 447.1 GiB, RAID0 Logical Drive 1(Target:0, Lun:0))

Continuous and one time boot options:
1. None
2. Cd
3. Hdd
4. Usb
5. SDCard
6. Utilities
7. Diags
8. BiosSetup
9. Pxe
10. UefiShell
11. UefiHttp
12. UefiTarget

iLOrest > bootorder [2,1] --commit
bootname is : Boot Order Current Settings

bootname is : Boot Order Pending Settings

bootpath is : /redfish/v1/systems/1/bios/boot/settings/

Added the following patch:
{
"PersistentBootConfigOrder/1": "move /PersistentBootConfigOrder/0"
}
Committing changes...
The operation completed successfully.

Changing Turbo Mode: 

iLOrest > select Bios.v1_0_0.Bios
iLOrest > get EnergyEfficientTurbo
EnergyEfficientTurbo=Enabled
iLOrest > set EnergyEfficientTurbo=Disabled
Added the following patch:
{
"Attributes/EnergyEfficientTurbo": "Disabled"
}
iLOrest >
iLOrest > get EnergyEfficientTurbo
EnergyEfficientTurbo=Disabled

 

You need to first Install ILORESTful Tool and login to the ILO REST. 

Navigate to RESTFUL API TOOL installation folder on your computer from command prompt, use ilorest command to use the ILOREST. 

Syntax: login -url <ILO IP> -u <ILO UserName> -p <ILO Password>

 

I am a HPE Employee.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]

Accept or Kudo

Joel69
Occasional Advisor

Re: HEP 360 Gen 10 Bios Setting through redfish api

Thanks a lot for the reply. I will try the suggested solution from your link.
MCDVOICE