|
Post by Michael Shen on Dec 28, 2021 9:22:34 GMT
Hello, We would like to export the host boot time duration through the BMC's Redfish interface. And we want some suggestions for where is the right place to do that. We found that ` ComputerSystem/BootProgress/LastState` is close to our requirements. however this schema only records the timestamp instead of the duration. Also the classification of the ` state` is quite different from ours. Currently we follow the boot stage classification from ` systemd`, which divided boot state into 5 stages: - firmware
- loader
- kernel
- initRD
- userspace
So we would like to know where is the right place to report the boot time duration with a customized classification? Thanks!
|
|
|
Post by mraineri on Dec 28, 2021 14:13:47 GMT
Typically "LastState" is an indicator left by BIOS/UEFI. At the point of hand off from BIOS/UEFI to the OS, the OS generally does not feed progress information back to a BMC. However, this may evolve in the future; one of our goals would be to create an interoperable list of enums that aren't strictly Linux or Windows focused. At least at this time, you may need to use "OEM" to encode OS progress for your usage (along with the "OemLastState" property).
Adding a "duration" indicator may be something we can address more easily though and we can discuss this more.
|
|
|
Post by Michael Shen on Dec 30, 2021 12:27:53 GMT
Thanks for your reply, I got your point for not having a property that is limited to Linux.
For the "duration" part, I would like to propose 2 new indicators "LastStateDuration" and "OemLastStateDuration" in the "BootProgress" property (under "ComputerSystem" resource). So the "BootProgress" will look like this:
BootProgress { LastState LastStateTime LastStateDuration Oem OemLastState OemLastStateDuration }
Does it make sence to you?
|
|
|
Post by mraineri on Jan 4, 2022 19:49:40 GMT
One thing that comes to mind is some of the OS-related progress and timings might not fit well with the ComputerSystem resource. We have a WIP that has been published to be reviewed by others to begin modeling operating systems, applications, and other software-related items. It may be worth reviewing the material and seeing if ComputerSystem can be kept to report hardware and firmware (BIOS) types of information. Here's a link to the WIP in question: www.dmtf.org/sites/default/files/standards/documents/DSP-IS0022_.0.5WIP.zip
|
|
|
Post by Michael Shen on Jan 11, 2022 3:17:30 GMT
Thanks for the info. I will take a look to the document you attached.
|
|