Skip to main content
  1. Home >
  2. Products >
  3. Computing Products >
  4. Servers >
  5. Fujitsu SPARC servers >
  6. Downloads >
  7. User Manuals >
  8. Fujitsu SPARC M12 and Fujitsu M10/SPARC M10 System Operation and Administration Guide >
  9. 7.2.2 Checking Power Operation at Power Recovery/Setting Automatic Power-on

7.2.2 Checking Power Operation at Power Recovery/Setting Automatic Power-on


7.2.2 Checking Power Operation at Power Recovery/Setting Automatic Power-on
This section describes how to check and set whether the following is done automatically at power recovery after a power outage: power-on of physical partitions and startup of Oracle Solaris on logical domains.
Checking power operations at power recovery
Use the showpowerschedule command to check whether a physical partition can be automatically powered on at power recovery. Use the showpparparam command or showpparmode command to check whether Oracle Solaris on a logical domain can be automatically started at power recovery. For any of these commands, an output result that is the default value means that the physical partition is powered on and Oracle Solaris starts on the logical domain at power recovery.
Operation Procedure
  1. Execute the showpowerschedule command, and check the power operations of physical partitions at power recovery.
XSCF> showpowerschedule -a -m state
PPAR-ID schedule member recover mode
------- -------- ------ ------------

0 disable - on

1‍ ‍‍enable 1 auto
  1. If [recover mode] is "on" (default), or if [schedule] is "enable" and [recover mode] is "auto," the physical partition is automatically powered on at power recovery.
  1. [schedule] has the following meanings.
    - disable: Scheduled power operations are disabled. (Default)

    - enable: Scheduled power operations are enabled.
  1. [recover mode] has the following meanings.
    - on: Restore power at power recovery to the same state as before the power outage.

    If the power was on before the power outage, the power will be turned on. (Default)

    - off: Do not turn on the power at power recovery.

    - auto: Turn on the power within the scheduled power operation period at power recovery.
  1. Execute the showpparparam command, and check the auto boot setting of the control domain.
    The following example displays the set value of the OpenBoot PROM environment variable [auto-boot?] for the control domain of PPAR-ID 0.
    The setting is "true" (default), so Oracle Solaris starts automatically at power recovery.
XSCF> showpparparam -p 0 -c auto-boot
auto-boot? :true
  1. Execute the showpparmode command, and check the auto boot setting of the guest domain.
    The following example displays the value of the auto boot setting [Autoboot(Guest Domain)] of the set guest domain for PPAR-ID 0. The setting is "on" (default), so Oracle Solaris automatically starts at power recovery.
XSCF> showpparmode -p 0
Host-ID :9007002b
Diagnostic Level :min
Message Level :normal
Alive Check :on
Watchdog Reaction :reset
Break Signal :on
Autoboot(Guest Domain) :on
Elastic Mode :off
IOreconfigure :false
CPU Mode :auto
PPAR DR(Current) :-
PPAR DR(Next) :off
Setting automatic power-on at power recovery
Use the setpowerschedule command to set the power operation of a physical partition at power recovery. Use the setpparparam or setpparmode command to set auto boot of a logical domain. Setting the power operation of a physical partition enables automatic power-on of the physical partition at power recovery. Enabling the auto boot function of a logical domain enables automatic Oracle Solaris startup at power recovery.
  1. Execute the setpowerschedule command to set the power operations of a physical partition at power recovery.
  1. The two types of settings are as follows.
  1. - To restore power to the same state as before the power outage (Default)
XSCF> setpowerschedule -p ppar_id -c recover=on
  1. - To follow the scheduled power operations at power recovery
  1. Use this when the physical partition power schedule has been set by the addpowerschedule command. At a given time covered by the power schedule, the partition is powered on at power recovery, irrespective of the physical partition power status at the time of the power outage.
XSCF> setpowerschedule -p ppar_id -c control=enable
XSCF> setpowerschedule -p ppar_id -c recover=auto
  1. Execute the setpparparam command to set the OpenBoot PROM environment variable that prevents the control domain from stopping at the ok prompt.
XSCF> setpparparam -p ppar_id -s bootscript "setenv auto-boot? true"
  1. To automatically start the guest domain of a physical partition, execute the setpparmode command.
XSCF> setpparmode -y -p ppar_id -m guestboot=on
To automatically start a domain at power recovery, you need to use the ldm add-spconfig command on the control domain to save the logical domain configuration information after the domain enters the active state. For details, see the Oracle VM Server for SPARC Administration Guide of the version used.
Regardless of the above setting, power-on at power recovery is suppressed when the mode switch is set to "Service."
For details of the setpowerschedule, addpowerschedule, setpparparam, and setpparmode commands, see the man page of each command or the Fujitsu SPARC M12 and Fujitsu M10/SPARC M10 XSCF Reference Manual.