Querying and Setting the Server Power-Off Timeout Period (shutdowntimeout)
Function
The shutdowntimeout command is used to query and set the power-off timeout period for the server.
After a power-off operation is performed, the iBMC waits for the OS to shut down. If the OS fails to shut down within the specified time, the iBMC will forcibly power off the server.
Format
ipmcget [-t fru0] -d shutdowntimeout
ipmcset [-t fru0] -d shutdowntimeout -v <time>
Parameters
Parameter |
Description |
Value |
---|---|---|
time |
Specifies the maximum time (in seconds) for shutting down the OS. |
Value range: 0, 10 to 6000 The value 0 indicates that the shutdown timeout is disabled. |
Usage Guidelines
- If Power-off Timeout is set to
on the iBMC WebUI, you can use this command to disable shutdown timeout or set the shutdown timeout period as required.
- If Power-off Timeout is set to
on the iBMC WebUI, you can use this command to set the shutdown timeout period. After the setting, Power-off Timeout changes to
on the iBMC WebUI.
Example
# Set the shutdown timeout period to 600 seconds for the server.
iBMC:/->ipmcset -d shutdowntimeout -v 600
Set shutdown timeout successfully.
# Query the shutdown timeout period.
iBMC:/->ipmcget -d shutdowntimeout
Graceful shutdown timeout state: enabled
Graceful shutdown timeout value: 600 s
# Query the shutdown timeout period (Power-off Timeout is not selected on the iBMC WebUI).
iBMC:/->ipmcget -d shutdowntimeout
Graceful shutdown timeout state: disabled
# Disable shutdown timeout for the server.
iBMC:/->ipmcset -d shutdowntimeout -v 0
Set shutdown timeout successfully.