The present application claims priority from Japanese Patent Application JP 2007-329102 filed on Dec. 20, 2007, the content of which is hereby incorporated by reference into this application.
1. Field of the Invention
The present invention relates generally to a server and the method for recovery from a failure in one of its links (hereinafter referred to “link recovery”), and in particular, to link recovery in a server equipped with a PCI Express interface.
2. Description of the Related Art
As the computer system processes more data and the processor becomes faster, the interface for interconnecting various components in the computer system is required to transfer larger amounts of data at higher speeds.
For some time now, the Peripheral Component Interconnect (PCI) has been used widely as an interface for interconnecting various components in the computer system. In more recent years, the serial PCI Express has been catching broader market attention because it realizes high-speed, large-capacity data transfer at low implementation costs. It is now expected to be used widely in a variety of computer systems, from personal computers (PCs) and small-scale servers for front-end use to mission critical servers for back-end use.
Mission critical servers are required to have high system availability. It is important to minimize the possibility of a system down as well as the system's down time. One of the known methods of achieving high availability in a system equipped with a PCI Express interface has been the reduced lane mode of operation, whereby, in the event of a failure in one of the links in the system, an alternative link is configured using those lanes constituting the failing link which are usable, so that the system is kept operating with reduced lanes.
In such an arrangement, link recovery calls for the recognition of whether any receiver is present on the PCI Express interface. Without this information, it is impossible to tell whether the link is failing even though a receiver is present on the interface or it is failing because no receiver is present on the interface; as a result, it is impossible to properly process link recovery. In addressing this problem, PCI Express employs a mechanism called receiver detection during the link training sequence, as defined in the PCI Express Specifications (refer to the Web link below), to determine the presence or absence of a receiver.
“PCI Express Base Specification 1.1a,” PCI-SIG <URL: http://www.pcisig.com/specifications/pciexpress/base/>
Receiver detection is a mechanism for detecting the presence or absence of a receiver on a link, whereby, after power-on of the system, the transmitter on the PCI Express interface applies a certain level of voltage to the lanes that make up the link and measures the difference in transition time to determine whether a receiver is present on the link. It takes advantage of the fact that the presence of a receiver pulls down the receiver-side of the AC coupling capacitor inserted between the transmitter and the receiver on the physical signal lines of PCI Express, thereby increasing the load capacitance as seen by the transmitter and lengthening the signal transition by as much time as needed to charge the excess capacitance. This means that the signal transition time is long if a receiver is present on the PCI Express interface, and is short otherwise. This difference is used to determine the presence or absence of a receiver on the interface.
As stated above, the PCI Express interface is also expected to apply to large-scale servers that are used in mission critical systems. With servers of a large form factor such as those, implementing a high-speed interface as fast as, for example, 2.5 GHz results in extended wiring lengths, which makes it difficult to keep the signal quality because of the resulting transmission losses. Therefore it becomes necessary to insert, along the PCI Express interface, a redriver such as an equalizer for compensating transmission losses. The problem, however, is that with the receiver detection mechanism, the insertion of the redriver makes it appear as if there were always a receiver present on the interface, rendering it impossible to determine whether or not an I/O extension adapter is mounted.
As a result, when a link failure occurs on a PCI Express interface in a server, one cannot determine whether one should carry out link recovery, and thus cannot realize high system availability.
It is, therefore, the object of the present invention to provide a mechanism to determine whether an I/O extension adapter is mounted in a server equipped with a PCI Express interface, thereby making it possible to carry out link recovery.
The server according to the present invention is preferably configured as a server composed of a server module on which a processor is mounted, an I/O module equipped with an I/O extension slot to accommodate an I/O extension adapter for expanding the server's I/O capability, and a management module that manages at least these modules, so configured that the server module and the I/O extension adapter are interconnected using a PCI Express interface, and the I/O module and the management module are interconnected using a special interface carrying detection information for determining whether an I/O extension adapter is mounted, so that in the event of a link failure on the PCI Express interface, the status of the link is determined by the detection information obtained via the special interface.
Further, the method for carrying out link recovery according to the present invention is preferably a method for carrying out link recovery in a server composed of a server module on which a processor is mounted, an I/O module equipped with an I/O extension slot to accommodate an I/O extension adapter for expanding the server's I/O capability, and a management module that manages at least these modules, which mainly consists of a step of interconnecting the server module and the I/O extension slot using a PCI Express interface, a step of interconnecting the server module and the management module using a special interface which carries detection information for determining whether an I/O extension adapter is mounted, and a step of determining, in the event of a link failure on the PCI Express interface, the status of the link using the detection information obtained via the special interface.
The present invention makes it possible, in a server equipped with a PCI Express interface, to determine whether an I/O extension adapter is mounted, by means of a special interface incorporated separately from the PCI Express interface. Thus, in the event of a link failure on the PCI Express interface, the present invention makes it possible to properly carry out link recovery using the detection information indicating whether an I/O extension adapter is mounted, thereby realizing high system availability in a server equipped with a PCI Express interface.
Referring now to the drawings, a preferred embodiment is described herein.
As illustrated in
The server module 1 is composed of a processor (CPU) 5, a memory unit 6, and a management unit 8, which are all interconnected using a chipset 7 (namely a logic circuit). The chipset 7 is connected using a PCI Express interface 14, which goes through the backplane 4, to the I/O extension adapter 10 through the I/O extension slot 11 in which it is mounted on the I/O module 2.
The chipset 7 is also connected to a management unit 18 on the I/O module 2 using an I/O adapter reset control line 15. The management unit 8 is connected to the management module 3 using a management LAN 17. Further, the I/O extension slot 11 is connected to the management module 3 using a presence signal line 16 indicating whether an I/O extension adapter is mounted. The backplane 4 accommodates various signal lines that interconnect various modules.
The presence signal line 16 is an interface provided separately from the PCI Express interface 14 and carries detection information that indicates whether an I/O extension adapter 10 is mounted in the I/O extension slot 11.
Further, a redriver 9 is inserted into the PCI Express interface 14 to compensate the transmission loss on it.
The management unit 8 in the server module 1 performs power control of the server module 1 and also reset control of devices mounted on it such as the processor 5 and the memory unit 6. When a link failure is detected on the PCI Express interface 14, the management unit 8 either performs power on/off control of the server module 1 or transmits a signal (reset-request signal), using the I/O extension adapter reset control line 15 via the chipset 7, to the management unit 18 in the I/O module 2, requesting it to reset the I/O extension adapter 10.
The I/O module 2, which is connected to the PCI Express interface 14 on the backplane 4, is equipped with the I/O extension slot 11 into which the I/O extension adapter 10 can be mounted. The I/O module 2 includes a management unit 18, which receives a reset request signal for the I/O extension adapter 10 from the management unit 8 in the server module 1, and resets the I/O extension adapter 10.
The management module 3 receives, with the help of a service processor 12 contained in it, the detection information indicating whether an I/O extension adapter 10 is mounted in the I/O extension slot 11, through the presence signal line 16. The information thus obtained on whether an I/O extension adapter 10 is mounted is stored into a configuration file 131 provided in a storage 13 as the configuration information concerning the I/O extension slot 11. The configuration information concerning the I/O extension slot 11, including whether an I/O extension adapter is mounted, is transmitted to the management unit 8 via the management LAN 17.
As shown in
The example shown in
The backplane 4 is a circuit board for accommodating various interface cables that interconnect various modules. While FIG. 1 shows only one unit each of the server module 1, the I/O module 2 and the I/O extension slot 11, it is possible to install any number of units for each of the server module 1, the I/O module 2 and the I/O extension slot 11 in any positions by changing the wiring of these cables on the backplane 4.
Next, with reference to
When the I/O extension adapter 10 is mounted in the I/O extension slot 11, the service processor 12 in the management module 3 obtains detection information concerning the I/O extension adapter 10 on the I/O extension slot 11 via the presence signal line 16 and saves it in the configuration file 131 as the configuration information concerning the I/O extension slot 11 (S21).
Upon saving the configuration information concerning the I/O extension slot 11 in the configuration file 131, the service processor 12 transmits it to the management unit 8 via the management LAN 17 (S22).
Upon the system's power-on (S24), the management unit 8 starts initializing the PCI Express interface 14 connected to the I/O extension slot 11 (S25) and compares the status of links established on the PCI Express interface 14 with the configuration information concerning the I/O extension slot 11 received from management module 3 (S26).
If the result of the comparison indicates that even though the I/O extension adapter 10 is mounted no link has been established, the management unit 8 recognizes this fact as a link failure on the PCI Express interface 14 (S27). It then checks the number of actual retries attempted and, if it is less than a predetermined number K (retry count, i.e., the maximum number of retries allowed), powers the server module 1 off (S30) and then on again (S24).
By powering the server module 1 off and then on again, the management module 8 initializes the PCI Express interface 14 again, thereby attempting to recover the PCI Express interface 14 from the link failure.
If the result of the comparison indicates that the status of links matches the configuration information concerning the I/O extension slot 11, the management unit 8 determines that a link has indeed been established on the PCI Express interface 14 and terminates the initialization process (S28).
On the other hand, if the status of links does not match the configuration information concerning the I/O extension slot 11, indicating that a link has not been established, the management module 8 carries out the link recovery process up to K times (S32); if the attempt to establish a link has failed K consecutive times including the first system power-on, the management module 8 issues an alarm indicating that the link failure remains unresolved (S33).
This invention may be practiced or embodied in various ways other than described above, without departing from the spirit or essential character thereof. For example,
Number | Date | Country | Kind |
---|---|---|---|
2007-329102 | Dec 2007 | JP | national |