3.1.1
auto_action
The auto_action environment variable specifies the action the console takes any time
the system powers up, fails, or resets. The value of auto_action takes effect only after
you reset the system by pressing the Reset button (if configured), issuing the reset
command from the Remote Management Console (RMC), or issuing the init command
from the SRM.
The default setting for
auto_action
is
halt
. With this setting, the system stops in the SRM
console after being initialized. To cause the operating system to boot automatically after
initialization, set the
auto_action
environment variable to
boot
or
restart
.
•
When
auto_action
is set to
boot,
the system boots from the default boot device
specified by the value of the
bootdef_dev
environment variable.
•
When
auto_action
is set to
restart
, the system boots from whatever device it booted
from before the shutdown/reset or failure.
NOTE:
After you set the
auto_action
environment variable, it is recommended that you
set the boot device and operating system flags as well, using the
set bootdef_dev
and
set boot_osflags
commands.
The syntax is:
set auto_action
value
The options for value are:
halt
The system remains in console mode after power-up or a system crash.
boot
The operating system boots automatically after either the SRM
init
command
is issued, the Reset button is pressed (if configured), or the
reset
command is
issued from the RMC.
restart
Restarts the operating system and tries to begin where it left off. If that fails,
then it will reboot the operating system.
The operating system boots automatically after either the SRM
init
command
is issued, the Reset button is pressed (if configured), or the
reset
command is
issued from the RMC. It also reboots after an operating system crash.
Booting and Installing an Operating System
3-3