The data transmission method of blade server
Technical field
The present invention relates to blade server field, particularly relate to a kind of data transmission method of blade server.
Background technology
At present, blade server system is as the nova in server, answer network to develop in depth and breadth, the demand of user's cluster management and constantly expansion and being born, be a kind of low cost server platform of High Availabitity high density (HAHD, HighAvailabilityHighDensity).The clear superiorities such as the high bulk density that blade server system has, Optimization deployment, convenient management, resource-sharing, high performance-price ratio, have become the Main way of server development.
Blade server is as a kind of computer system, its data are transmitted by bus, can the stability of bus determine whole blade server and normally run, and the type of bus has important impact for the diversity of transmitted data, therefore, suitable bus transmission model is selected to play vital effect for the development of blade server.
Be provide a kind of Multi-bus computer system in the Chinese patent of ZL200920025051.4 in the patent No., mainly comprise passive backplane, mainboard or mainboard module, power supply and I/O interface bus, wherein, be also provided with a kind of bus in cpci bus and pci bus, isa bus, PC/104Plus bus and PC/104 bus four kinds of buses in system simultaneously; Or the three kinds or more in cpci bus, pci bus, isa bus, PC/104Plus bus and PC/104 bus five kinds of buses.
Above computer system by introducing multibus, and makes the different data bus be applicable to transmit, and enhances the autgmentability of system.
But, above-mentioned Multi-bus computer system only instead of unified bus with multibus, by the data that dissimilar bus transfer is dissimilar, not do not solve after a bus breaks down, how to ensure the transmission of data and make the problem of the trouble-free operation of system.
Summary of the invention
For prior art not for after breaking down when a bus, how to ensure the transmission of data and make system trouble-free operation, the present invention proposes a kind of data transmission method of blade server, solve how after breaking down when a bus, can transfer of data be ensured and make the technical problem of system trouble-free operation.
According to the data transmission method of a kind of blade server of the present invention, comprising: the operational module in blade server is connected with the second administration module with the first administration module with the second bus respectively by the first bus; In blade server, operational module and the first administration module carry out transfer of data by the first bus; First administration module transmits monitor signal to the second administration module; And when the second module does not receive monitor signal, the first administration module switches to the second administration module, carry out transfer of data to make the operational module in blade server and the second administration module by the second bus.
Preferably, the first administration module is realized to the second administration module transmission monitor signal by one of network interface and serial line interface or both.
Preferably, when the first administration module transmits monitor signal by network interface and serial line interface to the second administration module, when the second module does not all receive monitor signal by network interface and serial line interface, the first administration module switches to the second administration module.
Preferably, operational module comprises power supply, fan, Switching Module, calculating blade, memory module.
Preferably, the first bus is I
2c bus, the second bus is Ethernet or I
2c bus.
Preferably, the first bus is Ethernet, and the second bus is I
2c bus.
Preferably, the first bus is connected with GPIO interface respectively with the second bus.
Preferably, the data transmission method of blade server of the present invention also comprises: after switching to Ethernet, and administration module initiatively sets the IP address of the module be connected with Ethernet, and IP address is sent to operational module by Ethernet.
Preferably, the data transmission method of blade server of the present invention also comprises: after switching to Ethernet, and the data with mark are transferred to operational module by administration module.
Preferably, VLAN mark 4095 is designated.
By the data transmission method of a kind of blade server of the present invention, can work as after a bus breaks down, ensure the transmission of data and make the trouble-free operation of system, enhancing the stability of system.
Other features and advantages of the present invention will be set forth in the following description, and, partly become apparent from specification, or understand by implementing the present invention.Object of the present invention and other advantages realize by structure specifically noted in write specification, claims and accompanying drawing and obtain.
Accompanying drawing explanation
Accompanying drawing is used to provide a further understanding of the present invention, and forms a part for specification, together with embodiments of the present invention for explaining the present invention, is not construed as limiting the invention.In the accompanying drawings:
Fig. 1 is the overview flow chart of the data transmission method of blade server according to the embodiment of the present invention;
Fig. 2 is the flow chart of the data transmission method of blade server according to an embodiment of the invention;
Fig. 3 is the flow chart of the data transmission method of blade server according to another embodiment of the present invention;
Fig. 4 is the flow chart of the data transmission method of blade server according to further embodiment of this invention.
Embodiment
Below in conjunction with accompanying drawing, the preferred embodiments of the present invention are described, should be appreciated that preferred embodiment described herein is only for instruction and explanation of the present invention, is not intended to limit the present invention.
Fig. 1 is the overview flow chart of the data transmission method of blade server according to the embodiment of the present invention.According to Fig. 1, the data transmission method of the blade server of the present embodiment comprises:
Step S102: the operational module in blade server is connected with the second administration module with the first administration module with the second bus respectively by the first bus.Wherein, operational module comprises power supply, fan, Switching Module, calculating blade, memory module.
Step S104: in blade server, operational module and the first administration module carry out transfer of data by the first bus.
Step S106: the first administration module transmits monitor signal to the second administration module.Wherein, the first administration module is realized to the second administration module transmission monitor signal by one of network interface and serial line interface or both.Wherein, monitor signal represents the first bus signal working properly, that is, when the first bus is working properly, first administration module will send out monitor signal, and once the first bus malfunctions, the first administration module will stop sending this monitor signal.This monitor signal can be, but not limited to be pulse signal or clock signal.
Step S108: when the second module does not receive monitor signal, the first administration module switches to the second administration module, carries out transfer of data to make the operational module in blade server and the second administration module by the second bus.Wherein, a kind of situation is, when the first administration module transmits monitor signal by network interface and serial line interface to the second administration module, when the second module does not all receive monitor signal by network interface and serial line interface, the first administration module switches to the second administration module.
In addition, the data transmission method of blade server of the present invention can also comprise: after switching to Ethernet, and administration module initiatively sets the IP address of the module be connected with Ethernet, and IP address is sent to operational module by Ethernet; Can also comprise: the data with mark are transferred to operational module by administration module, wherein, mark can be VLAN mark 4095.
By the data transmission method of a kind of blade server of the present embodiment, can work as after a bus breaks down, ensure the transmission of data and make the trouble-free operation of system, enhancing the stability of system.
The first bus in the present embodiment and the second bus can be Ethernet or I
2c bus, that is the present embodiment can be but be not limited to I
2switching between C bus or Ethernet and I
2switching between C bus.Respectively by three specific embodiments, more detailed description is carried out for the present embodiment below.
embodiment 1
Fig. 2 is the flow chart of the data transmission method of blade server according to an embodiment of the invention.Present embodiment illustrates and work as I
2time C bus breaks down, be switched to Ethernet and carry out transfer of data.
Step S202: the operational module in blade server passes through I
2c bus and Ethernet are connected with the second administration module with the first administration module respectively.Wherein, operational module comprises power supply, fan, Switching Module, calculating blade, memory module.
Step S204: in blade server, operational module and the first administration module pass through I
2c bus carries out transfer of data.
Step S206: the first administration module transmits monitor signal to the second administration module.Wherein, the first administration module is realized to the second administration module transmission monitor signal by one of network interface and serial line interface or both.Wherein, monitor signal represents I
2the signal that C bus is working properly, that is, works as I
2when C bus is working properly, the first administration module will send out monitor signal, and once I
2c bus malfunctions, the first administration module will stop sending this monitor signal.This monitor signal can be, but not limited to be pulse signal or clock signal.
Step S208: when the second module does not receive monitor signal, the first administration module switches to the second administration module, carries out transfer of data to make the operational module in blade server and the second administration module by Ethernet.Wherein, a kind of situation is, when the first administration module transmits monitor signal by network interface and serial line interface to the second administration module, when the second module does not all receive monitor signal by network interface and serial line interface, the first administration module switches to the second administration module.
In addition, the data transmission method of blade server of the present invention can also comprise: after switching to Ethernet, and administration module initiatively sets the IP address of the module be connected with Ethernet, and IP address is sent to operational module by Ethernet; Can also comprise: the data with mark are transferred to operational module by administration module, wherein, mark can be VLAN mark 4095.
By the data transmission method of a kind of blade server of the present embodiment, there is I in systems in which simultaneously
2when C bus and Ethernet, I can be worked as
2after C bus breaks down, ensure the transmission of data and make the trouble-free operation of system, enhancing the stability of system.In addition, by I
2after C bus switch is Ethernet, by initiatively provide IP address can ensure operational module at the same network segment and IP address can not conflict; Can switched sub-networks be distinguished by mark VLAN4095, ensure system safety.
embodiment 2
Fig. 3 is the flow chart of the data transmission method of blade server according to another embodiment of the present invention.Present embodiment illustrates when Ethernet breaks down time, be switched to I
2c bus carries out transfer of data.
Step S302: the operational module in blade server is by Ethernet and I
2c bus is connected with the second administration module with the first administration module respectively.Wherein, operational module comprises power supply, fan, Switching Module, calculating blade, memory module.
Step S304: in blade server, operational module and the first administration module carry out transfer of data by Ethernet.
Step S306: the first administration module transmits monitor signal to the second administration module.Wherein, the first administration module is realized to the second administration module transmission monitor signal by one of network interface and serial line interface or both.Wherein, monitor signal represents Ethernet signal working properly, that is, when Ethernet is working properly, first administration module will send out monitor signal, and once Ethernet breaks down, the first administration module will stop sending this monitor signal.This monitor signal can be, but not limited to be pulse signal or clock signal.
Step S308: when the second module does not receive monitor signal, the first administration module switches to the second administration module, passes through I to make the operational module in blade server and the second administration module
2c bus carries out transfer of data.Wherein, a kind of situation is, when the first administration module transmits monitor signal by network interface and serial line interface to the second administration module, when the second module does not all receive monitor signal by network interface and serial line interface, the first administration module switches to the second administration module.
By the data transmission method of a kind of blade server of the present embodiment, there is I in systems in which simultaneously
2when C bus and Ethernet, can work as after Ethernet breaks down, ensure the transmission of data and make the trouble-free operation of system, enhancing the stability of system.
embodiment 3
Fig. 4 is the flow chart of the data transmission method of blade server according to further embodiment of this invention.Present embodiment illustrates and work as I
2time C bus breaks down, be switched to another I
2c bus carries out transfer of data.
Step S402: the operational module in blade server is by an I
2c bus and the 2nd I
2c bus is connected with the second administration module with the first administration module respectively.Wherein, operational module comprises power supply, fan, Switching Module, calculating blade, memory module.
Step S404: in blade server, operational module and the first administration module are by an I
2c bus carries out transfer of data.
Step S406: the first administration module transmits monitor signal to the second administration module.Wherein, the first administration module is realized to the second administration module transmission monitor signal by one of network interface and serial line interface or both.Wherein, monitor signal represents an I
2the signal that C bus is working properly, that is, as an I
2when C bus is working properly, the first administration module will send out monitor signal, and once an I
2c bus malfunctions, the first administration module will stop sending this monitor signal.This monitor signal can be, but not limited to be pulse signal or clock signal.
Step S408: when the second module does not receive monitor signal, the first administration module switches to the second administration module, to make operational module in blade server and the second administration module by the 2nd I
2c bus carries out transfer of data.Wherein, a kind of situation is, when the first administration module transmits monitor signal by network interface and serial line interface to the second administration module, when the second module does not all receive monitor signal by network interface and serial line interface, the first administration module switches to the second administration module.
By the data transmission method of a kind of blade server of the present embodiment, there are two I in systems in which simultaneously
2when C bus, an I can be worked as
2after C bus breaks down, ensure the transmission of data and make the trouble-free operation of system, enhancing the stability of system.
Below by way of an example, more detailed description is carried out for the present invention.
In a blade server system, have some operational modules, to calculate blade, this calculating blade has two universal input/output (GPIO) interfaces, and be connected with two groups of buses respectively, wherein one group is I
2c bus, another group is Ethernet.I
2c bus is connected with the first administration module, and Ethernet is connected with the second administration module, is connected between two administration modules by network interface with serial line interface.Blade server passes through I
2c bus carries out transfer of data, at I
2when C bus is working properly, with I
2the first administration module that C bus is connected will send monitor signal to the second administration module by network interface and serial line interface.Work as I
2after C bus breaks down, first administration module stops sending monitor signal, if the second administration module finds that network interface does not receive monitor signal, that network or network interface break down in order to prevent unreceived reason, second administration module inquiry serial line interface, if serial line interface does not still receive monitor signal, the second administration module just determines I
2c bus breaks down.Therefore, the second administration module from the first administration module adapter bus management work, then carries out transfer of data by the second administration module and Ethernet, namely completes bus switch.After switching to Ethernet, administration module initiatively sets the IP address of the module be connected with Ethernet, and IP address is sent to operational module by Ethernet.And the data with VLAN4095 mark are transferred to operational module by administration module.
The foregoing is only the preferred embodiments of the present invention, be not limited to the present invention, for a person skilled in the art, the present invention can have various modifications and variations.Within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.