User's Manual

omconfig: Managing Components Using the Instrumentation Service 117
omconfig system webserver
Use the omconfig system webserver command to start or stop the Web server. Table 5-26 shows the valid
parameters for the command.
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 5-27 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
Table 5-26. Web Server Configuration Parameters
name=value pair Description
action=start Starts the Web server.
action=stop Stops the Web server.
action=restart Restarts the Web server.
Table 5-27. 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).