CLI Guide
NOTE: The upper and lower limits for the timer depend on the system model and conguration.
Table 74. Valid Parameters Of Omcong System Recovery Or Omcong 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=powero Turns o electrical power to the system.
action=powercycle Turns o 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
Omcong System Shutdown Or Omcong Servermodule Shutdown
Use the omcong system shutdown or omcong servermodule shutdown command to determine how the system shuts down.
During system shutdown, the default is to shut down the operating system before powering o the system. Shutting down the
operating system rst closes down the le system before powering the system down. If you do not want to shut down the operating
system rst, use the osrst=false parameter.
NOTE: The parameter osrst=false is not available on 13th generation and later systems. By default, on 13th generation
and later systems, the operating system shuts down before turning o the server during a remote shutdown.
The following table displays the valid parameters for the command.
Table 75. 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=powero Turns o the electrical power to the system.
action=powercycle Turns o 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.
osrst=true | false
true: Closes the le system and exits the operating system before turning o the server.
false: Does not close the le system or shuts down the operating system before turning o the server.
NOTE: This command osrst=false is not available on 13G and later systems. By default, on 13G
and later systems, the operating system shuts down before turning o the server during a
remote shutdown.
105