IP Library Granted Patent US 9,569,376
Granted Patent B1
US 9,569,376 · App. 14/947,864 · Granted Feb 14, 2017

Method, system, and computer program product for managing shutdown and substitution of I/O enclosures

View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 9,569,376
App. No.
14/947,864
Granted
Feb 14, 2017
Kind
B1
Abstract

A storage controller determines a presence of an indication from an Input/Output (I/O) enclosure that the I/O enclosure will perform a shutdown after a predetermined amount of time. The storage controller determines whether the I/O enclosure provides a last path to data stored in a storage device. A request is transmitted to the I/O enclosure to perform either an orderly shutdown or abort the shutdown, based on the whether the I/O enclosure provides the last path to the data stored in the storage device.

Claims (61)

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.

2. The method of claim 1 , wherein the performing of the quiescing and fencing of the I/O enclosure to take the I/O enclosure offline, and subsequently requesting the partner I/O enclosure to take over operations of the offlined I/O enclosure to avoid I/O interruption comprises:

quiescing all I/O adapters of the I/O enclosure;

quiescing the I/O enclosure, in response to completion of quiescing of all of the I/O adapters of the I/O enclosure;

fencing the I/O enclosure and resources of all the I/O adapters, in response to completion of the quiescing of the I/O enclosure;

sending the I/O enclosure to an offline state by powering off the I/O enclosure, in response to quiescing the I/O enclosure; and

requesting the partner I/O enclosure to take over functions of the I/O enclosure in response to the I/O enclosure entering the offline state.

3. The method of claim 1 , wherein the I/O enclosure is a first I/O enclosure, wherein the partner I/O enclosure is a second I/O enclosure that is configurable to substitute the first I/O enclosure, and wherein the second I/O enclosure may or may not be operational.

4. The method of claim 1 , wherein if the I/O enclosure provides the last path to the data stored in the storage controller then in response to the shutdown of the I/O enclosure, a host is unable to access the data, and wherein if the I/O enclosure does not provide the last path to the data stored in the storage controller then in response to the shutdown of the I/O enclosure, the host is able to access the data via the partner I/O enclosure.

5. A system, comprising:

a memory; and

a processor coupled to the memory, wherein the processor performs operations, the operations 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.

6. The system of claim 5 , wherein the performing of the quiescing and fencing of the I/O enclosure to take the I/O enclosure offline, and subsequently requesting the partner I/O enclosure to take over operations of the offlined I/O enclosure to avoid I/O interruption comprises:

quiescing all I/O adapters of the I/O enclosure;

quiescing the I/O enclosure, in response to completion of quiescing of all of the I/O adapters of the I/O enclosure;

fencing the I/O enclosure and resources of all the I/O adapters, in response to completion of the quiescing of the I/O enclosure;

sending the I/O enclosure to an offline state by powering off the I/O enclosure, in response to quiescing the I/O enclosure; and

requesting the partner I/O enclosure to take over functions of the I/O enclosure in response to the I/O enclosure entering the offline state.

7. The system of claim 5 , wherein the I/O enclosure is a first I/O enclosure, wherein the partner I/O enclosure is a second I/O enclosure that is configurable to substitute the first I/O enclosure, and wherein the second I/O enclosure may or may not be operational.

8. The system of claim 5 , wherein if the I/O enclosure provides the last path to the data stored in a storage controller then in response to the shutdown of the I/O enclosure, a host is unable to access the data, and wherein if the I/O enclosure does not provide the last path to the data stored in the storage controller then in response to the shutdown of the I/O enclosure, the host is able to access the data via the partner I/O enclosure.

9. A computer program product, the computer program product comprising:

a computer readable storage medium having computer readable program code embodied therewith, the computer readable program code configured to perform operations, the operations 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.

10. The computer program product of claim 9 ,

wherein the performing of the quiescing and fencing of the I/O enclosure to take the I/O enclosure offline, and subsequently requesting the partner I/O enclosure to take over operations of the offlined I/O enclosure to avoid I/O interruption comprises:

in response to determining that the I/O enclosure does not provide the last path to data stored in the storage device, performing:

quiescing all I/O adapters of the I/O enclosure;

quiescing the I/O enclosure, in response to completion of quiescing of all of the I/O adapters of the I/O enclosure;

fencing the I/O enclosure and resources of all the I/O adapters, in response to completion of the quiescing of the I/O enclosure;

sending the I/O enclosure to an offline state by powering off the I/O enclosure, in response to quiescing the I/O enclosure; and

requesting the partner I/O enclosure to take over functions of the I/O enclosure in response to the I/O enclosure entering the offline state.

11. The computer program product of claim 9 , wherein the I/O enclosure is a first I/O enclosure, wherein the partner I/O enclosure is a second I/O enclosure that is configurable to substitute the first I/O enclosure, and wherein the second I/O enclosure may or may not be operational, wherein if the first I/O enclosure provides the last path to the data stored in the storage controller then in response to the shutdown of the first I/O enclosure, a host is unable to access the data, and wherein if the first I/O enclosure does not provide the last path to the data stored in the storage controller then in response to the shutdown of the first I/O enclosure, the host is able to access the data via a second I/O enclosure.

12. The method of claim 1 , wherein:

the one or more fans are not monitored by the storage controller but are monitored by the I/O enclosure; and

the rack power controller is configurable to communicate with the I/O enclosure that is offlined and the partner I/O enclosure, wherein the I/O enclosure that is offlined and the partner I/O enclosure are included in a rack.

13. The method of claim 12 , wherein the I/O enclosure also initiates a power down warning and sends an interrupt to the rack power controller that is coupled the storage controller, in response to a detection made via tachometer readings of the one or more fans that the one or more fans are not operating properly.

14. The method of claim 13 , wherein locking of bus lines that the I/O enclosure uses to receive data from the one or more fans causes the inability to read the status of the one or more fans within the I/O enclosure.

15. The system of claim 5 , wherein:

the one or more fans are not monitored by the storage controller but are monitored by the I/O enclosure; and

the rack power controller is configurable to communicate with the I/O enclosure that is offlined and the partner I/O enclosure, wherein the I/O enclosure that is offlined and the partner I/O enclosure are included in a rack.

16. The system of claim 15 , wherein the I/O enclosure also initiates a power down warning and sends an interrupt to the rack power controller that is coupled the storage controller, in response to a detection made via tachometer readings of the one or more fans that the one or more fans are not operating properly.

17. The system of claim 16 , wherein locking of bus lines that the I/O enclosure uses to receive data from the one or more fans causes the inability to read the status of the one or more fans within the I/O enclosure.

18. The computer program product of claim 9 , wherein:

the one or more fans are not monitored by the storage controller but are monitored by the I/O enclosure; and

the rack power controller is configurable to communicate with the I/O enclosure that is offlined and the partner I/O enclosure, wherein the I/O enclosure that is offlined and the partner I/O enclosure are included in a rack.

19. The computer program product of claim 18 , wherein the I/O enclosure also initiates a power down warning and sends an interrupt to the rack power controller that is coupled the storage controller, in response to a detection made via tachometer readings of the one or more fans that the one or more fans are not operating properly.

20. The computer program product of claim 19 , wherein locking of bus lines that the I/O enclosure uses to receive data from the one or more fans causes the inability to read the status of the one or more fans within the I/O enclosure.

Assignments (2)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jan 15, 2021
From: INTERNATIONAL BUSINESS MACHINES CORPORATION
To: AIRBNB, INC.
Reel/Frame 056427/0193 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Nov 24, 2015
From: BATCHELOR, GARY W.; CARSON, MATTHEW D.; GARCIA, ENRIQUE Q.; JUAREZ, LARRY; KIRCH, JAY T.; RINALDI, BRIAN A.; SORENSON, TODD C.
To: INTERNATIONAL BUSINESS MACHINES CORPORATION
Reel/Frame 037127/0342 →