1. Field of the Invention
This invention is related in general to the field of data storage systems. In particular, the invention consists of a system for managing computer support systems.
2. Description of the Prior Art
In
The support systems 18 are hardware devices that provide services other than data storage. Each image 22 typically has access to and can use these devices. Additionally, these support devices 18 may have the ability to generate reports related to events, faults, and failures. Images 22 communicate with support systems 18 through a remote procedure call (“RPC”) adapter 24.
In one configuration, each image 22 would access the support systems 18 through its own RPC adapter 24. However, this approach is extremely expensive due to the cost of redundant hardware. Additionally, each RPC adapter 24 may be dramatically underutilized. Therefore, it is desirable to have a system for establishing communicating with support systems 18 that is efficient and economical.
In U.S. Pat. No. 5,633,999, Clowes et al. disclose workstation-implemented data storage re-routing for server fault-tolerance. Cross-mirroring in a multi-host data storage system provides fault-tolerance without significant redundant hardware and without a single point of failure in the data storage paths. However, Clowes does not describe a system for sharing access to support systems through a set of RPC adapters.
Another approach is to utilize a static multi-tiered architecture that allows one image to own the RPC adapters 24 and require that other images access the support systems 18 indirectly through the owning image. However, a problem occurs if the image 22 tasked with managing the support systems 18 fails, precluding use of the support systems 18 by the other viable images. Accordingly, it is desirable to have a system for establishing ownership over support systems 18 while allowing direct access to the RPC adapters 24 by other images 22.
In a traditional dynamic system, an RPC adapter 24 may be owned by one image at a time, only for as long as the image requires use of the support systems 18. The RPC adapter 24 is then released and made available for use by another image. However, a contention may develop between images 22 seeking concurrent control over the RPC adapter 24. Accordingly, it is desirable to have a system for establishing control of the RPC adapter 24 that prevents contention.
In U.S. Pat. No. 5,553,287, Bailey et al. disclose a computer system for switchably connecting an input/output (“I/O”) device to a host via a channel subsystem in connection with means for dynamically managing I/O connectivity. Bailey's invention includes a centralized control lock associated with hardware resources. However, no resources are provided for identifying which image is responsible for managing each hardware resource. Accordingly, it is desirable to have a master lock that identifies the owning image.
The invention disclosed herein utilizes a master lock register that can be accessed by each virtualized server (“image”) within a computer system. A master lock resides within each target device. When an image is established, it accesses the master lock register to ascertain if a master lock has already been allocated. If not, the image obtains the master lock via one of many means. Obtaining a master lock can be accomplished by writing to a given register, writing a pattern into a memory location on the target device, or through a discrete activity such as holding a given communication line active or grounded. For those implementations using registers or memory, a simple binary obtained pattern can be applied or a master image may write its identification (“ID”) to the master lock register. Multiple requests for the master lock are serialized by the master lock register and only one device can assert its ID.
The use of a master lock allows each of many images to access and use the support system as a target device. While each image in the computer system may access and use the support system, only the master image is responsible for acting as a target to the device, and receiving and driving the reporting and logging for reports related to support system events, faults, and failures. Additionally, only the master image may manage the associated support system. In one implementation, the target device uses a broadcast protocol to send uninitiated messages (“alerts”) to all devices. Images selectively act upon or ignore the alerts based on the image's knowledge of its master/non-master status.
In another implementation, the target device has a unique ID for the master image, and uses that ID to route or address messages so as to only be received by the master image. As for responses to messages initiated by images (“responses”), the device again can use a variety of messaging options. In one implementation, a device can temporarily store a return address of incoming messages and use the return address to intelligently route the response. In yet another implementation, the device can broadcast responses, forcing images to identify their response from all broadcasts. In another implementation, the fabric or network between the image and target device can handle the routing of responses.
A target device can contain registers, memory, sensor states, discrete values, or other dynamic information desired by the images. In one embodiment of the invention, when an image needs access to a support system, the image creates a request message with an embedded identifier. When the RPC adapter receives the request message, the unique identifier is stripped from the request message and placed in a buffer while the request is handled by the target device. When a support system generates a response to the request, the RPC adapter marries the requesting image's identifier to the response. The response message is ignored by all images other than the requesting image. As noted, there are a variety of means of providing responses, depending on the requirements of a given implementation and designer preference.
One advantage of the invention is that every image can independently and directly communicate with a support device without interference or contention from other images. Additionally, an originating image is ensured of receiving its response based on its identification. Yet another advantage is that no image-to-image communication is required. Many tradition device arbitration schemes require images to contend among themselves using various image-to-image communication methods. However, in complex systems this is not preferred because of the overhead or performance loss in doing image-to-image communication or because it is desirable that images be entirely and completely isolated and independent from each other for security and reliability reasons. This invention uniquely allows for multiple images to agree on device ownership without requiring or using an open communication channel between the images.
Various other purposes and advantages of the invention will become clear from its description in the specification that follows and from the novel features particularly pointed out in the appended claims. Therefore, to the accomplishment of the objectives described above, this invention comprises the features hereinafter illustrated in the drawings, fully described in the detailed description of the preferred embodiments and particularly pointed out in the claims. However, such drawings and description disclose just a few of the various ways in which the invention may be practiced.
This invention is based on the idea of using a master lock register, a plurality of adapter access registers, a queue, and a digital processing device to dynamically utilize a communication adapter between a plurality of virtualized servers and one or more support services in a computer system. The invention disclosed herein may be implemented as a method, apparatus or article of manufacture using standard programming or engineering techniques to produce software, firmware, hardware, or any combination thereof. The term “article of manufacture” as used herein refers to code or logic implemented in hardware or computer readable media such as optical storage devices, and volatile or non-volatile memory devices. Such hardware may include, but is not limited to, field programmable gate arrays (“FPGAs”), application-specific integrated circuits (“ASICs”), complex programmable logic devices (“CPLDs”), programmable logic arrays (“PLAs”), microprocessors, or other similar processing devices.
Referring to figures, wherein like parts are designated with the same reference numerals and symbols,
Additionally, the support system 118 includes a master lock register 132, a plurality of adapter access registers 126, a queue 130, and a digital processing device (“processor”) 128 such as a microprocessor, a general purpose central processing unit (“CPU”), or a programmable logic device such as an FPGA, CPLD, PLA, or ASIC. The data processing server 114 includes a communication adapter 123 and the support system 118 includes another communication adapter 124, such as remote procedure call (“RPC”) adapter.
Imposed upon the physical components of the computer storage system 110 is a multitude of virtualized storage servers referred to as images 122. Each image 122 typically resides on two or more clusters. In the event of a cluster failure, however, an image 122 can failover to the remaining clusters.
The support system 118 is a hardware device that provides services other than data storage. In this embodiment of the invention, the support system 118 is a power controller card connected to a power supply 118a, a battery 118b, a fan 118c, or a temperature sensor 118d. Alternatively, a support system may be a stand-alone device such as a power supply with its own master lock register, its own plurality of adapter access registers, its own queue, and its own processor. Each image 122 typically has access to and can use these support devices.
When an image is established, it accesses the master lock register to ascertain if a master lock has already been allocated. If not, the image obtains the master lock via one of many means. Obtaining a master lock can be accomplished by writing to a given register, writing a pattern into a memory location on the target device, or through a discrete activity such as holding a given communication line active or grounded. For those implementations using registers or memory, a simple binary obtained pattern can be applied or a master image may write its identification (“ID”) to the master lock register. Multiple requests for the master lock are serialized by the master lock register and only one device can assert its ID.
The support system 118 sends out reports related to events, faults, and failures, although this is not a requirement for utilization of the invention. An entirely passive device may utilize the invention as the master image that owns the device would simply be the device managing service. Or, the owning device may hold vital product data (“VPD”) for the target device. However, only one image, the master image 122a, may own each support system or device 118, i.e., be responsible for accepting these reports, for responding to the events, faults, and failures, and for managing these support systems. System events generated by support systems 118 are broadcast by the communication adapter 124 to all connected images 122. However, the broadcast system event is ignored by all images other than the master image 122a. As previously noted, this is but one means of notifying the master image of events requiring intervention, logging, service, or reporting.
The process of dynamically allowing adapter utilization by a plurality of images 122 is illustrated in the communication adapter utilization algorithm 200 of
In step 204, the processor 128 places the identification (“ID”) in one of the adapter access registers or buffers 126. Alternatively, the ID may be managed within the communication fabric, the processor, or support system 118. Optionally, in step 206, the request is placed in the queue 130 or is immediately handled by the support device.
In step 208, the support system device 118a generates a response. In step 210, the communication adapter 124 marries the response to the requesting image's ID 126a and broadcasts the resulting response message to all connected images 122. Alternatively, the fabric may include bridges and routers that can route the response message to the originating image. The response message is ignored by all images other than the requesting image.
Those skilled in the art of making computer support systems may develop other embodiments of the present invention. However, the terms and expressions which have been employed in the foregoing specification are used therein as terms of description and not of limitation, and there is no intention in the use of such terms and expressions of excluding equivalents of the features shown and described or portions thereof, it being recognized that the scope of the invention is defined and limited only by the claims which follow.
Number | Name | Date | Kind |
---|---|---|---|
3781855 | Killen | Dec 1973 | A |
5504873 | Martin et al. | Apr 1996 | A |
5633999 | Clowes et al. | May 1997 | A |
5682549 | Tanaka et al. | Oct 1997 | A |
5745747 | Chang et al. | Apr 1998 | A |
5748870 | Tims et al. | May 1998 | A |
6477648 | Schell et al. | Nov 2002 | B1 |
6493824 | Novoa et al. | Dec 2002 | B1 |
6748488 | Byrd et al. | Jun 2004 | B2 |
7239417 | Yoshii et al. | Jul 2007 | B2 |
20020133728 | Agarwal | Sep 2002 | A1 |
20030018974 | Suga | Jan 2003 | A1 |
Number | Date | Country | |
---|---|---|---|
20060117207 A1 | Jun 2006 | US |