Command Line Interface Guide

or
omconfig servermodule events type=fan index=0 severity=critical
As a result of the example command, Server Administrator sends an SNMP trap only when the first fan in the system
chassis (index 0) has reached critical fan RPMs.
Omconfig System Webserver Or Omconfig Servermodule Webserver
Use the omconfig system webserver or omconfig servermodule webserver command to start or stop the Web server.
The following table displays the valid parameters for the command.
Table 48. 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 49. 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
109