The method of system for managing high-level telecommunication computing construction frame and server Long-distance Control
Technical field
The present invention relates to Advanced telecom computing architecture (Advanced Telecom Computing Architecture is called for short ATCA) field, relate in particular to the method for a kind of ATCA machine frame management system and realization server Long-distance Control.
Background technology
In recent years, along with computer technology and development of internet technology, finish for the demand of the Long-distance Control of server more and more urgently on a concentrated platform, under this urgent demand, the KVM technology is arisen at the historic moment just.KVM is the abbreviation of keyboard Keyboard, video Video and mouse Mouse, and the KVM technology is a kind of technology that is used for the server remote control field, its thought just is to use a cover input-output apparatus, promptly one overlaps keyboard, display and mouse, by fully control and the management of network realization to one or more server, thereby the high manageability of realization system and network improves administrative staff's operating efficiency, saving machine room area, and reduces the overall cost of network server system.
Thereby, in the ATCA machine frame, realize that by a cover input-output apparatus management of the server system in all ATCA machine frames is had considerable meaning.Fig. 1 has the structural representation that utilizes the KVM technology to realize the system of server Long-distance Control now in the ATCA machine frame.
Referring to Fig. 1, control desk shown in the figure is the input-output apparatus that is used for Control Server, described control desk is connected to the KVM switch by Local Area Network, and keyboard interface, mouse interface and the display interface device of each server board in the ATCA machine frame are connected to the KVM switch by keyboard chord, mouse lines and display line respectively simultaneously.
Control desk is sent to the KVM switch with its keyboard and mouse action data to server system by LAN, the KVM switch is according to these keyboards and mouse action digital simulation keyboard and mouse action, and the operand information that comprises in keyboard that sends according to control desk and the mouse action data finishes the server switching, by keyboard chord and mouse lines keyboard and mouse action data is sent to server system on the corresponding server board then.Simulating keyboard described herein and mouse action are meant keyboard and mouse format conversion, the keyboard that is about to the control desk transmission and comes becomes server system to receive with the mouse action data transaction keyboard and mouse data form are such as keyboard and the mouse data form of USB or PS2.For example, when server was connected with the KVM switch by the USB mouse interface, then the KVM switch was sent to server system by the USB mouse interface after the mouse action data transaction that receives need being become the USB form.
In response to mouse and keyboard operation, server system on the server board is sent to the KVM switch by the display line with the video data of its output, the KVM switch compresses the video data of server OS output, video data is sent to the control desk of far-end by LAN.Control desk receives after the data that the KVM switch sends, and video data is decompressed, and shows corresponding server screen image then on display.
In existing ATCA machine frame, realize that the KVM switch is the bottleneck of whole system, and the user management of KVM function system in the system of server Long-distance Control, promptly, also realize at KVM switch place for the user's who logins the KVM switch management.
And in existing ATCA machine frame management system, such as IPMI (IntelligentPlatform Management Interface, abbreviation IPMI) in the system, Shelf Management Controller (ShelfManager Controller, be called for short SMC) finish maintenance management jointly with the mutual cooperation of baseboard management controller (Baseboard Management Controller is called for short BMC) that is positioned on the ATCA server veneer to machine frame, veneer.Wherein, communicate by Intelligent Platform Management Bus (IntelligentPlatform Management Bus is called for short the IPMB bus) between SMC and the BMC, formed the independently outer maintenance system of band jointly.
From foregoing description as can be seen, in the system that has the ATCA machine frame that utilizes the KVM technology to realize the server Long-distance Control now, the KVM switch is external equipment independently, and needs keyboard, video and three lines of mouse between each server board managed and the KVM switch.In addition, the KVM user management in the KVM function system realizes on the KVM switch, and is independent separately with existing ATCA machine frame management.Therefore, there are some inevitable disadvantages, are mainly reflected in the following aspects:
At first, independent, external KVM switch makes system cost increase, and has taken certain machine room space;
Secondly, the line of server board and KVM switch is various, causes line complexity, in disorder, and makes the reliability of system reduce;
At last, the user management of KVM and the management of existing ATCA machine frame are independent, uncorrelated mutually separately, and therefore server being managed and safeguards needs to realize by server tele-control system and ATCA machine frame management system two cover systems, cause system maintenance cost height, difficulty is big.
Summary of the invention
In view of this, the object of the present invention is to provide a kind of ATCA machine frame management system that realizes the server remote control function in the ATCA framework, described system can realize the server Long-distance Control, and does not need independently external device.
For this reason, the invention provides a kind of ATCA machine frame management system, described system comprises: control desk, Box management controller for SMC and its are provided with the server board of keyboard, video and mouse KVM data transmission module and server system.Wherein, described control desk is connected by network with described SMC, be used for its keyboard to server system, mouse action data are sent to described SMC, and be used to receive the video data that described SMC sends, and show corresponding video image according to described video data; Described SMC connects by the reinforced IPMB bus that dual-dual star topology is connected with described KVM data transmission module, be used to receive keyboard and the mouse data that described control desk sends, the execution server switches, and the keyboard that received and mouse data are sent to KVM data transmission module on the corresponding server board, and be used for the video data that the KVM data transmission module sends by described IPMB bus is sent to control desk by described IPMB bus; Described KVM data transmission module, be used to receive keyboard and the mouse data that described SMC sends by described IPMB bus, and send it to server system, and be used for obtaining video data and being sent to described SMC by described IPMB bus from server system.
In above-mentioned ATCA machine frame management system, described KVM data transmission module is baseboard management controller BMC.
In above-mentioned ATCA machine frame management system, described KVM data transmission module comprises BMC and KVM data processing module.Wherein, described BMC is used to receive keyboard and the mouse data that described SMC sends by described IPMB bus, and send it to the KVM data processing module, and the video data that described KVM data processing module sends is sent to described SMC by described IPMB bus; Described KVM data processing module is used for keyboard that described BMC is sent and mouse data carries out being sent to server system after the format conversion, and is used for the video data that obtains from server system and is sent to BMC after described video data is compressed.
In above-mentioned ATCA machine frame management system, described KVM data processing module comprises: keyboard and mouse action Data Format Transform module and image processing module.Wherein, described keyboard and mouse action Data Format Transform module, the keyboard and the mouse data that are used for described BMC is sent are carried out format conversion, and the keyboard after will changing and mouse data are sent to server system; Described image processing module is used for obtaining video data and be sent to described BMC after described video data being compressed from server system.
In above-mentioned ATCA machine frame management system, described image processing module is on-site programmable gate array FPGA logical device or special image processing apparatus.
In above-mentioned all ATCA machine frame management systems, described SMC is further used for carrying out control desk and switches video data is sent to the control corresponding platform.
In above-mentioned all ATCA machine frame management systems, described SMC comprises the KVM handover module, be used to carry out server and switch, perhaps be further used for carrying out control desk and switch video data is sent to the control corresponding platform so that keyboard and mouse data are sent to corresponding server board.
In addition, the present invention also provides a kind of method that realizes the control of server far-end in the ATCA machine frame, and described method comprises:
Step 1 will be sent to server system on the corresponding server board to the keyboard of server operation and reinforced IPMB bus that mouse data is connected by dual-dual star topology;
Step 2 is sent to control desk with the video data of server system by described IPMB bus.
In the method for above-mentioned realization server far-end control, described step 1 comprises:
Step 1 A will be sent to SMC to the keyboard and the mouse data of server system operation;
Step 1 B, keyboard that SMC is received and mouse data are sent to server system on the corresponding server board by described IPMB bus;
In the method for above-mentioned realization server far-end control, described step 1 B comprises:
Step 1 B1, keyboard that receives according to SMC and mouse data are carried out server and are switched, and by described IPMB bus keyboard and mouse data are sent to BMC on the corresponding server board afterwards;
Step 1 B2, the keyboard that receives and mouse data carried out format conversion after, be sent to server system.
In the method for above-mentioned realization server far-end control, described step 2 comprises:
Step 2 A is sent to SMC with the video data of server system by described IPMB bus;
Step 2 B, the video data that SMC is received is sent to control desk.
In the method for above-mentioned realization server far-end control, wherein said step 2 A comprises:
Step 2 A1 compresses the video data of server system;
Step 2 A2 is sent to SMC with the video data after the compression by described IPMB bus.
In the method for above-mentioned realization server far-end control, described step 2 B further comprised before the video data that SMC is received is sent to control desk: step 2 B0, carry out control desk and switch video data is sent to the control corresponding platform.
ATCA machine frame management system of the present invention can realize the server remote control function, and does not need independently external KVM switch, has therefore reduced the cost of system, has saved the space, and has saved various line, has improved the reliability of system.In addition, ATCA machine frame management system of the present invention, machine frame management data and KVM data are all passed through the IPMB bus transfer, therefore just KVM user management and ATAC machine frame management unification can be finished by SMC, just can realize the unification of KVM user management and machine frame management, and then reduce the maintenance cost and the maintenance difficulties of system.
Description of drawings
Fig. 1 is a structural representation of realizing the system of server Long-distance Control in existing ATCA machine frame;
Fig. 2 is the IPMB bus connection diagram in the existing ATCA machine frame management system;
Fig. 3 is the structural representation according to an embodiment of ATCA machine frame management system of the present invention;
Fig. 4 is the flow chart according to the method for realization server Long-distance Control of the present invention;
Fig. 5 is the structural representation according to another embodiment of ATCA machine frame management system of the present invention;
Fig. 6 is the structural representation according to another embodiment of ATCA machine frame management system of the present invention.
Embodiment
In existing ATCA machine frame management system, between BMC on the server board and SMC, adopt IPMB bus to communicate based on internal integrate circuit bus (Inter Integrated Circuit is called for short I2C).The I2C bus is a kind of two-wire bidirectional linked list data highway system with multiterminal control ability, can be used in the parallel bus of alternate standard.The I2C bus is divided into standard type I2C bus and reinforced I2C bus, standard type I2C bus transfer rate can reach 100Kbit/s, and reinforced I2C bus has quick mode and two kinds of transmission modes of fast mode, transmission rate under the quick mode can reach 400Kbit/s, and the highlyest under the fast mode can reach 3.4Mbit/s.
In existing ATCA machine frame management system, the communication channel of IPMB bus can be configured to the dual-dual star topology network topology structure, and Fig. 2 shows the method for attachment of dual-dual star topology.
Referring to Fig. 2, in the ATCA machine frame management system that illustrates in the drawings, there are two Shelf Management Controller (Shelf Management Controller, be called for short SMC)-SMC 0 and backup SMC 1, and a plurality of server board 0, a BMC is all arranged on each server board 0, described each BMC by two independently the IPMB bus be connected with each SMC, in such structure, every block server plate is independent of each other, can utilize the BMC on it to carry out communication alone, thereby realize ATCA machine frame management function by IPMB bus and SMC.
Be known that to have the speed that the ATCA machine frame can be supported 400Kbit/s now, therefore, under the situation of above-mentioned employing dual-dual star topology connected mode, amount to the speed that can reach 800Kbit/s by the IPMB bus transfer data.And in the existing ATCA machine frame management system, data traffic is not very big, and the standard I 2C bus that amounts to the flow of 200kbps can satisfy the demand of machine frame management function.Therefore, the IPMB bus is as adopting reinforced I2C bus, be under the situation of reinforced IPMB bus promptly in the IPMB bus, transmission rate can be increased to 400kbps, because dual-dual star topology has two independently IPMB buses when connecting, thereby speed can reach 800kbps, and the flow that therefore can keep 200kbps is used for transmitting the machine frame management data, is the KVM transfer of data and remaining 600kbps is used for keyboard, mouse and display data.
For this reason, thought of the present invention is, the function of KVM switch in the original system is dispersed in SMC and server board, and control desk is sent to corresponding server to the keyboard of server with the reinforced IPMB bus that mouse action information utilizes dual-dual star topology to be connected, and the video data that server sends is sent to control desk, and then realize the server Long-distance Control by described reinforced IPMB bus.
Based on thought of the present invention and above-mentioned consideration thereof, the invention provides a kind of ATCA machine frame management system that can realize the server Long-distance Control.Describe the present invention below with reference to the accompanying drawings in conjunction with the embodiments in detail.
Fig. 3 shows the structural representation of an embodiment of ATCA machine frame management system of the present invention.Referring to Fig. 3, shown system comprises: control desk, SMC and the server board of KVM data transmission module and server system is set on it.
Wherein, described control desk is connected by LAN with described SMC.Be used for its keyboard to server system, mouse action data are sent to described SMC by LAN on the one hand, be used to receive the video data that described SMC sends on the other hand, and show corresponding video image according to described video data, i.e. the image of server system.
Described SMC connects by the reinforced IPMB bus that dual-dual star topology is connected with described KVM data transmission module, be used to receive keyboard and the mouse data that described control desk sends on the one hand, the execution server switches, and the keyboard that received and mouse data are sent to KVM data transmission module on the corresponding server board by described IPMB bus, be used on the other hand the video data that the KVM data transmission module sends by described IPMB bus is sent to control desk.
Described KVM data transmission module, be used to receive keyboard and the mouse data that described SMC sends by described IPMB bus on the one hand, and send it to server system, be used on the other hand obtaining video data and being sent to described SMC by described IPMB bus from server system.
Below with reference to Fig. 4 the method that ATCA machine frame management system of the present invention realizes the server Long-distance Control is described.
Fig. 4 shows the flow chart that the present invention realizes the method for server Long-distance Control, and described method comprises:
Step 401 will be sent to server system on the corresponding server board to the keyboard of server system operation and reinforced IPMB bus that mouse data is connected by dual-dual star topology.
When the keeper operates the server system on certain block server plate on control desk, can be with keyboard and mouse action data by being sent to SMC from control desk such as local area network (LAN).
SMC receives and finishes server according to the operand information that comprises in keyboard and the mouse data after keyboard and the mouse action data and switch, and afterwards these data transaction is become behind the IPMB form by described IPMB bus to be sent to KVM data transmission module in the corresponding server board.Owing to the operand information that includes keyboard and mouse in keyboard that comes in the control desk transmission and the mouse action data, therefore SMC utilizes this operand information just can finish server to switch so that keyboard and mouse data are sent to corresponding server board, promptly just can send the operand information of the keyboard that comprises in the keyboard that comes and the mouse action data and mouse is definite should to be sent to described keyboard and mouse action information for which server board according to control desk.
KVM data transmission module on the server board receives after the keyboard and mouse action data of the IPMB form that described SMC sends by described IPMB bus, it is resolved, keyboard and mouse data after resolving are carried out format conversion, convert thereof into the form that server system can receive, be sent to server system afterwards, such as, can be converted into USB or PS2 form, be sent to server system by USB or PS2 interface then.
Step 2 is sent to control desk with the video data of server system by described IPMB bus.
The KVM data transmission module obtains the video data of server system by the digital visual interface DVI on the server board, and the video data that is obtained compressed, after video data after will compressing then is packaged into the IPMB form, send it to SMC by described IPMB bus.
SMC after receiving video packets of data comes out data parsing, afterwards the compressed video data that parses is sent to control desk by network, and control desk shows corresponding image, i.e. server images after video data is decompressed on display screen.
By ATCA machine frame management system of the present invention, just can in ATCA, realize the server Long-distance Control, and not need external KVM switch, saved the space, reduce system cost, avoided the chaotic problem of line of the prior art simultaneously, strengthened the fail safe and the stability of system.
In the present invention, the KVM data can use the different control word of control word that is adopted with the transmission of ATCA machine frame management data to transmit, and then differentiation ATCA machine frame management data and KVM data, use the control word of stipulating in the ATCA standard to carry out transfer of data in the existing ATCA machine frame management system, so the KVM transfer of data can be used the self-defined control word of manufacturer in the ATCA standard.By the IPMB bus transfer data time, can adopt the timesharing transmission manner to realize the transmission of ATCA machine frame management data and KVM data, such as can prioritised transmission ATCA machine frame management data, this method can also make full use of the IPMB bus resource when ATCA need not transmit data in the normal transmission that guarantees ATCA machine frame management data.
Therefore, pass through said method, in ATCA machine frame management system of the present invention system, on the one hand, ATCA machine frame management system use SMC and the reinforced IPMB bus transfer machine frame management data that BMC is connected by dual-dual star topology are realized the management to the ATCA machine frame, on the other hand, realize the server Long-distance Control by this IPMB bus transfer KVM data.Therefore ATCA machine frame management system of the present invention has realized the combination of server remote control function and machine frame management function.So just the SMC that is unified in of KVM user management and the management of ATCA machine frame just can be able to be reduced the maintenance cost and the maintenance difficulties of system.
In the ATCA machine frame management system of the present invention shown in Fig. 3, described KVM data transmission module can be by the BMC specific implementation on the server board, receive keyboard and mouse data by described BMC by the reinforced IPMB bus that dual-dual star topology connects, carry out sending it to server system after the format conversion, and be sent to SMC by described IPMB bus after the video data compression that will obtain from server system.
The scheme that can substitute is that described KVM data transmission module can comprise BMC and KVM data processing module, as shown in Figure 5.Wherein BMC is used to receive keyboard and the mouse action data that SMC sends by described IPMB bus, and sending it to the KVM data processing module, the KVM data processing module carries out sending it to server system after the format conversion to keyboard and mouse data that described BMC sends; Wherein the KVM data processing module obtains video data by DVI from server system, after the video data that is obtained is compressed, sends it to BMC, sends SMC by BMC by described IPMB bus again.
In the above-described embodiments, the KVM data processing module specifically can comprise keyboard and mouse action Data Format Transform module and image processing module, as shown in Figure 6.Wherein keyboard and mouse action Data Format Transform module be used for keyboard that BMC is received and mouse action data carry out format conversion and will change after keyboard and mouse action data be sent to server system; Image processing module wherein, be used for obtaining video data from server system by the digital visual interface DVI on the server board, and after described video data is compressed, send it to described BMC, will compress the rear video data by BMC and be sent to SMC by described IPMB bus.In this embodiment, described image processing module can be field programmable gate array (Field Programmable Gate Array is called for short FPGA) logical device or a special image processing apparatus.
Should be noted that, for the purpose of clear, in the ATCA of Fig. 3, Fig. 5 and Fig. 6 machine frame management system, only show a server board and a control desk, in fact system of the present invention can comprise a plurality of server board, can realize by the management and the control of a control desk to a plurality of server systems.
In addition, the present invention can also realize control and the management of a plurality of control desks to a plurality of server systems.Under the situation of using a plurality of control desks that the polylith server board is controlled, SMC also needs to finish control desk and switches when finishing the server switching, is sent to which control desk to determine the video data that server is returned.Such as, when SMC receives a certain control desk to keyboard and mouse action data to certain server system, and count the operand information that comprises in the mouse action data according to keyboard and finish after server switches, can store the corresponding relation of this control desk and this operand server system, SMC just can inquire about institute's stored relation when server OS is returned video data, according to the video information of returning is which server system determines video data is returned to which control desk, and then finish control desk and switch, the SMC video data that just server can be returned is sent to the control corresponding platform like this.
Should be noted in the discussion above that a KVM handover module can be set in SMC, be used to realize that above-mentioned server switches, and further finish above-mentioned control desk switching.
Those skilled in the art it should be noted that the embodiment that goes out shown in the present only is for the present invention rather than limitation of the present invention are described better.Under the situation that does not depart from essence of the present invention and thought, also there are many modification in the present invention and substitute, such as image/video processing module and keyboard and mouse action Data Format Transform module multiple implementation method is arranged, except can adopting the hardware mode realization, can also adopt software mode to realize, but these all do not exceed scope of the present invention.