Command Line Interface Guide

Table 46. Valid Parameters Of Web Server Configuration
name=value pair Description
action=start Starts the Web server.
action=stop Stops the Web server.
action=restart Restarts the Web server.
Omconfig System Recovery Or Omconfig Servermodule Recovery
Use the omconfig system recovery or omconfig servermodule recovery command to set the action when
the operating system hangs or crashes. You can also set the number of seconds that must pass before
the system is considered to have a hung operating system. The following table lists the valid parameters
for the command
NOTE: The upper and lower limits for the timer are dependent on the system model and
configuration.
Table 47. 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 the power on, and reboots
the system. Power cycling is useful when you want to re-initialize 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 the
way in which 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
113