This invention relates to an apparatus and method to update multiple devices disposed in a computing system.
Computing systems generate information, access information, and store information, using a plurality of hardware components, where each of those hardware components comprise one or more devices. Those devices generally comprise a processor and a firmware image comprising microcode, instructions, and the like. The processor utilizes the firmware image to operate the device.
Every so often it is necessary to update the firmware image disposed in a plurality of target devices disposed in the computing system. Using prior art methods, the computing system operator must update each of the target devices one at a time. Such a firmware update process can be time inefficient.
What is needed is a method wherein a firmware update for a plurality of target devices is encoded to a memory device accessible to each of the target devices. Thereafter, each of the target devices can automatically install that firmware image update synchronously.
Applicants' invention comprises an apparatus and method to synchronously update the firmware image disposed in a plurality of devices disposed in a computing system. In response to a request to perform a firmware image update for a plurality of designated target devices, where each of those designated target devices comprises a first firmware image, and where the request comprises a second firmware image, the method uploads the second firmware image to a memory device, where each of the designated target devices can access that memory device, and broadcasts an update command to each of the plurality of devices. The method determines the device state of each of the designated target devices, and if each of the designated target devices reports either an operational device state or an error device state, then the method reports that the firmware update is complete.
The invention will be better understood from a reading of 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.
Applicants' invention comprises a method to provide a firmware update to multiple devices disposed in a computing system. Applicants' invention is described herein in embodiments wherein a firmware image update is provided to a plurality of devices disposed in one or more hardware components, wherein each of those devices is directly or indirectly in communication with a management module.
In certain embodiments, such hardware components comprise interchangeable modules i.e. blades, removeably disposed in a variety of computer servers sold in commerce by IBM under the trademark BLADECENTER. In certain embodiments, such hardware components further comprise, for example one or more central processing units.
In certain embodiments, such hardware components include, for example and without limitation, one or more data storage devices, such as and without limitation, a magnetic disk storage device comprising the disk in combination with the firmware and hardware to read information from, and write information to, the disk; an optical disk storage device comprising the disk in combination with the firmware and hardware to read information from, and write information to, the disk; an electronic data storage medium; and the like.
Referring now to
In the illustrated embodiment of
Hardware component 130 comprises device 132 which comprises memory 134, wherein firmware image 136 is written to memory 134. Hardware component 140 comprises device 142 which comprises memory 144, wherein firmware image 146 is written to memory 144. Hardware component 150 comprises device 152 which comprises memory 154, wherein firmware image 156 is written to memory 154.
In certain embodiments, one or more of memory 110, 134, 144, and 154, comprise RAM memory. In certain embodiments, one or more of shared memory 110, 134, 144, and 154, comprise one or more magnetic information storage media in combination with the hardware, firmware, and/or software to write information to, and read information from, those one or more magnetic information storage media. In certain embodiments, one or more of shared memory 110, 134, 144, and 154, comprise one or more optical information storage media in combination with the hardware, firmware, and/or software to write information to, and read information from, those one or more optical information storage media. In certain embodiments, one or more of shared memory 110, 134, 144, and 154, comprise one or more electronic information storage media in combination with the hardware, firmware, and/or software to write information to, and read information from, those one or more electronic information storage media. By “electronic information storage media,” Applicants mean, for example and without limitation, one or more devices, such as and without limitation, a PROM, EPROM, EEPROM, Flash PROM, compactflash, smartmedia, and the like.
Referring now to
Slave devices 210 and 220 can access shared memory 110 directly. Slave devices 210 and 220 communicate indirectly with management module 120 (
In certain embodiments, “communicate indirectly” means that master device 132 receives signals from management module directed to slave device 210 and/or slave device 220, and rebroadcasts those signals to slave device 210 and/or slave device 220. Similarly in these embodiments, master device 132 receives signals from slave device 210, and/or slave device 220, directed to management module 120, and rebroadcasts those signals to management module 120.
In the illustrated embodiment of
I/O protocols 236 and 246 may comprise any type of I/O interface, for example, a Fibre Channel, Infiniband, Gigabit Ethernet, Ethernet, TCP/IP, iSCSI, SCSI I/O, and the like. Device 230 comprises memory 232 with firmware image 234 written to memory 232. Device 240 comprises memory 242 with firmware image 244 written to memory 242.
In the illustrated embodiment of
I/O protocols 256 and 266 may comprise any type of I/O interface, for example, a Fibre Channel, Infiniband, Gigabit Ethernet, Ethernet, TCP/IP, iSCSI, SCSI I/O, and the like. Device 250 comprises memory 252 with firmware image 254 written to memory 252. Device 260 comprises memory 262 with firmware image 264 written to memory 262.
In certain embodiments, one or more of memory 212, 222, 232, 242, 252, and 262, comprise RAM memory. In certain embodiments, one or more of memory 212, 222, 232, 242, 252, and 262, comprise one or more magnetic information storage media in combination with the hardware, firmware, and/or software to write information to, and read information from, those one or more magnetic information storage media. In certain embodiments, one or more of memory 212, 222, 232, 242, 252, and 262, comprise one or more optical information storage media in combination with the hardware, firmware, and/or software to write information to, and read information from, those one or more optical information storage media. In certain embodiments, one or more of memory 212, 222, 232, 242, 252, and 262, comprise one or more electronic information storage media in combination with the hardware, firmware, and/or software to write information to, and read information from, those one or more electronic information storage media. By “electronic information storage media,” Applicants mean, for example and without limitation, one or more devices, such as and without limitation, a PROM, EPROM, EEPROM, Flash PROM, compactflash, smartmedia, and the like.
Applicants' invention comprises a method to provide a firmware image update to multiple devices.
In step 310, each device disposed in the computing system of step 305 receives an update command. In certain embodiments, the update command of step 310 is communicated directly or indirectly, to each device by a management module, such as and without limitation management module 120 (
In step 320, each device disposed in the computing system of step 305 determines if the update command of step 310 applies to that device. In certain embodiments, step 320 is performed by a processor disposed in each of the devices disposed in the computing system.
If a device determines in step 320 that the update command of step 310 does not apply, then that device continues to monitor for further update commands. Alternatively, if a device determines in step 320 that the update command of step 310 does apply to that component, then Applicants' method transitions from step 320 to step 330 wherein that device reports a DOWNLOAD device state. In certain embodiments, the reporting of step 330 is communicated, directly or indirectly, to a management module, such as and without limitation Applicants' management module 120 (
Applicants' method transitions from step 330 to step 340 wherein each device reporting a DOWNLOAD device state in step 330 downloads a firmware image update, such as firmware image update 115 (
Each device downloading a firmware image in step 340 reports an INSTALLING device state in step 350. In certain embodiments, each of devices that downloaded a firmware image in step 340 communicates, directly or indirectly, to a management module an INSTALLING device state in step 350. In certain embodiments, the reporting of step 350 is performed by a processor disposed in each of the devices disposed in Applicants' computing system that downloaded a firmware image in step 340.
In step 360, each device that reports an INSTALLING device state in step 350 installs the firmware image update downloaded in step 340. In certain embodiments, step 360 is performed by a processor disposed in each of the devices disposed in Applicants' computing system that downloaded a firmware image update in step 340.
In step 370, each device that installed a firmware image update in step 360 determines if that installation was successful. In certain embodiments, step 370 is performed by a processor disposed in each of the devices disposed in Applicants' computing system that installed a firmware image in step 360.
For each device that determines in step 370 that the installation of step 360 was not successful, Applicants' method transitions from step 370 to step 440 (
In step 390, each device that reported in step 380 a successful firmware image installation receives a reset command. In certain embodiments, the reset command of step 390 is communicated, directly or indirectly, by a management module, such as and without limitation Applicants' management module 120 (
In step 395, each device that that received a reset command in step 390 performs a device reset. In certain embodiments, step 395 is performed by a processor disposed in received a reset command in step 390. In certain embodiments, step 390 comprises rebooting the device. In certain embodiments, step 390 comprises interrupting, and then resuming, the supply of power to the device.
Applicants' method transitions from step 395 to step 410 (
Each device that performed a Power On Self Test (“POST”) in step 410 determines in step 420 if that Power On Self Test reported errors. In certain embodiments, step 420 is performed by a processor disposed in each of the devices disposed in Applicants' computing system, where device performed a Power On Self Test in step 410.
For each device that determines in step 420 that the Power On Self Test of step 410 reported errors, Applicants' method transitions from step 420 to step 440. Alternatively, for each device that determines in step 420 that the Power On Self Test of step 410 did not report errors, Applicants' method transitions from step 420 to step 430 wherein that device reports an OPERATIONAL device state.
In certain embodiments, each of devices that determined in step 420 that the Power On Self Test of step 410 did not report errors, communicates, directly or indirectly, an OPERATIONAL device state to a management module in step 430. In certain embodiments, the reporting of step 430 is performed by a processor disposed in each of the devices disposed in Applicants' computing system that determined in step 420 that the Power On Self Test of step 410 did not report errors. Applicants' method transitions from step 430 to step 310 and continues as described herein.
Each device that determines in step 370 that the installation of step 360 was not successful, and each device that determines in step 420 that the Power On Self Test of step 410 reported errors, in step 440 reports a ROLLBACK device state. In certain embodiments, the reporting of step 440 is communicated, directly or indirectly, to a management module, such as and without limitation Applicants' management module 120 (
In step 450, each device that reported a ROLLBACK device state in step 440 reinstalls the previous firmware image. As an example, if device 132 (
In step 460, each device that reinstalled a previous firmware image in step 450 determines if that reinstallation was successful. In certain embodiments, step 460 is performed by a processor disposed in each of the devices disposed in Applicants' computing system, where that data storage assembly reinstalled a previous firmware For each device that determines in step 460 that the firmware reinstallation of step 450 was successful, Applicants' method transitions from step 460 to step 380 and continues as described herein. Alternatively, for each device that determines in step 460 that the firmware reinstallation of step 450 was not successful, Applicants' method transitions from step 460 to step 470 wherein that device reports an ERROR device state. In certain embodiments, the reporting of step 470 is communicated, directly or indirectly, to a management module, such as and without limitation Applicants' management module 120 (
In step 520, Applicants' method determines if sufficient memory is available to download the firmware image update of step 510. In certain embodiments, step 520 is performed by a management module, such as for example and without limitation If Applicants' method determines in step 520 that insufficient memory is available to receive the firmware image update, then the method continues to monitor the system to locate sufficient memory. Alternatively, if Applicants' method determines that sufficient memory is available, then the method transitions from step 520 to step 530 wherein the method uploads the firmware image update. In certain embodiments, step 530 is performed by a management module, such as for example and without limitation Applicants' management module 120 (
In step 540, Applicants' method broadcasts, directly or indirectly, an update command to all the devices disposed in the computing system of step 510. In certain embodiments, the broadcast of step 540 designates one or more target devices to be updated with the firmware image update. In certain embodiments, the broadcast of step 540 comprises a storage address for, and the size of, the firmware image update. In certain embodiments, step 540 is performed by a management module, such as for example and without limitation Applicants' management module 120 (
In step 550, Applicants' method polls, directly or indirectly, each target device for its device state. In certain embodiments, a device state is selected from the group consisting of OPERATIONAL, DOWNLOAD, INSTALLING, READY_RESET, ROLLBACK, and ERROR. In certain embodiments, step 550 is performed by a management module, such as for example and without limitation Applicants' management module 120 (
In step 560, Applicants' method determines if all the target devices report either a READY_RESET device state or an ERROR device state. In certain embodiments, step 560 is performed by a management module, such as for example and without limitation Applicants' management module 120 (
Alternatively, if Applicants' method determines in step 560 that all the target devices do report either a READY_RESET device state or an ERROR device state, then the method transitions from step 560 to step 570 wherein the method broadcasts, directly or indirectly, a reset command to all the target devices. In certain embodiments, step 570 is performed by a management module, such as for example and without limitation Applicants' management module 120 (
In step 580, Applicants' method polls, directly or indirectly, each of the target devices for a device state. In certain embodiments, step 580 is performed by a management module, such as for example and without limitation Applicants' management module 120 (
In step 590, Applicants' method determines if all the target devices report either a READY_RESET device state or an ERROR device state. In certain embodiments, step 590 is performed by a management module, such as for example and without limitation Applicants' management module 120 (
Alternatively, if Applicants' method determines in step 590 that all the target devices do report either a READY_RESET device state or an ERROR device state, then the method transitions from step 590 to step 595 wherein the method reports that the firmware update is complete. In certain embodiments, step 595 is performed by a management module, such as for example and without limitation Applicants' management module 120 (
In certain embodiments, individual steps recited in
In certain embodiments, Applicants' invention includes instructions residing in memory, such as for example memory 134 (
In certain embodiments, Applicants' invention includes instructions residing in memory, such as for example shared memory 110 (
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, system 100, to perform one or more of steps 305, 310, 320, 330, 340, 350, 360, 370, 380, 390, and/or 395, recited in
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 |
---|---|---|---|
5581712 | Herrman | Dec 1996 | A |
5841991 | Russell | Nov 1998 | A |
5907689 | Tavallaei et al. | May 1999 | A |
5999743 | Horan et al. | Dec 1999 | A |
6205547 | Davis | Mar 2001 | B1 |
6266809 | Craig et al. | Jul 2001 | B1 |
6393586 | Sloan et al. | May 2002 | B1 |
6823463 | Challener et al. | Nov 2004 | B1 |
6944854 | Kehne et al. | Sep 2005 | B2 |
6971002 | Austen et al. | Nov 2005 | B2 |
7089547 | Goodman et al. | Aug 2006 | B2 |
7293169 | Righi et al. | Nov 2007 | B1 |
7421688 | Righi et al. | Sep 2008 | B1 |
7480905 | Nagao | Jan 2009 | B2 |
7865890 | Sumi et al. | Jan 2011 | B2 |
8024724 | Garrison Stuber et al. | Sep 2011 | B2 |
8081596 | Buracchini et al. | Dec 2011 | B1 |
20020046265 | Suzuki | Apr 2002 | A1 |
20020092008 | Kehne et al. | Jul 2002 | A1 |
20030005068 | Nickel et al. | Jan 2003 | A1 |
20030088655 | Leigh et al. | May 2003 | A1 |
20030135683 | Moy | Jul 2003 | A1 |
20030191823 | Bansal et al. | Oct 2003 | A1 |
20030217358 | Thurston et al. | Nov 2003 | A1 |
20040045000 | Hara | Mar 2004 | A1 |
20040093592 | Rao | May 2004 | A1 |
20040230963 | Rothman et al. | Nov 2004 | A1 |
20050071837 | Butt et al. | Mar 2005 | A1 |
20050132351 | Randall et al. | Jun 2005 | A1 |
20050202808 | Fishman et al. | Sep 2005 | A1 |
20050229173 | Mihm et al. | Oct 2005 | A1 |
20060010437 | Marolia | Jan 2006 | A1 |
20060015861 | Takata et al. | Jan 2006 | A1 |
20060053216 | Deokar et al. | Mar 2006 | A1 |
20060095536 | Mathieson et al. | May 2006 | A1 |
20060200813 | Young et al. | Sep 2006 | A1 |
20070169106 | Douglas et al. | Jul 2007 | A1 |
20070234132 | Lee | Oct 2007 | A1 |
20070234332 | Brundridge et al. | Oct 2007 | A1 |
20080005733 | Ramachandran et al. | Jan 2008 | A1 |
20080052702 | Chuang | Feb 2008 | A1 |
20080098160 | Slyz et al. | Apr 2008 | A1 |
20080127165 | Mullis et al. | May 2008 | A1 |
20080141236 | Buckler et al. | Jun 2008 | A1 |
20080155526 | Gokhale | Jun 2008 | A1 |
20100050168 | Sharonov | Feb 2010 | A1 |
20110258296 | Garrison Stuber et al. | Oct 2011 | A1 |
Number | Date | Country | |
---|---|---|---|
20080168434 A1 | Jul 2008 | US |