Remediating power loss at a server
First Claim
1. A computer system, the computer system comprising:
- one or more processors; and
system memory coupled to the one or more processors, the system memory storing instructions that are executable by the one or more processors,wherein the one or more processors executing the instructions stored in the system memory cause the one or more processors to;
detect a power supply unit (PSU) alert at the computer system from a PSU supplying power to the computer system;
start a timer at a secondary shutdown module of the computer system which has secondary responsibility for gracefully shutting down the computer system, the timer configured to allow time for the secondary shutdown module to gracefully shutdown the computer system prior to depletion of a battery supplying backup power for components of the computer system;
receive an acknowledgment at the secondary shutdown module from a management controller which has primary responsibility for gracefully shutting down the computer system, the acknowledgement indicating that the management controller is gracefully shutting down the computer system based on the detected PSU alert at the computer system; and
in response to receiving the acknowledgement that the management controller is handling the graceful shutdown, abort the timer corresponding to the secondary responsibility to gracefully shut down the computer via the secondary shutdown module.
1 Assignment
0 Petitions
Accused Products
Abstract
Aspects extend to methods, systems, and computer program products for remediating power loss at a server. Aspects of the invention increase the likelihood of gracefully shutting down a server and associated components in a data center when mains power is lost for a specified amount of time (e.g., an amount of time beyond transition to generator power). A server can include a management module (e.g., a BMC) and a watchdog module. When the management controller detects loss of power at a power supply unit, the management controller orchestrates a graceful shutdown of the server in response to power loss. When the management module is unresponsive, the watchdog module provides backup functionality for orchestrating a graceful shutdown in response to power loss. As such, data can be saved from RAM to more durable storage even when the management module is unresponsive.
42 Citations
21 Claims
-
1. A computer system, the computer system comprising:
- one or more processors; and
system memory coupled to the one or more processors, the system memory storing instructions that are executable by the one or more processors, wherein the one or more processors executing the instructions stored in the system memory cause the one or more processors to; detect a power supply unit (PSU) alert at the computer system from a PSU supplying power to the computer system; start a timer at a secondary shutdown module of the computer system which has secondary responsibility for gracefully shutting down the computer system, the timer configured to allow time for the secondary shutdown module to gracefully shutdown the computer system prior to depletion of a battery supplying backup power for components of the computer system; receive an acknowledgment at the secondary shutdown module from a management controller which has primary responsibility for gracefully shutting down the computer system, the acknowledgement indicating that the management controller is gracefully shutting down the computer system based on the detected PSU alert at the computer system; and in response to receiving the acknowledgement that the management controller is handling the graceful shutdown, abort the timer corresponding to the secondary responsibility to gracefully shut down the computer via the secondary shutdown module. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
- one or more processors; and
-
12. A method for use at a computer system, the method comprising:
-
detecting a power supply unit (PSU) alert at the computer system from a PSU supplying power to the computer system; starting a timer at a secondary shutdown module of the computer system which has secondary responsibility for gracefully shutting down the computer system, the timer configured to allow time for the secondary shutdown module to gracefully shut down the computer system prior to depletion of a battery supplying backup power for components of the computer system; sending a notification of the PSU alert to a management controller at the computer system, the management controller having primary responsibility for gracefully shutting down the computer system; determining that the management controller having primary responsibility for gracefully shutting down the computer system has failed to provide a response to the secondary shutdown module within a predetermined period of time based on the timer; and gracefully shutting down the computer system via the secondary shutdown module due to the management controller being unresponsive. - View Dependent Claims (13, 14, 15, 16, 17)
-
-
18. A method for use at a computer system, the method comprising:
-
detecting a power supply unit (PSU) alert at the computer system from a PSU supplying power to the computer system; starting a timer at a secondary shutdown module of the computer system which has secondary responsibility for gracefully shutting down the computer system, the timer configured to allow time for the secondary shutdown module to gracefully shut down the computer system prior to depletion of a battery supplying backup power for components of the computer system; receiving an acknowledgment at the secondary shutdown module from a management controller which has primary responsibility for gracefully shutting down the computer system, the acknowledgement indicating the management controller is gracefully shutting down the computer system based on the detected PSU at the computer system; and in response to receiving the acknowledgement that the management controller is handling the graceful shutdown, aborting the timer corresponding to the secondary responsibility to gracefully shut down the computer via the secondary shutdown module. - View Dependent Claims (19, 20, 21)
-
Specification