Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Patches for iLO 5 #14

Open
kendallgoto opened this issue Jan 14, 2024 · 2 comments
Open

Patches for iLO 5 #14

kendallgoto opened this issue Jan 14, 2024 · 2 comments

Comments

@kendallgoto
Copy link
Owner

Bringing patches to iLO 5 is important to continue to provide reusable hardware in non-enterprise settings as iLO 5 systems reach the end of their usable life in enterprise and fall into the reuse market.

Here's a summary of what I know:

  • Airbus' lab have done lots of work in the past to open up iLO 5, including many of the same exploits used in iLO 4.
  • Some iLO 5 versions have rollback restrictions that prevent arbitrary firmware from being deployed
  • Reading/writing firmware directly into the iLO 5 EEPROM is relatively easy, ensuring a pathway for testing and recovery efficiently
  • I am not sure if secure boot, etc., is enforced on this chip
  • There seem to be some differences between Gen10 and Gen10v2 with the iLO system, despite using the same iLO5 FW versions.
  • The fan CLI from iLO 4 is not present in the iLO 5 versions I have looked at.
  • iLO 5 systems tend to run substantially quieter than iLO 4 systems, so the need for fan controls is reduced.
@razvanphp
Copy link

razvanphp commented Apr 2, 2024

From Billthe4th user on redit, it seems this is way easier on OEM iLO5:

curl --request PATCH --url 'https://<iLO address>/redfish/v1/Chassis/1/Thermal/' --user '<iLO Username>:<password>' --header 'content-type: application/json' --insecure --data '{"Oem": {"Hpe": {"FanPercentAdjust": 50}}}'

Related to the discussion on #12, wondering if we can backport this into the REST API of iLO4 and make it work on latest firmware as well.

{"Messages":[{"MessageArgs":["Hpe"],"MessageID":"Base.0.10.PropertyUnknown"}],"Type":"ExtendedError.1.0.0","error":{"@Message.ExtendedInfo":[{"MessageArgs":["Hpe"],"MessageID":"Base.0.10.PropertyUnknown"}],"code":"iLO.0.10.ExtendedInfo","message":"See @Message.ExtendedInfo for more information."}}

You can play with it here: https://ilorestfulapiexplorer.ext.hpe.com/

@kendallgoto
Copy link
Owner Author

it's worth investigation, but generally FanPercentAdjust does not allow for very good control of the fans on iLO 5 systems. I run iLO 5 blades and was generally not impressed with the noise reduction from merely this command. It's not terribly loud, and iLO 5 systems are quieter in general, but it isn't free control of your system, which is ultimately the goal. Plus, certain use cases (e.g. using non-supported HPE cards) are not compatible with a mere API-level adjustment.

On iLO4, I think it would be easier to port the fan subsystem or a lightweight fan control than to try to port an API endpoint with unknown intentions. However, from what I can recall, my more recent investigations on iLO4's latest versions suggested that a lot of the code was migrated towards a derivative of the iLO5 code base, or so it seemed. So it may be trivial.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants