User's Manual

omconfig: Managing Components Using the Instrumentation Service 143
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 amount of time that the system must be hung before a recovery
action is initiated to 120 seconds, type:
omconfig system recovery timer=120
or
omconfig servermodule recovery timer=120
omconfig system shutdown/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 system before powering the system down. If you do not want to shut
down the operating system first, use the osfirst=false parameter. Table 4-31
shows the valid parameters for the command.
NOTE: Due to the limitations of certain operating systems (for example, VMware
®
ESXi), certain features may not be available with this release of OpenManage
Server Administrator.
Table 4-31. Shutdown Parameters
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 the
power on, and reboots the system. Power cycling is useful when
you want to
re-initialize system components such as hard drives.
osfirst=true | false true: Closes the file system and exits the operating system
before shutting down the system.
false: Does not close the file system or shut down the operating
system before shutting down the system.