Difference between revisions of "Configuring Power Restore States"

From RCS Wiki
Jump to navigation Jump to search
m
m (wikignoming.)
Line 1: Line 1:
 
== Power Restore Configuration ==
 
== Power Restore Configuration ==
  
The BMC control system power state.  As such, the power restore state is configured on the BMC itself.  After gaining SSH access to the BMC, you can configure the system power restore state as follows.
+
The BMC controls the system power state.  As such, the power restore state is configured on the BMC itself.  After gaining SSH access to the BMC, you can configure the system power restore state as follows.
  
 
=== Keep chassis power off after power application ===
 
=== Keep chassis power off after power application ===

Revision as of 02:14, 2 July 2018

Power Restore Configuration

The BMC controls the system power state. As such, the power restore state is configured on the BMC itself. After gaining SSH access to the BMC, you can configure the system power restore state as follows.

Keep chassis power off after power application

busctl set-property xyz.openbmc_project.Settings /xyz/openbmc_project/control/host0/power_restore_policy xyz.openbmc_project.Control.Power.RestorePolicy PowerRestorePolicy s xyz.openbmc_project.Control.Power.RestorePolicy.Policy.AlwaysOff

Always turn chassis power on after power application

busctl set-property xyz.openbmc_project.Settings /xyz/openbmc_project/control/host0/power_restore_policy xyz.openbmc_project.Control.Power.RestorePolicy PowerRestorePolicy s xyz.openbmc_project.Control.Power.RestorePolicy.Policy.AlwaysOn

Restore last chassis power state after power application

busctl set-property xyz.openbmc_project.Settings /xyz/openbmc_project/control/host0/power_restore_policy xyz.openbmc_project.Control.Power.RestorePolicy PowerRestorePolicy s xyz.openbmc_project.Control.Power.RestorePolicy.Policy.Restore