CN104253792A - Substrate management controller virtual system and method - Google Patents

Substrate management controller virtual system and method Download PDF

Info

Publication number
CN104253792A
CN104253792A CN201310261684.6A CN201310261684A CN104253792A CN 104253792 A CN104253792 A CN 104253792A CN 201310261684 A CN201310261684 A CN 201310261684A CN 104253792 A CN104253792 A CN 104253792A
Authority
CN
China
Prior art keywords
rmcp
virtual machine
virtual
management controller
message
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201310261684.6A
Other languages
Chinese (zh)
Inventor
吴鹏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hongfujin Precision Industry Shenzhen Co Ltd
Hon Hai Precision Industry Co Ltd
Original Assignee
Hongfujin Precision Industry Shenzhen Co Ltd
Hon Hai Precision Industry Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hongfujin Precision Industry Shenzhen Co Ltd, Hon Hai Precision Industry Co Ltd filed Critical Hongfujin Precision Industry Shenzhen Co Ltd
Priority to CN201310261684.6A priority Critical patent/CN104253792A/en
Publication of CN104253792A publication Critical patent/CN104253792A/en
Pending legal-status Critical Current

Links

Landscapes

  • Computer And Data Communications (AREA)

Abstract

The invention relates to a substrate management controller (BMC) virtual system. The substrate management controller virtual system includes the following components of: a setting module which is used for establishing an intelligent platform management interface (IPMI), wherein the establishment of the intelligent platform management interface includes the steps of establishing a user datagram protocol (UDP) listening thread in a virtual machine of a host, and setting an IP address, and setting a listening port corresponding to the user datagram protocol (UDP) listening thread according to the IP address; a judging module which is used for judging whether a received remote management control protocol (RMCP) message is valid or not; and a responding module which is used for returning content requested by the remote management control protocol (RMCP) message to a client when the remote management control protocol (RMCP) message is valid. The invention also provides a substrate management controller virtual method. With the substrate management controller virtual system and method of the invention adopted, direct management of the client on the virtual machine can be realized.

Description

Baseboard management controller virtual system and method
Technical field
The present invention relates to Virtual Machine Manager technology, particularly relate to one and virtualized system and method is carried out to baseboard management controller.
Background technology
Current You Duojia virtual machine manufacturer, such as VMware, Citrix, Microsoft etc., the virtual machine interface of each manufacturer has very large difference, causes causing great difficulty to the software development of virtual machine management.Although there is open source projects to be devoted to the support of the virtual machine to different manufacturers, because the interface of the virtual machine of different manufacturers there are differences, thus cause these open source projects often can only realize the basic function of virtual machine.
In addition, managing virtual machines needs to utilize specific management software (such as, Hypervisor) to connect the main frame at virtual machine place, then selects virtual machine to manage on the host.Current not way can be skipped this main frame and directly manage virtual machine.Further, the manager of all virtual machines has the rights of using to this main frame, is unfavorable for the information security of main frame.
Summary of the invention
In view of above content, be necessary to provide a kind of baseboard management controller virtual system and method, can realize carrying out unified management and control to the virtual machine of different manufacturers by virtual substrate Management Controller, also can directly manage separately each virtual machine, without using this virtual machine of Host Administration.
A kind of baseboard management controller BMC virtual method, be applied in main frame, described main frame comprises virtual machine, described main frame is connected with client, the method comprises: set up intelligent platform management interface IPMI, comprise: in the virtual machine of described main frame, set up User Datagram Protoco (UDP) UDP watcher thread, Internet protocol IP address is set, and the listening port corresponding to this UDP watcher thread is set according to this IP address; When described listening port receives the Remote Management Control Protocol RMCP message of described client transmission, judge that whether this RMCP message is effective according to pre-defined rule; And when this RMCP message is effective, return the content of this RMCP message request to described client.
A kind of baseboard management controller BMC virtual system, be applied in main frame, described main frame comprises virtual machine, described main frame is connected with client, this system comprises: arrange module, for setting up intelligent platform management interface IPMI, comprising: in the virtual machine of described main frame, set up User Datagram Protoco (UDP) UDP watcher thread, Internet protocol IP address is set, and the listening port corresponding to this UDP watcher thread is set according to this IP address; Judge module, for receive at described listening port described client send Remote Management Control Protocol RMCP message time, judge that whether this RMCP message effective according to pre-defined rule; And responding module, for when this RMCP message is effective, return the content of this RMCP message request to described client.
Compared to prior art, described baseboard management controller virtual system and method, can realize carrying out unified management and control to the virtual machine of different manufacturers by virtual substrate Management Controller, also can directly manage separately each virtual machine, without using this virtual machine of Host Administration.Utilize this baseboard management controller virtual system and method, the manager of each virtual machine can carry out management and control to corresponding virtual machine separately and numerous manager can not be caused all to possess the administration authority of multiple virtual machine places main frame, thus ensures the information security of this main frame and realize authority managing and controlling.
Accompanying drawing explanation
Fig. 1 is the applied environment figure of the better embodiment of baseboard management controller virtual system of the present invention.
Fig. 2 is the functional block diagram of the better embodiment of baseboard management controller virtual system of the present invention.
Fig. 3 is the virtual machine connection diagram of the better embodiment of baseboard management controller virtual system of the present invention.
Fig. 4 is the Virtual Machine Manager schematic diagram of the better embodiment of baseboard management controller virtual system of the present invention.
Fig. 5 is the flow chart of the better embodiment of baseboard management controller virtual method of the present invention.
Main element symbol description
Main frame 1
BMC virtual system 10
Module is set 100
Receiver module 102
Judge module 104
Responding module 106
Authentication module 108
Processor 11
BMC 12
Storage device 13
Virtual machine 14
Listening port 140
Client 2
Network 3
IPMI interface 4
Following embodiment will further illustrate the present invention in conjunction with above-mentioned accompanying drawing.
Embodiment
Fig. 1 is the applied environment figure of the better embodiment of baseboard management controller virtual system of the present invention.Described baseboard management controller (BMC, Baseboard Management Controller) virtual system 10 is applied in main frame 1, and described main frame 1 comprises processor 11, BMC12, storage device 13 and multiple virtual machine 14.Described main frame is illustrated with a client 2 with multiple client 2(Fig. 1 by network 3) be connected.
Described main frame 1 can be the electronic installation such as computer, server.Described client 2 can be the electronic installations such as computer, mobile phone, TV, panel computer, notebook computer, personal digital assistant.Described network 3 can be in-house network (Intranet), also can be the communication network of the Internet (Internet) or other type, as GPRS, Wi-Fi/WLAN, 3G/WCDMA, 3.5G/HSDPA etc.
Described processor 11, such as, for performing all kinds of softwares installed in described BMC virtual system 10 and described main frame 1, operating system etc.
Described BMC12 supports IPMI specification, and this IPMI specification describes the management function be built on mainboard.The function of described BMC12 includes, but are not limited to: local and remote diagnosis, control desk support, configuration management, hardware management and failture evacuation etc.
Described storage device 13 can be hard disk, or the storage card of other types or memory device.Described storage device 13, for storing Various types of data, such as, test data, utilizes the information such as the set and data that obtain of described BMC virtual system 10.
In this better embodiment, described BMC virtual system 10 by set up software intelligent platform management interface (IPMI, Intelligent Platform Management Interface), designated port is carried out information monitoring and a virtual BMC in each virtual machine 14 is realized with responding to the judgement of the information content.By the BMC that described BMC virtual system 10 is virtual, described client 2 directly can manage corresponding virtual machine 14, and without the need to the main frame 1 by connecting this virtual machine 14 place.
It should be noted that, only draw multiple virtual machines 14 of individual host 1 in Fig. 1 for convenience of description, in actual applications, is have multiple client 2 can connect virtual machine 14 in multiple main frame 1.
As shown in Figure 2, be the functional block diagram of better embodiment of baseboard management controller virtual system of the present invention.Described BMC virtual system 10 comprises multiple functional module, respectively: arrange module 100, receiver module 102, judge module 104, responding module 106 and authentication module 108.
Module alleged by the present invention has been the program segment of a specific function, is more suitable for describing the implementation of software in described main frame 1 than program.The concrete function of each module is described below with reference to Fig. 5.
As shown in Figure 5, be the flow chart of better embodiment of baseboard management controller virtual method of the present invention.First, step S2, the described module 100 that arranges sets up User Datagram Protoco (UDP) (UDP, User Datagram Protocol) watcher thread in each virtual machine 14 of described main frame 1.
Step S4, the described module 100 that arranges arranges an Internet protocol (IP, Internet Protocol) address, and arranges listening port 140(corresponding to this UDP watcher thread with reference to shown in figure 3 according to this IP address).Such as, according to IPMI specification, this listening port 140 can be 623 ports.
Utilize above-mentioned steps S2 and S4, described arranges the IPMI interface that module 100 can set up software in each virtual machine 14 of described main frame 1, and the listening port 140 wherein arranged in each virtual machine 14 possesses independent IP address.The IPMI interface of this software directly can receive the message meeting IPMI specification that described client 2 sends, thus realizes the management and control that client 2 carries out corresponding virtual machine 14.
Step S6, described receiver module 102 is from described listening port 140 receipt message, and described judge module 104 judges message whether Remote Management Control Protocol (RMCP, the Remote Management Control Protocol) message of this reception.
If the message of this reception is not RMCP message, then repeat step S6, to realize monitoring in described listening port 140 pairs of RMCP message.
If the message of this reception is RMCP message, in step S8, according to pre-defined rule, described judge module 104 judges that whether this RMCP message is effective.
In the present embodiment, described pre-defined rule is the call format to RMCP message in RMCP agreement, and when described RMCP message meets the call format in described RMCP agreement, described RMCP message is confirmed as effectively.Described judge module 104 can judge whether the front four figures certificate of this RMCP message meets the call format of RMCP agreement.
Such as, the front four figures of effective RMCP message is the header (Header) of RMCP message according to what represent.This header comprises version field (Version), reserved field (Reserved), sequence-number field (Sequence number) and a class message field (Class of message).Version field can identify the version of RMCP header, and such as, the version that " 06h " represents this RMCP message is 1.0 versions.Sequence-number field can indicate the sequence number relevant to this RMCP message.Sequence number can be convenient to the identification of prioritisation of messages and same message.Such as, send unique message from identical source (such as client 2), sequence number will increase at every turn.When the promoter of message responds due to the confirmation not receiving RMCP and sends message again time, message initiator can the message identical with the content of last RMCP message of transmit band same sequence number.
If this RMCP message invalid, then flow process is back to step S6.Always individual at other execution mode Huang, if this RMCP message invalid, described judge module 104 directly can abandon this RMCP message or ignore this RMCP message.
If this RMCP message is effective, step S10, described responding module 106 returns the content of this RMCP message request to described client, then, and process ends.
The content of described RMCP message request comprises using state, the managing virtual machines 14 of central processing unit, internal memory and the storage device inquiring about virtual machine 14 and moves virtual machine 14, in addition, utilize described BMC virtual system 10 can realize all functions of the BMC12 of physics, such as, the state of the multiple inductors in described main frame 1, the power supply of main control system 1 is checked by various RMCP message, query event, Long-distance Control etc.
With reference to the virtual machine connection diagram shown in figure 3, utilize above-mentioned flow process, multiple client 2(Fig. 3 is example client 2 only) by the IPMI interface 4 of software, realize the direct management to virtual machine 14, and without the need to managing each corresponding virtual machine 14 by described main frame 1 again.It should be noted that, due to described IPMI interface and nonphysical interface, but by realizing the establishment of UDP watcher thread and the arranging of listening port that possess IP address in above-mentioned flow process, so draw with dotted line in figure 3, to be illustrated in virtual machine 14 and the annexation between client 2 and main frame 1 in this better embodiment.
In addition, in other embodiments, described arranges module 100 also for creating the administration page (Web page) of virtual BMC, and determines one or more ports that this administration page is corresponding, and the port that described administration page is corresponding is given in the IP address described in distributing.Such as, the port of this administration page can be 80 or 443 etc.
Virtual Machine Manager schematic diagram shown in composition graphs 4, it should be noted that, the described module 100 that arranges can be each virtual machine 14 creative management page, and the IP address that the administration page giving this establishment is identical with the listening port in this virtual machine 14.The user of described client 2, when needs manage virtual machine 14, according to the login name of registered in advance and code entry to the administration page of this virtual machine 14, can realize the management to this virtual machine 14.
Described authentication module 108, for identifying the login name that user logs in and password, and when determining that user is legal login, provides multiple virtual machine controlling functions for virtual machine 14 described in user's Long-distance Control.Such as, described virtual machine controlling functions includes, but are not limited to: inquire about the using state of the central processing unit of virtual machine 14, internal memory and storage device, migration virtual machine 14 etc.
Above execution mode is only in order to illustrate technical scheme of the present invention and unrestricted, although with reference to above better embodiment to invention has been detailed description, those of ordinary skill in the art should be appreciated that and can modify to technical scheme of the present invention or be equal to the spirit and scope of replacing and should not depart from technical solution of the present invention.

Claims (10)

1. a baseboard management controller BMC virtual method, is applied in main frame, and described main frame comprises virtual machine, and described main frame is connected with client, it is characterized in that, the method comprises:
Set up intelligent platform management interface IPMI, comprising: in the virtual machine of described main frame, set up User Datagram Protoco (UDP) UDP watcher thread, Internet protocol IP address is set, and the listening port corresponding to this UDP watcher thread is set according to this IP address;
When described listening port receives the Remote Management Control Protocol RMCP message of described client transmission, judge that whether this RMCP message is effective according to pre-defined rule; And
When this RMCP message is effective, return the content of this RMCP message request to described client.
2. baseboard management controller virtual method as claimed in claim 1, it is characterized in that, the method also comprises:
Create the administration page of virtual BMC, and determine one or more ports that this administration page is corresponding; And
The port that described administration page is corresponding is given in IP address described in distribution.
3. baseboard management controller virtual method as claimed in claim 2, it is characterized in that, the method also comprises:
Identify the login name that user logs in and password; And
When determining that user is legal login, provide multiple virtual machine controlling functions for virtual machine described in user's Long-distance Control.
4. baseboard management controller virtual method as claimed in claim 1, it is characterized in that, described pre-defined rule is the call format to RMCP message in RMCP agreement, and when described RMCP message meets the call format in described RMCP agreement, described RMCP message is confirmed as effectively.
5. the baseboard management controller virtual method according to any one of Claims 1-4, it is characterized in that, the content of described RMCP message request comprises the using state of the central processing unit of inquiry virtual machine, internal memory and storage device, managing virtual machines and migration virtual machine.
6. a baseboard management controller BMC virtual system, is applied in main frame, and described main frame comprises virtual machine, and described main frame is connected with client, it is characterized in that, this system comprises:
Module is set, for setting up intelligent platform management interface IPMI, comprise: in the virtual machine of described main frame, set up User Datagram Protoco (UDP) UDP watcher thread, Internet protocol IP address is set, and the listening port corresponding to this UDP watcher thread is set according to this IP address;
Judge module, for receive at described listening port described client send Remote Management Control Protocol RMCP message time, judge that whether this RMCP message effective according to pre-defined rule; And
Responding module, for when this RMCP message is effective, returns the content of this RMCP message request to described client.
7. baseboard management controller virtual system as claimed in claim 6, it is characterized in that, described arranges module also for creating the administration page of virtual BMC, determines one or more ports that this administration page is corresponding, and the port that described administration page is corresponding is given in the IP address described in distributing.
8. baseboard management controller virtual system as claimed in claim 7, it is characterized in that, this system also comprises authentication module, for identifying the login name that user logs in and password, and when determining that user is legal login, provide multiple virtual machine controlling functions for virtual machine described in user's Long-distance Control.
9. baseboard management controller virtual system as claimed in claim 6, it is characterized in that, described pre-defined rule is the call format to RMCP message in RMCP agreement, and when described RMCP message meets the call format in described RMCP agreement, described RMCP message is confirmed as effectively.
10. the baseboard management controller virtual system according to any one of claim 6 to 9, it is characterized in that, the content of described RMCP message request comprises the using state of the central processing unit of inquiry virtual machine, internal memory and storage device, managing virtual machines and migration virtual machine.
CN201310261684.6A 2013-06-27 2013-06-27 Substrate management controller virtual system and method Pending CN104253792A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310261684.6A CN104253792A (en) 2013-06-27 2013-06-27 Substrate management controller virtual system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310261684.6A CN104253792A (en) 2013-06-27 2013-06-27 Substrate management controller virtual system and method

Publications (1)

Publication Number Publication Date
CN104253792A true CN104253792A (en) 2014-12-31

Family

ID=52188333

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310261684.6A Pending CN104253792A (en) 2013-06-27 2013-06-27 Substrate management controller virtual system and method

Country Status (1)

Country Link
CN (1) CN104253792A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108170518A (en) * 2018-01-10 2018-06-15 联想(北京)有限公司 Server admin control system and method
CN110569178A (en) * 2019-09-12 2019-12-13 成都中科大旗软件股份有限公司 interface early warning method and system based on big data platform
CN112015690A (en) * 2019-05-29 2020-12-01 中兴通讯股份有限公司 Intelligent device management method and device, network device and readable storage medium
CN112667363A (en) * 2021-01-05 2021-04-16 浪潮云信息技术股份公司 Method and device for simulating cloud physical host by using virtual machine based on cloud platform
CN116431291A (en) * 2023-06-09 2023-07-14 苏州浪潮智能科技有限公司 Deployment method, system, equipment and storage medium of virtualization management platform

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108170518A (en) * 2018-01-10 2018-06-15 联想(北京)有限公司 Server admin control system and method
CN108170518B (en) * 2018-01-10 2022-07-26 联想(北京)有限公司 Server management control system and method
CN112015690A (en) * 2019-05-29 2020-12-01 中兴通讯股份有限公司 Intelligent device management method and device, network device and readable storage medium
CN110569178A (en) * 2019-09-12 2019-12-13 成都中科大旗软件股份有限公司 interface early warning method and system based on big data platform
CN110569178B (en) * 2019-09-12 2022-12-27 成都中科大旗软件股份有限公司 Interface early warning method and system based on big data platform
CN112667363A (en) * 2021-01-05 2021-04-16 浪潮云信息技术股份公司 Method and device for simulating cloud physical host by using virtual machine based on cloud platform
CN116431291A (en) * 2023-06-09 2023-07-14 苏州浪潮智能科技有限公司 Deployment method, system, equipment and storage medium of virtualization management platform
CN116431291B (en) * 2023-06-09 2023-09-05 苏州浪潮智能科技有限公司 Deployment method, system, equipment and storage medium of virtualization management platform

Similar Documents

Publication Publication Date Title
US11750486B2 (en) Device state management
US11122023B2 (en) Device communication environment
US10547710B2 (en) Device gateway
US8588990B2 (en) Communicating through a server between appliances and applications
US10958648B2 (en) Device communication environment
CN104378218A (en) System and method for managing servers in cabinet
US9756010B2 (en) Resolving network address conflicts
US9973593B2 (en) Device gateway
US9021005B2 (en) System and method to provide remote device management for mobile virtualized platforms
CN104253792A (en) Substrate management controller virtual system and method
JP2016224484A (en) Thin client system, server device, policy management apparatus, control method, and control program
WO2021037079A1 (en) Iot device data management method, apparatus, and system
US10715605B2 (en) System and method for limiting active sessions
US10389597B2 (en) Device asset tracking and service desk using a management system as a data source
CN112073555A (en) Method for configuring IP address, electronic device and computer readable storage medium
TW201514719A (en) System and method for managing servers of data center
CN115333933A (en) Automatic management method, medium and equipment for server on rack in machine room
CN114285842A (en) Electronic reading room building method and system based on cloud desktop
CA3076565C (en) Method for providing data packets from a can bus, control device and system having a can bus
WO2020238057A1 (en) Redis-based mqtt cluster monitoring method, apparatus, and storage medium
TW201514690A (en) System and method of virtualization of a baseboard management controller
US20190215366A1 (en) Cloud Metadata Discovery API
CN105005716A (en) Remote payment system and remote payment method of application program
KR101662801B1 (en) Device redirection system for providing virtualization service
US10135695B1 (en) System and method for managing a remote device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20141231