A kind of long-distance management system and control device
[technical field]
The utility model relates to communication technical field, is specifically related to a kind of long-distance management system and control device based on hardware bottom layer.
[background technology]
Server is used very general in life, enterprise, education sector, financial industry, telecommunications industry, military-political industries etc. all are widely used, the server of cybertimes is being taken on more and more important position, server generally is automatic operation, and it is on duty to need not the people, needs sometimes certainly server is managed and safeguards, but, when safeguarding if desired, need be in the action, that will expend a large amount of costs.For example when carrying out system upgrade to hundreds of server, IT administrative staff blink takes transport cost will be very huge, so need a simple effective method to manage all servers concentratedly, finish the variety of steps of execute-in-place, and make system restoration rapidly.
The real-time of Internet and long-distance transmissions function provide a good platform for us, just control signal can be transferred to all over the world based on ICP/IP protocol by Internet, if by an equipment can with the information of computer real-time send remote control terminal to, so just can pass through remotely administered server, to the management of long-range server with regard to in this locality every station server to be carried out field control the same.
Server is in operation and have control system quite simple to server maintenance in support, promptly can realize by telemanagement software, but the server in station system outside in thousands of delays when machine or control system collapse, situation in the past all is administrative staff's maintenances that are on the scene, and the maintenance cost that expends like this is quite high.So can not only rest on the level of operating system to the management of server, the high layer software that can also allow it from bottom is by certain standard and hardware layer communication, and more complete, transparent manages server.
IPMI comes from the server field, and purpose is that functions such as equipment control, transducer/incident management, user management, fan frame/power shelf management, remote maintenance are provided for server.IPMI has characteristics such as standardization, management channels and service channel separate, abundant command set, fail safe height.
The characteristics that the management channels of IPMI separates with service channel make IPMI have high availability, make the power supply of IPMI subsystem independent, make IPMI not rely on business management system, even when the operation system fault, still have operability, and IPMI is based on the intelligent management platform interface of Internet, the core of IPMI is processor-server or baseboard management controller (BMC), it does not also rely on the processor of server, BIOS or operating system are come work, be independent in the extreme, it is a no proxy management subsystem that in system, moves separately, it just can be started working as long as BMC and IPMI firmware are arranged, and the BMC chip is one and is installed on the server master board, provides IPMI to support by BMC to server master board.The autonomous characteristic that IPMI is good has overcome in the past based on the suffered restriction of the way to manage of operating system, and for example it still can carry out operations such as switching on and shutting down, information extraction under the situation that operating system does not respond or do not load.
In fact need to do following operation on to server maintenance:
(1) possess the IPMI function: the health status of remote monitoring server, comprise event log, transducer reading and warning function in the system, the health status of server, the manager is given in reaction in time.
(2) remote dummy memory function: when operating system collapse or be damaged in the time of to repair; need reinstall operating system; when installing operating system; need be all virtual to server end the CD-ROM drive of remote control terminal, floppy drive and USB device, just can realize the various types of operating systems of long-range installation by the computer of control end.
(3) long-range KVM function: when control system is installed, need also to realize that long-range picture, mouse, keyboard are synchronous, just as in person before server.
(4) after the remote server system outage, when switching on again, need by long-range cold start-up server, just look like oneself the frontal startup button by server is the same in person, the while such as is not having to shut down, restart server under the situation of control system at every function controlling.
Make a long-distance management system have the IPMI function, must make controlled server master board support the IPMI function, and the IPMB interface is arranged on mainboard.When controlled server end does not have IPMI and baseboard management controller, just can not monitor the health status of remote service.
If server master board is not supported the IPMI function, also can't influence the realization of other function.
Have the remote server administration function in the market, and the telemanagement card of external PCI slot or only have the virtual memory function, or only have the KVM function, can realize that long-range cold start-up controlled terminal server does not almost have.
Need control long-range server by remote control terminal comprehensively, at least must possess long-range KVM function, the remote dummy memory function, and abnormal conditions appear at remote server, can make server work by the cold start-up server, and realize Long-distance Control by the KVM-over-IP function.
Owing to be based on ICP/IP protocol when server carried out telemanagement, control end searches out controlled terminal by the IP address, though the IP of controlled terminal fixes, controlled terminal has without limits control end, for example IP address limitation or Control Software restriction, it is extremely important that this can manage remote server very easily to the IT manager, when long-distance management system need control end that specific software is installed or need control end and controlled terminal at same local area network (LAN), this just can not guarantee that the IT manager controls remote server fast whenever and wherever possible and easily.
For the IT manager, if control command is too complicated, this has just caused the applicable surface of this management system very narrow in addition.
In sum, former technology possesses following shortcoming at least:
1. function singleness, or can only realize the function of KVM, or can only realize the function of remote dummy storage, realize that simultaneously the remote on-off function needs the support of IPMI interface.
2. poor compatibility needs IPMI interface and corresponding BMC module support as realizing to monitoring of server health status and warning function, can't realize the data monitoring of distance sensor for general personal computer.
3. after the remote terminal sudden power, when switching on again, can't realize the remote opening function.
[utility model content]
The utility model is just in order to solve a kind of by long-distance management system and the control device of ARM Implementation of Embedded System based on hardware bottom layer that above-mentioned said technical problem proposes.
The concrete technical scheme that the utility model adopts is as follows:
A kind of long-distance management system, this long-distance management system is used for the controlled terminal of control terminal supervising the network side, comprise and control subsystem, be used to realize the video information of control terminal and controlled terminal, the long-range KVM subsystem and the remote storage subsystem of mouse and the synchronous and long-range cold start-up server of keyboard operation instruction, describedly control the data command that subsystem is transformed into the information of controlling of control terminal long-range KVM subsystem of control and remote dummy storage subsystem, described remote storage subsystem, by described long-range KVM subsystem the mouse of described control terminal or the operational order of keyboard are synchronized to controlled terminal, set up the storage device of control terminal and the corresponding relation of described controlled terminal.
Described control terminal comprises the WEB browsing apparatus, described controlled terminal comprises the control unit based on WEB, the described subsystem of controlling comprises described WEB browsing apparatus and control unit, and the WEB browsing apparatus of control terminal and the control unit of controlled terminal are set up the control link.
Described KVM subsystem comprises USB interface, the KVM module that is connected with the USB delivery outlet of controlled terminal by USB interface, VGA input interface that is connected with controlled terminal VGA output interface and the Power/Reset output interface that is connected with the Power/Reset input interface of controlled terminal, described KVM module is changed synchronously to the control command of control terminal mouse and keyboard, generate the mouse of controlled terminal and the control command of keyboard, the mouse of the controlled terminal of described generation and Keyboard Control instruction are transferred to controlled terminal by USB interface, described KVM module is also to Power/Reset input interface transmit button machine or restart the instruction of controlled terminal, the VGA output interface of described KVM module and controlled terminal is set up communication link, and the controlled terminal VGA information of obtaining is sent to control terminal by network.
Described KVM module comprises that one is used to set up the memory device of control terminal and the USB hub submodule of the connection between the controlled terminal memory device, described control terminal sends to controlled terminal and sets up the control signal that remote storage device is connected with controlled terminal, and USB hub submodule is set up the communication link between the memory device of the memory device of controlled terminal and control terminal by USB interface.
This long-distance management system also comprises:
Intelligent management platform subsystem, described intelligent management platform subsystem obtain the sensing data of controlled terminal and the bios information in the bios memory module, and described sensing data and bios information send to control terminal by network.
This long-distance management system also comprises: be used for the authentication between control terminal and the controlled terminal and the data of transmission are carried out the network security subsystem of encryption and decryption.
The utility model also provides a kind of control device by control terminal telemanagement controlled terminal, it is characterized in that, this control device is installed on the controlled terminal, described control device comprises a network interface card module, set up network by this network interface card module with control terminal and be connected, described control device is connected with data by setting up control between data-interface and the controlled terminal.
Described data-interface comprises a USB interface, and this USB interface is arranged on the control device, and is connected with the USB input interface of controlled terminal;
Described control device also comprises
Be independent of the external power interface of controlled terminal power supply;
Be used to handle control signal of obtaining from the network interface card module and the control unit that generates control command;
To the KVM module that instruction is changed of controlling of the mouse of control terminal and keyboard, this KVM module is connected with control unit;
The VGA input interface that is connected with controlled terminal VGA output interface;
With the Power/Reset output interface that the Power/Reset input interface of controlled terminal is connected, this Power/Reset output interface is used to obtain the KVM module to the switching on and shutting down of its transmission or restart the instruction of controlled terminal;
Described KVM module is obtained the instruction of controlling of the mouse of control terminal and keyboard by the network interface card module, and to this control instruction carry out treatment conversion become Power/Reset instruction or controlled terminal mouse and and the son of keyboard control instruction, described Power/Reset instruction is sent to the Power/Reset output interface by the KVM module, and described Power/Reset input interface obtains the switching on and shutting down of described Power/Reset commands for controlling controlled terminal or restarts button work; The USB input interface of described controlled terminal obtains the mouse of described controlled terminal and the son of keyboard is controlled instruction, and this son is controlled the processing unit processes that instruction sends to controlled terminal; Described KVM module is set up communication link by the VGA output interface of VGA input interface and controlled terminal, the VGA information of the controlled terminal that obtains is handled the back by control unit send to control terminal by the network interface card module.
Described KVM module also comprises a USB hub submodule, and described USB hub submodule is connected with described USB interface with described control unit.
Described data-interface also comprises the IPMB interface, described control unit is a baseboard management controller, this baseboard management controller comprises an arm processor, described arm processor obtains the bios information in the BIOS memory module of data in the transducer of controlled terminal and controlled terminal by the IPMB interface, described, described arm processor sends to control terminal with these data by network interface.
Described control device comprises a pci interface, and described pci interface card is connected in the PCI slot of described controlled terminal.
Described control unit comprises one based on the control module of WEB and the data encrypting and deciphering module of support ssl protocol.
Beneficial technical effects of the present utility model is:
1. the utility model is controlled the switch of the Power/Reset passage of controlled terminal by the ARM embedded system, even under the situation that does not have the IPMI assembly, also can realize the cold start-up function of controlled terminal.
2. the utility model is by being solidificated in control program in the ARM embedded system, this ARM embedded system is arranged on the control device, and this control device is installed on the controlled terminal, so the time by control terminal control ARM embedded system, need not very complicated operations, can enter the controlling platform based on WEB of ARM embedded system and also very hommization of operation and control interface by IP.
3. the utility model is not owing to have specific (special) requirements to control terminal, only require to have browser and can carry out getting final product long-range the connection with controlled terminal, so can be whenever and wherever possible computer by arbitrary networking carry out Long-distance Control.
4. the utility model is powered to the ARM embedded system by external power supply, make the ARM embedded system can be independent of the state operation of controlled terminal, no matter whether the power supply of controlled terminal works, the ARM embedded system can both be moved, even controlled terminal under the situation that improper outage can not be restarted automatically, also can carry out the cold start-up start to controlled terminal by long-range control terminal.
5. the utility model is owing to be provided with the BMC module on control device, and connects controlled terminal by the IPMB interface.And the server master board state better fed back to the manager.
[description of drawings]
Fig. 1 is the block diagram of long-distance management system embodiment one of the present utility model;
Fig. 2 is the block diagram of long-distance management system embodiment two of the present utility model;
Fig. 3 is the fundamental diagram of long-distance management system of the present utility model;
Fig. 4 is the product structure block diagram of control device of the present utility model.
[embodiment]
The utility model provides a long-distance management system, this long-distance management system comprises control terminal and controlled terminal, this control terminal is set up control link with controlled terminal by ICP/IP protocol, this long-distance management system has been realized long-range KVM function and remote dummy memory function by long-range KVM subsystem and remote storage subsystem, the switch of the Power/Reset passage by KVM subsystem controls controlled terminal has been realized long-range controlled terminal being carried out cold start-up simultaneously, restart and the shutdown task, thereby realized just can realizing function that long-range controlled terminal is fully controled and managed without the execute-in-place controlled terminal.
Below in conjunction with Figure of description and embodiment the technical solution of the utility model is described further,
Embodiment one:
As Fig. 1, the utility model provides a kind of long-distance management system, this long-distance management system is used for the controlled terminal 3 of control terminal 1 supervising the network side, described control terminal 1 comprises WEB browsing apparatus 11, be connected with control unit 22 between described control terminal and the controlled terminal based on WEB, this long-distance management system comprises controls subsystem, long-range KVM subsystem and remote dummy storage subsystem, the described subsystem of controlling comprises described WEB browsing apparatus 11 and control unit 22, the WEB browsing apparatus 11 and the control unit 22 of control terminal are set up the control link by network interface card module 21, and described network interface card module 21 is connected with control unit 22.
Describedly control the data command that subsystem is transformed into the information of controlling of control terminal long-range KVM subsystem of control and remote dummy storage subsystem.
Described control unit 22 comprises baseboard management controller (BMC), described baseboard management controller is an arm processor 223, this control unit 22 also comprises internal memory 221, Flash flash chip 222, store embedded control system in the described Flash flash chip 222, described control system runs on the arm processor 223, also operation has a control program based on WEB on this control system, control terminal is by the IP address of input network interface card module 21 in its browser, set up the control link with the control unit of controlled terminal, start the control program that runs on the embedded control system based on WEB.
Described KVM subsystem comprises KVM module 23 and USB interface 24, this USB interface 24 is connected by data wire with the USB interface of controlled terminal, described network interface card module 21 is obtained the mouse that long-range control terminal sends over and the control information of keyboard, operational order is sent to arm processor 223 by network interface card module 21 and handles, control KVM module 23 work behind these arm processor 223 processing control informations, this KVM module 23 is connected with the South Bridge chip 34 of controlled terminal 3 by USB interface 24, the mouse and the keyboard of controlled terminal 3 are synchronous, set up the control link.
Described KVM subsystem also comprises VGA input interface 25, described VGA input interface 25 is connected with the VGA output interface 35 of controlled terminal 3 by data wire, this VGA input interface 35 obtains the VGA information of controlled terminal 3, KVM module 23 sends to long-range control terminal 1 with this VGA information by network, after the VGA information that is synchronized with the VGA output interface output of controlled terminal 3 is handled by arm processor, send to control terminal 1 by network interface card module 21 again.
Described KVM subsystem also comprises the Power/Reset output interface, this Power/Reset output interface is connected with the Power/Reset input interface 31 of controlled terminal 3 by data wire, thereby KVM module 23 sends the cold start-up of Power/Reset instruction control controlled terminal, shuts down and restarts task to the Power/Reset output interface, and is identical with the principle of controlled terminal being controlled by the front end Power/Reset button of controlled terminal 3.
Described remote storage subsystem is synchronized to controlled terminal by described long-range KVM subsystem with the mouse of described control terminal or the operational order of keyboard, sets up the storage device of control terminal and the corresponding relation of described controlled terminal.Described KVM module 23 comprises USB hub submodule 231,24 described network interface card modules 21 are obtained control terminal with the control command of its memory device as the part of the memory device of controlled terminal, arm processor is handled 231 work of 223 this control commands control USB hub submodules, and USB hub submodule 231 is set up the communication link between the memory device of the memory device of control terminal 1 and controlled terminal 3.The communication link of setting up by USB hub submodule 231, can be all virtual in controlled terminal 3 the CD-ROM drive of long-range control terminal 1, floppy drive and USB device, the installation source image of the CD-ROM drive read operation system by control terminal 1, realize long-range installing operating system, comprise Windows, Linux and Unix etc.
Embodiment two: on the basis of the foregoing description one, described long-distance management system comprises that also this long-distance management system also comprises the intelligent management platform subsystem, be used for obtaining the sensing data of controlled terminal and the bios information of bios memory module, described sensing data and bios information send to control terminal by network. and described baseboard management controller (BMC) 22 is supported the IPMI2.0 standard, described controlled terminal 3 also comprises transducer 33, data in this transducer 33 are given arm processor 223 by the IPMB bus transfer, and these arm processor 223 these data compile the back and send to control terminal 1. by network
This arm processor 223 obtains bios information from bios memory module 32, and be stored in the Flash flash chip 222, control terminal 1 sends to controlled terminal 3 and reads controlled terminal bios information, and arm processor 223 is directly transferred bios information and sent to control terminal 1 by network from Flash flash chip 222.
Embodiment three:
On the basis of the foregoing description two or embodiment one, described long-distance management system also comprises the network security subsystem, be used between control terminal and the controlled terminal authentication and to the transmission data carry out encryption and decryption.Described Flash flash chip also stores the data encrypting and deciphering program of supporting ssl protocol for 222 li, and this data encryption program is decrypted processing to the data that network interface card module 21 receives, and the data that network interface card module 21 sends are carried out encryption.
Embodiment four: corresponding, the utility model also provides another long-distance management system, as shown in Figure 2, described controlled terminal 3 also comprises baseboard management controller (BMC) 36, described BMC obtains the data of Flash flash chip in the BIOS memory module of data in the transducer of controlled terminal and controlled terminal by the IPMB interface, and these data are sent to arm processor 223 by the IPMB interface, this arm processor 223 in Flash flash chip 222, sends to control terminal with these data by network interface with these storage when control terminal need obtain these data.
As shown in Figure 3, the actuation step of long-distance management system of the present utility model is as follows,
A. control terminal is set up the control link by IP address and controlled terminal;
B. handle the control signal of control terminal by a baseboard management controller that is independent of the controlled terminal operation;
C. this baseboard management controller is controlled a KVM module mouse of control terminal and Keyboard Control instruction is synchronized to controlled terminal;
D1. the switch of the Power/Reset passage of this KVM module controls controlled terminal;
E. by the KVM module with the VGA information synchronization of controlled terminal to control terminal;
Further among the embodiment, after above-mentioned steps d1, this method for remote management also comprises: steps d 2, the USB hub submodule in this baseboard management controller control KVM module are set up the communication link between the memory device of the memory device of control terminal and controlled terminal.
Further among the embodiment, after above-mentioned steps d2 (preceding), this method for remote management also comprises: this baseboard management controller obtains the transducer of controlled terminal and the data d3 among the bios, and handle this data, the data after this baseboard management controller will be handled are given control terminal by Network Transmission.
Be specially:
Control terminal is set up the control link by the IP address and the controlled terminal of the control device that is connected with controlled terminal, control terminal sends to control device with the instruction of controlling of its mouse and keyboard, the network interface card module of control device is obtained this arm processor processing of controlling instruction and sending it to baseboard management controller, this arm processor switches by control KVM module, and the instruction of controlling of remote mouse and keyboard is sent on the USB interface that is connected with the South Bridge chip of controlled terminal by the USB line.The mouse and the Keyboard Control instruction of control terminal are synchronized to controlled terminal.
The processor of controlled terminal receives the control command of the mouse and the keyboard of long-range control terminal, carry out a series of manipulation tasks, the VGA information of result after this controlled terminal will be carried out sends to the VGA output interface of controlled terminal by the video card module, described VGA information is transferred to the KVM module by the VGA input interface of the control device that is connected with the VGA output interface, this KVM module sends to this VGA information to control terminal by the network interface card module, and control terminal obtains this video information and shows on display screen after treatment.
When connecting, control terminal goes up controlled terminal, when controlled terminal is carried out the manipulation tasks of Power/Reset, this controlled terminal obtains this by network and controls instruction, sending it to arm processor handles, this arm processor is by the Power/Reset passage of KVM module controls Power/Reset interface, carry out the Power/Reset instruction, by the KVM module this VGA information synchronization is arrived control terminal simultaneously, control terminal shows on display screen after treatment.
When connecting, control terminal goes up controlled terminal, need be with the CD-ROM drive of control terminal, floppy drive and USBdevice are virtual to controlled terminal, during as the virtual memory facilities of controlled terminal, this controlled terminal obtains this by network and controls instruction, sending it to arm processor handles, the work of this arm processor control USB hub submodule, this USB hub submodule is set up and being connected of the South Bridge chip of controlled terminal by USB interface, realize the transfer of data between the memory device of the memory device of control terminal and controlled terminal by network, when installing operating system, the source file of control terminal read operation system, and give controlled terminal by Network Transmission.
During to the controlled terminal transfer files, handle to the arm processor of control device file transfer by network at control terminal, this arm processor sends data to controlled terminal by USB interface.
When control terminal obtains the sensor information, event log of controlled terminal and bios data by control device, control terminal by network to the arm processor sending controling instruction, this arm processor reads information such as voltage, temperature and rotation speed of the fan from transducer by the IPMB bus, from the bios memory module, read the bios data message, send to control terminal by network.
Comprise also in the described operating system that runs on the arm processor that one supports the encryption and decryption program of ssl protocol, described encryption and decryption program is encrypted the data that send to control terminal, the data that the control terminal that receives is sent are decrypted, after control terminal and control device are set up control and communication link, control terminal is downloaded the SSL safe key by network from control device, and is embedded in browser.
The utility model also provides a kind of and is connected with controlled terminal and sets up the control between control terminal and the controlled terminal and the control device 2 of communication link, control device as described in Figure 4 comprises a network interface card module 21 and a processing unit, described processing unit is a baseboard management controller (BMC) 22, this network interface card module 21 comprises LAN interface and network card chip, described baseboard management controller 22 comprises an arm processor 223, described control device 2 also comprises internal memory 221, Flash flash chip 222, store embedded control system in the described Flash flash chip 222, described control system runs on the arm processor 223, also operation has a control program based on WEB on this control system, control terminal is by the IP address of input control device network interface card module in its browser, thereby startup runs on the control program based on WEB on the embedded control system.
Described control device 2 also comprises KVM module 23 and USB interface 24, this USB interface 24 is connected by data wire with the USB interface of controlled terminal, described network interface card module 21 is obtained the mouse that long-range control terminal sends over and the control information of keyboard, operational order is sent to arm processor by network interface card module 21 and handles 223, and this arm processor is handled 23 switchings of 223 control KVM modules the instruction of controlling of remote mouse and keyboard is sent on the USB interface that is connected with the South Bridge chip of controlled terminal by the USB line.The mouse and the Keyboard Control instruction of control terminal are synchronized to controlled terminal.
Described control device 2 also comprises VGA input interface 25, described VGA input interface 25 is connected with the VGA output interface of controlled terminal by data wire, this VGA input interface 25 obtains the VGA information of controlled terminal, and KVM module 23 sends to long-range control terminal by arm processor compression back by network with this VGA signal.
Described control device 2 also comprises Power/Reset output interface 27, this Power/Reset output interface 27 is connected with the Power/Reset input interface of controlled terminal by data wire, thereby KVM module 23 sends the cold start-up of Power/Reset instruction control controlled terminal, shuts down and restarts task to Power/Reset output interface 27, and is identical with the principle of controlled terminal being controlled by the front end Power/Reset button of controlled terminal.
Described KVM module 23 comprises USB hub submodule 231, described network interface card module 21 is obtained control terminal with the control command of its memory device as the part of the memory device of controlled terminal, arm processor 223 is handled 231 work of this control commands control USB hub submodule, and USB hub submodule 231 is set up the communication link between the memory device of the memory device of control terminal and controlled terminal.The communication link of setting up by USBhub submodule 231, can be all virtual in controlled terminal the CD-ROM drive of long-range control terminal, floppy drive and USBdevice, the installation source image of the CD-ROM drive read operation system by control terminal, realize long-range installing operating system, comprise Windows, Linux and Unix etc.
Described baseboard management controller (BMC) 22 is supported the IPMI2.0 standard, described controlled terminal also comprises transducer, data in this transducer are given arm processor 223 by the IPMB bus transfer, and these arm processor 223 these data compile the back and send to control terminal by network.
This arm processor 223 obtains sensing data and when the value of front sensor from the BIOS module, and after compiling through arm processor, the controlled terminal sensing data message, send to by the network interface module and to execute the control end.
Described control device also comprises an external power interface 28, and described external power interface is connected with electrical network by a power supply adaptor.
Described Flash flash chip also stores the data encrypting and deciphering program of supporting ssl protocol for 222 li, and this data encryption program is decrypted processing to the data that network interface card module 21 receives, and the data that network interface card module 21 sends are carried out encryption.
It should be noted that, above embodiment is only unrestricted in order to the explanation the technical solution of the utility model, although the utility model is had been described in detail with reference to preferred embodiment, those of ordinary skill in the art is to be understood that, can make amendment or be equal to replacement the technical solution of the utility model, and not breaking away from the spirit and scope of technical solutions of the utility model, it all should be encompassed in the middle of the claim scope of the present utility model.