CN106528308B - A kind of server sensor information acquisition method - Google Patents

A kind of server sensor information acquisition method Download PDF

Info

Publication number
CN106528308B
CN106528308B CN201611050961.9A CN201611050961A CN106528308B CN 106528308 B CN106528308 B CN 106528308B CN 201611050961 A CN201611050961 A CN 201611050961A CN 106528308 B CN106528308 B CN 106528308B
Authority
CN
China
Prior art keywords
bmc
message
ipmi
server
ipmb
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.)
Active
Application number
CN201611050961.9A
Other languages
Chinese (zh)
Other versions
CN106528308A (en
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.)
Shandong Langchao Digital Energy Technology Co ltd
Original Assignee
Shandong Inspur Artificial Intelligence Research Institute 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 Shandong Inspur Artificial Intelligence Research Institute Co Ltd filed Critical Shandong Inspur Artificial Intelligence Research Institute Co Ltd
Priority to CN201611050961.9A priority Critical patent/CN106528308B/en
Publication of CN106528308A publication Critical patent/CN106528308A/en
Application granted granted Critical
Publication of CN106528308B publication Critical patent/CN106528308B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/546Message passing systems or structures, e.g. queues

Abstract

The present invention is more particularly directed to a kind of server sensor information acquisition methods.The server sensor information acquisition method, based on BMC Message Bridging mechanism, increase a BMC sensor device in the realization of the IPMI protocol stack of SMC, while the support of the custom command for the acquisition sensor information that increase BMC sensor device increased to SMC is sent in the realization of the IPMI protocol stack of the BMC of each computing unit;The IPMI protocol stack of SMC is set to have both the function of IPMI Server Yu IPMI Client, thus the management for making SMC be suitable for that there is the server of multiple computing units.The server sensor information acquisition method, based on the BMC Message Bridging mechanism of IPMI protocol, utilize the support extended in IPMI protocol to IPM logical device and custom command, the IPMI protocol stack of SMC is set to have both the function of IPMI Server Yu IPMI Client, thus the management for making SMC be suitable for that there is the server of multiple computing units.

Description

A kind of server sensor information acquisition method
Technical field
The present invention relates to server admin technical field, in particular to a kind of server sensor information acquisition method.
Background technique
System Management Controller SMC (System for the server with multiple computing units, in administrative unit Management Controller, System Management Controller) while acquiring self-sensor device information, it is also necessary to acquisition is each The sensor information of the BMC (Baseboard Management Controller, baseboard management controller) of a computing unit, It is monitored with the operation conditions to entire server.System Management Controller SMC is using IPMI protocol stack identical with BMC Realize code, therefore System Management Controller SMC is inherently as BMC, i.e., is all an IPMI Server, by The Web server of external IP MItool or built-in support IPMI access interface serves as IPMI Client.For BMC, This design is reasonably, because BMC is a relatively simple IPMI in the server with multiple computing units Server。
But for System Management Controller SMC, the access in addition to needing support external IP MI access interface is filled As IPMI Server, it is also necessary to actively initiate the access to the BMC of each computing unit and serve as IPMI Client.Existing Solution in, System Management Controller SMC be by bypass IPMI protocol stack increase a relatively independent access it is each The process of the BMC of computing unit realizes sensor information acquisition, cannot utilize the function of existing IPMI protocol stack well The scalability provided with IPMI protocol, it is therefore necessary to propose a kind of new method for realizing the acquisition of server sensor information.
Based on the above issues, the invention proposes a kind of server sensor information acquisition methods.
Summary of the invention
In order to compensate for the shortcomings of the prior art, the present invention provides a kind of server sensor information acquisitions being simple and efficient Method.
The present invention is achieved through the following technical solutions:
A kind of server sensor information acquisition method, it is characterised in that: in the IPMI protocol of System Management Controller SMC Increase a BMC sensor device in the realization of stack, while increasing in the realization of the IPMI protocol stack of the BMC of each computing unit The support of the custom command for the acquisition sensor information that BMC sensor device increased to System Management Controller SMC is sent; The IPMI protocol stack of System Management Controller SMC is set to have both the function of IPMI Server Yu IPMI Client, to make system Management Controller SMC is suitable for the management of the server with multiple computing units.
The BMC sensor device be it is similar with sensor device defined in IPMI protocol but not with Message The IPM logical device of Handler direct communication;It is sent based on BMC Message Bridging mechanism and obtains sensor information Custom command message packet accesses the BMC of each computing unit.
Server sensor information acquisition method of the present invention, comprising the following steps:
(1) increase a BMC sensor device in the realization of the IPMI protocol stack of System Management Controller SMC;
(2) the BMC sensor device is sent in the form of the Bridging of message inside obtains BMC all sensors information Custom command Get BMC Sensor Readings Command message packet, specify its obtain information message team It is classified as BMCSensor_Q;
(3) the BMC Message Bridging mechanism defined by IPMI, the message packet from BMC sensor device By Post to IPMB interface message queue IPMBIfc_Q;
(4) IPMB interface main thread gets the message packet in IPMBIfc_Q, is judged as that Bridge is requested, directly passes through Data field in message packet, i.e. IPMB request message are sent by actual IPMB physical interface, to server computing unit BMC;
(5) the IPMB receiving thread of the BMC of computing unit receives the IPMB request from System Management Controller SMC, leads to The message routing functionality for crossing Message Handler finally executes custom command Get BMC Sensor Readings The corresponding realization code of Command, custom command collection are obtained and stored in shared buffer by sensor device Data, and IPMB response message is returned to System Management Controller SMC;
(6) IPMB receiving thread receives in the IPMB response message from BMC and Post to IPMBIfc_Q;
(7) IPMB interface main thread obtains message packet and Post to message queue BMCSensor_Q in IPMBIfc_Q In;
(8) the BMC sensor information in the message packet that BMC sensor device extraction BMCSensor_Q is received, and with The form of formatting, which is stored, to be accessed into a dedicated shared buffer for Web server or other tools;
(9) BMC for traversing each computing unit obtains the sensor information of whole computing units.
The beneficial effects of the present invention are: the server sensor information acquisition method, with the BMC Message of IPMI protocol Based on Bridging mechanism, using the support extended in IPMI protocol to IPM logical device and custom command, make system pipes The IPMI protocol stack of reason controller SMC has both the function of IPMI Server Yu IPMI Client, to make system administration control Device SMC is suitable for the management of the server with multiple computing units.
Detailed description of the invention
Attached drawing 1 is server sensor information acquisition method schematic diagram of the present invention.
Specific embodiment
In order to which technical problems, technical solutions and advantages to be solved are more clearly understood, tie below Drawings and examples are closed, the present invention will be described in detail.It should be noted that specific embodiment described herein is only used To explain the present invention, it is not intended to limit the present invention.
In the present embodiment, blade server includes administrative unit, computing unit, crosspoint, power supply unit and fan list Member.There is System Management Controller SMC in administrative unit, there is BMC, System Management Controller SMC to pass through web administration on computing unit Interface externally provides access interface.
The server sensor information acquisition method, increases in the realization of the IPMI protocol stack of System Management Controller SMC Add a BMC sensor device, while increasing in the realization of the IPMI protocol stack of the BMC of each computing unit to system administration control The support of the custom command for the acquisition sensor information that the increased BMC sensor device of device SMC processed is sent;Make system administration control The IPMI protocol stack of device SMC processed has both the function of IPMI Server Yu IPMI Client, to make System Management Controller SMC Management suitable for the server with multiple computing units.
The BMC sensor device be it is similar with sensor device defined in IPMI protocol but not with Message The IPM logical device of Handler direct communication;It is sent based on BMC Message Bridging mechanism and obtains sensor information Custom command message packet accesses the BMC of each computing unit.
The server sensor information acquisition method, comprising the following steps:
(1) increase a BMC sensor device in the realization of the IPMI protocol stack of System Management Controller SMC;
(2) the BMC sensor device is sent in the form of the Bridging of message inside obtains BMC all sensors information Custom command Get BMC Sensor Readings Command message packet, specify its obtain information message team It is classified as BMCSensor_Q;
(3) the BMC Message Bridging mechanism defined by IPMI, the message packet from BMC sensor device By Post to IPMB interface message queue IPMBIfc_Q;
(4) IPMB interface main thread gets the message packet in IPMBIfc_Q, is judged as that Bridge is requested, directly passes through Data field in message packet, i.e. IPMB request message are sent by actual IPMB physical interface, to server computing unit BMC;
(5) the IPMB receiving thread of the BMC of computing unit receives the IPMB request from System Management Controller SMC, leads to The message routing functionality for crossing Message Handler finally executes custom command Get BMC Sensor Readings The corresponding realization code of Command, custom command collection are obtained and stored in shared buffer by sensor device Data, and IPMB response message is returned to System Management Controller SMC;
(6) IPMB receiving thread receives in the IPMB response message from BMC and Post to IPMBIfc_Q;
(7) IPMB interface main thread obtains message packet and Post to message queue BMCSensor_Q in IPMBIfc_Q In;
(8) the BMC sensor information in the message packet that BMC sensor device extraction BMCSensor_Q is received, and with The form of formatting, which is stored, to be accessed into a dedicated shared buffer for Web server or other tools;
(9) BMC for traversing each computing unit obtains the sensor information of whole computing units.
Compared with prior art, it is in place of the main difference of the server sensor information acquisition method:
BMC Message Bridging mechanism in the prior art disappears for what externally input IPMI order was triggered Bridging is ceased, if external management terminal inputs IPMI order through the LAN interface of System Management Controller SMC, triggers system pipes The message Bridging of reason controller SMC forwards this order to arrive the IPMB interface of System Management Controller SMC, and then is sent to certain The BMC of a computing unit, BMC reply response message to the IPMB interface of System Management Controller SMC, then pass through system administration control The message Bridging of device SMC processed is obtained by external management terminal.
And the present invention is based on the BMC Message Bridging mechanism of IPMI protocol, using right in IPMI protocol The support of IPM logical device and custom command extension, makes the IPMI protocol stack of System Management Controller SMC have both IPMI The function of Server and IPMI Client, so that System Management Controller SMC be made to be suitable for the service with multiple computing units The management of device;BMC is accessed using the inside story Bridging of the software logic equipment triggering in System Management Controller SMC, It is obtained again by inside story Bridging shared slow inside the information and storage to System Management Controller SMC that BMC is returned Rush area.

Claims (1)

1. a kind of server sensor information acquisition method, it is characterised in that: in the IPMI protocol stack of System Management Controller SMC Realization in increase a BMC sensor device, while in the realization of the IPMI protocol stack of the BMC of each computing unit increase pair The support of the custom command for the acquisition sensor information that the increased BMC sensor device of System Management Controller SMC is sent;Make The IPMI protocol stack of System Management Controller SMC has both the function of IPMI Server Yu IPMI Client, to make system pipes Manage the management that controller SMC is suitable for the server with multiple computing units;
The BMC sensor device be it is similar with sensor device defined in IPMI protocol but not with Message Handler The IPM logical device of direct communication;It is sent based on BMC Message Bridging mechanism and obtains the customized of sensor information Command messages message accesses the BMC of each computing unit;
The following steps are included:
(1) increase a BMC sensor device in the realization of the IPMI protocol stack of System Management Controller SMC;
(2) the BMC sensor device sends oneself for obtaining BMC all sensors information in the form of the Bridging of message inside The message packet of definition command Get BMC Sensor Readings Command, the message queue for specifying it to obtain information are BMCSensor_Q;
(3) the BMC Message Bridging mechanism defined by IPMI, the message packet quilt from BMC sensor device Post to IPMB interface message queue IPMBIfc_Q;
(4) IPMB interface main thread gets the message packet in IPMBIfc_Q, is judged as that Bridge is requested, directly via reality The IPMB physical interface on border sends the data field in message packet, i.e. IPMB request message, to the BMC of server computing unit;
(5) the IPMB receiving thread of the BMC of computing unit receives the IPMB request from System Management Controller SMC, passes through The message routing functionality of Message Handler finally executes custom command Get BMC Sensor Readings The corresponding realization code of Command, custom command collection are obtained and stored in shared buffer by sensor device Data, and IPMB response message is returned to System Management Controller SMC;
(6) IPMB receiving thread receives in the IPMB response message from BMC and Post to IPMBIfc_Q;
(7) IPMB interface main thread obtains in message packet and Post to message queue BMCSensor_Q in IPMBIfc_Q;
(8) BMC sensor device extracts the BMC sensor information in the message packet that BMCSensor_Q is received, and with format The form of change, which is stored, to be accessed into a dedicated shared buffer for Web server or other tools;
(9) BMC for traversing each computing unit obtains the sensor information of whole computing units.
CN201611050961.9A 2016-11-25 2016-11-25 A kind of server sensor information acquisition method Active CN106528308B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611050961.9A CN106528308B (en) 2016-11-25 2016-11-25 A kind of server sensor information acquisition method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611050961.9A CN106528308B (en) 2016-11-25 2016-11-25 A kind of server sensor information acquisition method

Publications (2)

Publication Number Publication Date
CN106528308A CN106528308A (en) 2017-03-22
CN106528308B true CN106528308B (en) 2019-07-02

Family

ID=58356939

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611050961.9A Active CN106528308B (en) 2016-11-25 2016-11-25 A kind of server sensor information acquisition method

Country Status (1)

Country Link
CN (1) CN106528308B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106850814B (en) * 2017-02-15 2020-02-14 浪潮集团有限公司 Method for realizing sensor information acquisition by adding custom command support
CN109933562A (en) * 2018-12-13 2019-06-25 英业达科技有限公司 Server architecture, resource assemblage method and the method for obtaining server sensing data
CN110730098B (en) * 2019-10-18 2022-11-22 山东浪潮科学研究院有限公司 Server management system, management method and server
CN110661691A (en) * 2019-10-21 2020-01-07 山东浪潮人工智能研究院有限公司 Remote debugging system and method for embedded Linux equipment
CN111858238A (en) * 2020-06-29 2020-10-30 山东云海国创云计算装备产业创新中心有限公司 Method, device and equipment for managing CPU state data

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104104543A (en) * 2014-07-17 2014-10-15 浪潮集团有限公司 Server managing system and method based on SNMP and IPMI protocol
US8930519B2 (en) * 2013-01-08 2015-01-06 American Megatrends, Inc. Emulated communication between master management instance and assisting management instances on baseboard management controller
CN105224756A (en) * 2015-10-14 2016-01-06 浪潮电子信息产业股份有限公司 A kind of method for designing obtaining SmartRack whole machine cabinet air quantity
CN105429854A (en) * 2015-11-27 2016-03-23 浪潮集团有限公司 PET message transferring system and method for server management system
CN105868077A (en) * 2016-04-12 2016-08-17 浪潮电子信息产业股份有限公司 Method for obtaining monitoring information of complete cabinet server nodes

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8930519B2 (en) * 2013-01-08 2015-01-06 American Megatrends, Inc. Emulated communication between master management instance and assisting management instances on baseboard management controller
CN104104543A (en) * 2014-07-17 2014-10-15 浪潮集团有限公司 Server managing system and method based on SNMP and IPMI protocol
CN105224756A (en) * 2015-10-14 2016-01-06 浪潮电子信息产业股份有限公司 A kind of method for designing obtaining SmartRack whole machine cabinet air quantity
CN105429854A (en) * 2015-11-27 2016-03-23 浪潮集团有限公司 PET message transferring system and method for server management system
CN105868077A (en) * 2016-04-12 2016-08-17 浪潮电子信息产业股份有限公司 Method for obtaining monitoring information of complete cabinet server nodes

Also Published As

Publication number Publication date
CN106528308A (en) 2017-03-22

Similar Documents

Publication Publication Date Title
CN106528308B (en) A kind of server sensor information acquisition method
US11252060B2 (en) Data center traffic analytics synchronization
US9612854B2 (en) System and method for virtualizing a remote device
US9307017B2 (en) Member-oriented hybrid cloud operating system architecture and communication method thereof
US9998566B2 (en) Intelligent gateway with a common data format
WO2017107018A1 (en) Method, device, and system for discovering the relationship of applied topology
WO2018049966A1 (en) Method, apparatus and system for controlling video monitoring system
CN103827828A (en) System and method for providing flexibility in load balancing and data compression in a traffic director environment
TWI577164B (en) Scalable address resolution
US10666509B2 (en) Transporting multi-destination networking traffic by sending repetitive unicast
CN111543038A (en) Network stream splicing using middleware stream splicing
US8903960B2 (en) Activate attribute for service profiles in unified computing system
US10318392B2 (en) Management system for virtual machine failure detection and recovery
CN102811219A (en) Method for remotely accessing desktop of computer in intranet across network segments in cluster system
CN108139936A (en) The methods, devices and systems of access to the serial port from the virtual machine in the virtual application of deployment are provided
US20180026829A1 (en) Device or vendor independent network switch management via embedded management controller stack
JP2014014051A5 (en) COMMUNICATION DEVICE, COMMUNICATION SYSTEM, COMMUNICATION METHOD, AND PROGRAM
CN108234208A (en) The visualization load balancing dispositions method and system of resource management based on business
CN103716337B (en) The method that system for cloud computing system and wherein data process
CN108650337B (en) Server detection method, system and storage medium
KR102565409B1 (en) Method, device, electronic equipment for adjusting the number of instances and readble storage medium
KR20160103110A (en) Network element data access method and apparatus, and network management system
US20160269492A1 (en) System and method for dynamic discovery of web services for a management console
KR101698184B1 (en) The home network virtualization apparatus and method therefor
CN103701642A (en) Centralized management method for network equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20190604

Address after: 250100 North Sixth Floor, S05 Building, No. 1036 Tidal Road, Jinan High-tech Zone, Shandong Province

Applicant after: Shandong Wave Artificial Intelligence Research Institute Co., Ltd.

Address before: 250100 First Floor of R&D Building 2877 Kehang Road, Sun Village Town, Jinan High-tech Zone, Shandong Province

Applicant before: Ji'nan wave high and New Technology Investment Development Co., Ltd.

GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20210713

Address after: Building S02, 1036 Gaoxin Langchao Road, Jinan, Shandong 250100

Patentee after: Shandong Inspur Scientific Research Institute Co.,Ltd.

Address before: North 6th floor, S05 building, Langchao Science Park, 1036 Langchao Road, hi tech Zone, Jinan City, Shandong Province, 250100

Patentee before: SHANDONG INSPUR ARTIFICIAL INTELLIGENCE RESEARCH INSTITUTE Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20210809

Address after: North 6th floor, S05 building, Langchao Science Park, 1036 Langchao Road, hi tech Zone, Jinan City, Shandong Province, 250100

Patentee after: Jinan Tengming Information Technology Co.,Ltd.

Address before: Building S02, 1036 Gaoxin Langchao Road, Jinan, Shandong 250100

Patentee before: Shandong Inspur Scientific Research Institute Co.,Ltd.

CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: North 6th floor, S05 building, Langchao Science Park, 1036 Langchao Road, hi tech Zone, Jinan City, Shandong Province, 250100

Patentee after: Shandong Langchao Digital Energy Technology Co.,Ltd.

Address before: North 6th floor, S05 building, Langchao Science Park, 1036 Langchao Road, hi tech Zone, Jinan City, Shandong Province, 250100

Patentee before: Jinan Tengming Information Technology Co.,Ltd.