Configuring Power Restore States

From RCS Wiki
Revision as of 13:37, 2 March 2019 by HLandau (talk | contribs)
Jump to navigation Jump to search

Purpose

This guide explains how to configure RCS OpenPOWER systems to power on immediately when power is applied to a system.

Applicability

All RCS OpenPOWER systems.

Changing power restore settings

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