This invention relates to a method and apparatus for detecting component removal while operating in a battery backup mode.
Computing systems generate information. It is known in the art to store such information using a data storage system comprising a plurality of data storage media. In such a data storage library, information is stored in arrays of data storage media to provide fault tolerance and improved data access performance.
Data is initially stored in a volatile memory device in a control card. In the event of a power failure, the data encoded in such a volatile memory device could be lost.
Applicants' invention comprises a method to detect component removal while operating in a battery backup mode. The method provides a control card comprising a control card volatile memory device, where that control card is interconnected to a battery backup unit (“BBU”) comprising a processor, event log, a BBU release pin, and one or more batteries. The method further provides power from the battery backup unit to the control card memory device, and measures the current drawn by the control card memory device.
If the current drawn by said control card memory device is less than or equals a pre-determined disconnect current, the method determines if the BBU release pin has been asserted. If the BBU release pin has been asserted, the method encodes in the event log a battery backup removal event. If the BBU release pin has not been asserted, the method encodes in the event log a control card removal event.
The invention will be better understood from reading the following detailed description taken in conjunction with the drawings in which like reference designators are used to designate like elements, and in which:
This invention is described in preferred embodiments in the following description with reference to the Figures, in which like numbers represent the same or similar elements. Reference throughout this specification to “one embodiment,” “an embodiment,” or similar language means that a particular feature, structure, or characteristic described in connection with the embodiment is included in at least one embodiment of the present invention. Thus, appearances of the phrases “in one embodiment,” “in an embodiment,” and similar language throughout this specification may, but do not necessarily, all refer to the same embodiment.
The described features, structures, or characteristics of the invention may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are recited to provide a thorough understanding of embodiments of the invention. One skilled in the relevant art will recognize, however, that the invention may be practiced without one or more of the specific details, or with other methods, components, materials, and so forth. In other instances, well-known structures, materials, or operations are not shown or described in detail to avoid obscuring aspects of the invention.
In the illustrated embodiment of
By “data storage media,” Applicants mean an information storage medium in combination with the hardware, firmware, and/or software, needed to write information to, and read information from, that information storage medium. In certain embodiments, the information storage medium comprises a magnetic information storage medium, such as and without limitation a magnetic disk, magnetic tape, and the like. In certain embodiments, the information storage medium comprises an optical information storage medium, such as and without limitation a CD, DVD (Digital Versatile Disk), HD-DVD (High Definition DVD), BD (Blue-Ray Disk) and the like. In certain embodiments, the information storage medium comprises an electronic information storage medium, such as and without limitation a PROM, EPROM, EEPROM, Flash PROM, compactflash, smartmedia, and the like. In certain embodiments, the information storage medium comprises a holographic information storage medium.
Further in the illustrated embodiment of
In the illustrated embodiment of
In the illustrated embodiment of
In certain embodiments, fabric 110 includes, for example, one or more FC switches 115. In certain embodiments, those one or more switches 115 comprise one or more conventional router switches. In the illustrated embodiment of
In certain embodiments, Applicants' data storage system comprises a battery backup unit (“BBU”) which provides power to Applicants' control card in the event of a power failure. For example and referring now to
Referring now to
Microcode/Firmware/Software 422, nominal power level value 424, fault power level value 425, disconnect power level 426, event log 428, and instructions 429, are encoded in non-volatile memory 420. Current monitor 405 measures the current being drawn in power bus 320, and provides that value to processor 410.
Applicants' invention includes a method to log power events while Applicants' BBU is providing power to Applicants' control card.
Referring to
The disconnect current level is set to a value that indicates that the control card comprising the memory device has been disconnected from the BBU. In certain embodiments, the disconnect current level is set to 0. In certain embodiments, the disconnect current level is set to greater than 0.
In certain embodiments, the current levels of step 510 are determined by the manufacturer of a battery backup unit, such as BBU 310 (FIGS. 2,3). In certain embodiments, the current levels of step 510 are determined by the manufacturer of a control card, such as control card 120 (FIGS. 2,3). In certain embodiments, the current levels of step 510 are determined by the manufacturer of a data storage system comprising a control card and a battery backup unit, such as data storage system 100 (
In step 515, Applicants' method receives an early power off warning (“EPOW”) signal. In certain embodiments, the EPOW signal of step 515 is generated by one or more power supplies, such as power supply 360A and/or power supply 360B, disposed in Applicants' information storage and retrieval system.
In step 520, Applicants' method logs the EPOW signal of step 515. In certain embodiments, step 520 is performed by a processor disposed in a BBU interconnected to the reporting power supply of step 520. In certain embodiments, step 520 comprises logging the date and time the EPOW signal was received. In certain embodiments, step 520 comprises encoding the EPOW signal and the date and time the signal was received in a log, such as log 428, disposed in a BBU.
In step 525, the method provides power from a BBU to a memory device, and monitors the current drawn by that memory device. In certain embodiments, the memory device of step 525 is disposed in a control card. In certain embodiments, a current monitor, such as current monitor 405, disposed in the BBU measures the current drawn by the memory device.
In step 530, the method determines if the current drawn by the memory device is greater than or equal to the nominal current level of step 510. In certain embodiments, step 530 is performed by a processor disposed in the BBU providing the power to the memory device.
If the method determines in step 530 that the current drawn by the memory device is greater than or equal to the nominal current level of step 510, then the method transitions from step 530 to step 535 wherein the method logs a nominal current event. In certain embodiments, step 535 is performed by a processor disposed in the BBU providing the power to the memory device. In certain embodiments, step 535 comprises encoding a measured current level, and a date and time the current was measured, in a log, such as log 428, disposed in a BBU.
The method transitions from step 535 to step 540 wherein the method determines if the current drawn by the memory device changes. In certain embodiments, step 540 is performed by a processor disposed in the BBU providing the power to the memory device.
If no change in the current is detected in step 540, then the method continues to monitor the current drawn from the BBU by the memory device during the power failure event. Alternatively, if the current drawn by the memory device changes, then the method transitions from step 540 to step 530 and continues as described herein.
If the method determines in step 530 that the current drawn by the memory device is not greater than or equal to the nominal current level of step 510, then the method transitions from step 530 to step 545 wherein the method determines if the current drawn by the memory device is greater than or equal to the fault current. In certain embodiments, step 545 is performed by a processor disposed in the BBU providing the power to the memory device.
If the method determines in step 545 that the current drawn by the memory device is greater than or equal to the fault current of step 510, then the method transitions from step 545 to step 550 wherein the method logs a fault current event. In certain embodiments, step 550 is performed by a processor disposed in the BBU providing the power to the memory device. In certain embodiments, step 550 comprises encoding a measured current level, and a date and time the current was measured, in a log, such as log 428, disposed in a BBU. The method transitions from step 550 to step 540 and continues as described herein.
If the method determines in step 545 that the current drawn by the memory device is not greater than or equal to the fault current level of step 510, then the method transitions from step 545 to step 560 wherein the method determines if the current drawn by the memory device is greater than the disconnect current. In certain embodiments, step 560 is performed by a processor disposed in the BBU providing the power to the memory device.
If the method determines in step 560 that the current drawn by the memory device is greater than the disconnect current level of step 510, then the method transitions from step 560 to step 565 wherein the method logs a memory device failure event. In certain embodiments, step 565 is performed by a processor disposed in the BBU providing the power to the memory device. In certain embodiments, step 565 comprises encoding a measured current level, and a date and time the current was measured, in a log, such as log 428, disposed in a BBU. The method transitions from step 565 to step 540 and continues as described herein.
If the method determines in step 560 that the current drawn by the memory device is less than or equals the disconnect current level of step 510, then the method transitions from step 560 to step 570 wherein the method determines if a BBU release pin, such as for example BBU release pine 430, has been asserted. A BBU release pin is automatically asserted when a BBU unit is removed from Applicants' information storage and retrieval system.
If the method determines in step 570 that a BBU release pin disposed a the BBU has been asserted, wherein that BBU was providing power to a memory device during a power failure event, then the method transitions from step 570 to step 575 wherein the method logs a BBU removal event. In certain embodiments, step 575 is performed by a processor disposed in the BBU that was providing power to the memory device. In certain embodiments, step 575 comprises encoding a measured current level, and a date and time the current was measured, in a log, such as log 428, disposed in a BBU. The method transitions from step 575 to step 590 and ends.
If the method determines in step 570 that a BBU release pin disposed a the BBU has not been asserted, wherein that BBU was providing power to a memory device during a power failure event, then the method transitions from step 570 to step 580 wherein the method logs a control card removal event. In certain embodiments, step 580 is performed by a processor disposed in the BBU that was providing power to the memory device. In certain embodiments, step 580 comprises encoding a measured current level, and a date and time the current was measured, in a log, such as log 428, disposed in a BBU. The method transitions from step 580 to step 590 and ends.
In certain embodiments, individual steps recited in
In certain embodiments, Applicants' invention includes instructions, such as instructions 429 (
In other embodiments, Applicants' invention includes instructions residing in any other computer program product, where those instructions are executed by a computer external to, or internal to, Applicants' battery backup unit 310 (
While the preferred embodiments of the present invention have been illustrated in detail, it should be apparent that modifications and adaptations to those embodiments may occur to one skilled in the art without departing from the scope of the present invention as set forth in the following claims.
Number | Name | Date | Kind |
---|---|---|---|
2006018 | Goodall | Jun 1935 | A |
5373478 | Komatsu et al. | Dec 1994 | A |
5589719 | Fiset | Dec 1996 | A |
6079026 | Berglund et al. | Jun 2000 | A |
6385114 | Abe et al. | May 2002 | B1 |
6437574 | Robinson et al. | Aug 2002 | B1 |
6700829 | Abe et al. | Mar 2004 | B2 |
6888267 | Floro et al. | May 2005 | B2 |
6993680 | Fukumori | Jan 2006 | B2 |
7143298 | Wells et al. | Nov 2006 | B2 |
7500115 | Berke et al. | Mar 2009 | B2 |
7523332 | Schumacher et al. | Apr 2009 | B2 |
Number | Date | Country |
---|---|---|
1776567 | May 2006 | CN |
Number | Date | Country | |
---|---|---|---|
20090100282 A1 | Apr 2009 | US |