主权项 |
1. A method, comprising:
in response to detecting, by an Input/Output (I/O) enclosure, an inability to read a status of one or more fans within the I/O enclosure, initiating a power down warning and sending an interrupt to a rack power controller that is coupled to a storage controller, wherein the power down warning is an indication that the I/O enclosure will perform a shutdown after a predetermined amount of time; in response to receiving the interrupt, detecting by the rack power controller that the I/O enclosure has initiated the power down warning, and sending a notification to the storage controller; in response to receiving the notification, determining, via the storage controller, a presence of the indication from the I/O enclosure that the I/O enclosure will perform a shutdown after a predetermined amount of time, and determining whether the I/O enclosure provides a last path to data stored in a storage device; in response to determining, by the storage controller, that the I/O enclosure provides the last path to data stored in the storage device, transmitting, by the storage controller, a message to the rack power controller to request the I/O enclosure to abort the shutdown of the I/O enclosure, wherein the rack power controller relays the message to the I/O enclosure to abort the shutdown of the I/O enclosure; and in response to determining, by the storage controller, that the I/O enclosure does not provide the last path to data stored in the storage device, performing a quiescing and fencing of the I/O enclosure to take the I/O enclosure offline, and subsequently requesting a partner I/O enclosure to take over operations of the offlined I/O enclosure to avoid I/O interruption. |