Go to main content

SPARC M8 and SPARC M7 Servers Administration Guide

Exit Print View

Updated: September 2017
 
 

Restore the Host State at Restart

Use the /SP/policy HOST_LAST_POWER_STATE property to control the behavior of the host after an unexpected power outage. When external power is restored, the Oracle ILOM SP starts to run automatically. Normally, the host power is not turned on until you use Oracle ILOM to turn it on.

Oracle ILOM records the current power state of the server in nonvolatile memory. If the HOST_LAST_POWER_STATE property is enabled, Oracle ILOM can restore the host to the previous power state. This policy is useful in the event of a power failure, or if you physically move the server to a different location.


Note -  The HOST_AUTO_POWER_ON property and the HOST_LAST_POWER_STATE property are mutually exclusive. You cannot enable them at the same time.

This table explains how the HOST_AUTO_POWER_ON property and the HOST_LAST_POWER_STATE property affect the host power state.

HOST_AUTO_POWER_ON
HOST_LAST_POWER_STATE
Host Power State Behavior
Enabled
Disabled
Powers on.
Disabled
Enabled
Restores host to the previous power state.
Disabled
Disabled
Remains off.

You must have the admin role (a) to complete this task.

  1. Log in to Oracle ILOM.

    See Log In to Oracle ILOM (CLI).

  2. Type:
    -> set /SP/policy HOST_LAST_POWER_STATE=value

    where value can be:

    • enabled – When power is restored, returns the host to the state it was in before the power was removed.

    • disabled – (Default) Keeps the host off when power is applied.

Related Information