Difference between revisions of "Configuring Power Restore States"

From RCS Wiki
Jump to navigation Jump to search
(Created page with "== 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,...")
 
m
Line 9: Line 9:
 
=== Always turn chassis power on after power application ===
 
=== Always turn chassis power on after power application ===
 
  <nowiki>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</nowiki>
 
  <nowiki>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</nowiki>
 
  
 
=== Restore last chassis power on after power application ===
 
=== Restore last chassis power on after power application ===
 
  <nowiki>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</nowiki>
 
  <nowiki>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</nowiki>

Revision as of 16:37, 3 May 2018

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.

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 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.Restore