CLI Guide

Table Of Contents
NOTE: The upper and lower limits for the timer depend on the system model and configuration.
Table 75. Valid Parameters Of Omconfig System Recovery Or Omconfig Servermodule Recovery
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 on the power, 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 the system is considered to have a hung operating
system (from 20 seconds to 480 seconds).
Example Recovery Commands
To set the action on hung operating system detection to powercycle, type:
omconfig system recovery action=powercycle
or
omconfig servermodule recovery action=powercycle
To set the system to hang for 120 seconds, before a recovery action is initiated, type:
omconfig system recovery timer=120
or
omconfig servermodule recovery timer=120
Omconfig System Shutdown Or Omconfig Servermodule Shutdown
Use the omconfig system shutdown or omconfig servermodule 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, use the osfirst=false parameter.
NOTE:
The parameter osfirst=false is not available on YX3X generation and later systems. By default, on YX3X
generation and later systems, the operating system shuts down before turning off the server during a remote shutdown.
The following table displays the valid parameters for the command.
Table 76. Valid Parameters Of System Shutdown
name=value pair Description
action=reboot Shuts down the operating system and initiates system startup, performing BIOS checks and reloading
the operating system.
action=poweroff Turns off the electrical power to the system.
action=powercycle Turns off the electrical power to the system, pauses, turns on the power, and reboots the system.
Power cycling is useful when you want to reinitialize system components such as hard drives.
osfirst=true | false
true: Closes the file system and exits the operating system before turning off the server.
false: Does not close the file system or shuts down the operating system before turning off the
server.
114 Omconfig Managing Components Using The Instrumentation Service