omconfig: Managing Components Using the Instrumentation Service
97
omconfig system recovery
Use the
omconfig system recovery
command to set the action that is to be taken when the operating
system has hung or crashed. You can also set the number of seconds that must pass before the system is
considered to have a hung operating system. Table 4-28 shows the valid parameters for the command.
NOTE:
Upper and lower limits for the timer are dependent on your system model and configuration.
Example Recovery Commands
To set the action on hung operating system detection to powercycle, type:
omconfig system recovery action=powercycle
To set the amount of time that the system must be hung before a recovery action is initiated to 120
seconds, type:
omconfig system recovery timer=120
omconfig system shutdown
Use the
omconfig system shutdown
command to determine how the system shuts down. During system
shutdown, the default is to shut down the operating system before powering off the system. Shutting down
the operating system first closes down the file system before powering the system down. If you do not
want to shut down the operating system first, you can use the parameter
osfirst=false
. Table 4-29 shows
the valid parameters for the command.
Table 4-28.
Recovery Parameters
name=value pair
Description
action=none
Takes no action when the operating system is hung or has crashed.
action=reboot
Shuts down the operating system and initiates system startup, performing BIOS
checks and reloading the operating system.
action=poweroff
Turns off electrical power to the system.
action=powercycle
Turns off electrical power to the system, pauses, turns the power on, and reboots the
system. Power cycling is useful when you want to reinitialize system components
such as hard drives.
timer=<
n>
Number of seconds that must pass before a system is considered to have a hung
operating system (from 20 seconds to 480 seconds).
Summary of Contents for Command Line Interface
Page 12: ...12 Contents ...
Page 50: ...50 omreport Viewing System Status Using the Instrumentation Service ...
Page 100: ...100 omconfig Managing Components Using the Instrumentation Service ...
Page 118: ...118 omreport rac Viewing Remote Access Controller Components ...
Page 134: ...134 omconfig rac Managing the Remote Access Controller ...
Page 186: ...186 Using the Storage Management Service ...
Page 214: ...214 Glossary ...
Page 226: ...26 Index 226 Index ...