|
Post by rpajak on Feb 24, 2017 7:52:34 GMT
Could you add additional value "PowerCycle" to enum #Resource.ResetType?
IPMI Protocol specification defines two reset types: 1) hard reset, which can be mapped to "ForceRestart" ResetType value 2) power cycle , described as "provides a power off interval of at least 1 second following the deassertion of the system’s POWERGOOD status from the main power subsystem", which currently cannot be mapped to any of ResetType values.
|
|
|
Post by jautor on Feb 24, 2017 22:02:46 GMT
rpajak,
We'll take a look at this... I'll want to do some checking to see if we have a 'gap' in the coverage before we add more enumerations.
Jeff
|
|
|
Post by jautor on Jun 7, 2017 5:20:06 GMT
rpajak, Just wanted to report that 'PowerCycle' was added to ResetType as part of the 2017.1 schema release. The updated schema files are available at www.dmtf.org/standards/redfish with the full bundle listed under "DSP8010". Thanks for the feedback, Jeff
|
|
max
Minnow
Posts: 15
|
Post by max on Sept 24, 2017 21:26:01 GMT
What is the difference between "ForceRestart" and "PowerCycle" ?
"ForceRestart" is described in ComputerSystem.v1_4_0.json as "The ForceOff value shall remove power from the system or perform an ACPI Power Button Override (commonly known as a 4-second hold of the Power Button). The ForceRestart value shall perform a ForceOff action followed by a On action." That sounds like a power cycle to me too, and not as the equivalent of pressing the physical reset button.
Note that the way ForceRestart is described in the json implies that the command will also work when the system is powered down, as it will always be turned "on" in the end. If you are mapping it to "reset" in your implementation, will that still be the case? As a physical reset button press will normally do nothing if the system is off.
|
|
|
Post by jautor on Sept 27, 2017 20:35:08 GMT
What is the difference between "ForceRestart" and "PowerCycle" ? "ForceRestart" is described in ComputerSystem.v1_4_0.json as "The ForceOff value shall remove power from the system or perform an ACPI Power Button Override (commonly known as a 4-second hold of the Power Button). The ForceRestart value shall perform a ForceOff action followed by a On action." That sounds like a power cycle to me too, and not as the equivalent of pressing the physical reset button. Max, There's a subtle distinction, and one we probably should add to the descriptions to better explain - along with some guidance of which to use if there's no preference... We added the "PowerCycle" separate from "ForceRestart" because a restart does not require the power to be removed from a device. The reset could be accomplished by a hardware reset signal as opposed to cycling power. This may be exposing more of the implementation details than was necessary... This is a good question and one that I'll take back to the Forum. It would be good to clarify what happens for both of those values if the device is not powered on. Jeff
|
|
max
Minnow
Posts: 15
|
Post by max on Jul 16, 2020 13:31:40 GMT
What is the difference between "ForceRestart" and "PowerCycle" ? "ForceRestart" is described in ComputerSystem.v1_4_0.json as "The ForceOff value shall remove power from the system or perform an ACPI Power Button Override (commonly known as a 4-second hold of the Power Button). The ForceRestart value shall perform a ForceOff action followed by a On action." That sounds like a power cycle to me too, and not as the equivalent of pressing the physical reset button. Max, There's a subtle distinction, and one we probably should add to the descriptions to better explain - along with some guidance of which to use if there's no preference... We added the "PowerCycle" separate from "ForceRestart" because a restart does not require the power to be removed from a device. The reset could be accomplished by a hardware reset signal as opposed to cycling power. This may be exposing more of the implementation details than was necessary... This is a good question and one that I'll take back to the Forum. It would be good to clarify what happens for both of those values if the device is not powered on. At least one vendor seems to deny ForceRestart if their implementation thinks the system is off. It would be nice if ForceRestart would always work (as in require that by specification). (Especially since this particular implementation also sometimes thinks the system is off, when it is NOT. Everytime their Redfish lua implementation crashes and get restarted it seems to assume power is off, instead of querying the running system.)
|
|