CN106528308A - Server sensor information collection method - Google Patents

Server sensor information collection method Download PDF

Info

Publication number
CN106528308A
CN106528308A CN201611050961.9A CN201611050961A CN106528308A CN 106528308 A CN106528308 A CN 106528308A CN 201611050961 A CN201611050961 A CN 201611050961A CN 106528308 A CN106528308 A CN 106528308A
Authority
CN
China
Prior art keywords
bmc
message
server
smc
ipmi
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.)
Granted
Application number
CN201611050961.9A
Other languages
Chinese (zh)
Other versions
CN106528308B (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
Jinan Inspur Hi Tech Investment and Development 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 Jinan Inspur Hi Tech Investment and Development Co Ltd filed Critical Jinan Inspur Hi Tech Investment and Development 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 invention relates to a server sensor information collection method. According to the server sensor information collection method, a BMC sensor device is added in an IPMI protocol stack of the SMC based on the BMC Message Bridging mechanism, and meanwhile support to a user-defined command of obtaining sensor information sent by the BMC sensor device to the SMC is added to the implementation of the IPMI protocol stack of the BMC of each computing unit; and the IPMI protocol stack of the SMC has IPMI Server and IPMI Client functions, so that the SMC is applicable to the management of a server having a plurality of computing units. According to the server sensor information collection method, on the basis of the BMC Message Bridging mechanism of the IPMI protocol, by means of the support to the IPM logic device and the expansion of the user-defined command in the IPMI protocol, the IPMI protocol stack of the SMC has the IPMI Server and IPMI Client functions, so that the SMC is applicable to the management of the server having the plurality of computing units.

Description

A kind of server sensor information acquisition method
Technical field
The present invention relates to server admin technical field, more particularly to a kind of server sensor information acquisition method.
Background technology
For the server with multiple computing units, the SMC in its administrative unit(System Management Controller, System Management Controller)While self-sensor device information is gathered, in addition it is also necessary to gather each computing unit BMC(Baseboard Management Controller, baseboard management controller)Sensor information, with to whole service The operation conditions of device is monitored.SMC realizes code using with BMC identical IPMI protocol stacks, therefore SMC is inherently As BMC, i.e., all it is an IPMI Server, by external IP MItool or built-in support IPMI access interfaces Web server serves as IPMI Client.For BMC, this design is rational, because with multiple computing units Server in, BMC is a relatively simple IPMI Server.
But for SMC, except needing to support that IPMI Server are served as in the access of external IP MI access interface, Also need to actively initiate to serve as IPMI Client to the access of the BMC of each computing unit.In existing solution, SMC is that the process for increasing a relatively independent BMC for accessing each computing unit by bypassing IPMI protocol stack realizes sensing Device information gathering, it is impossible to the autgmentability for being provided using the function and IPMI protocol of existing IPMI protocol stack well, therefore It is necessary to propose a kind of new method for realizing the collection of server sensor information.
Based on the problems referred to above, the present invention proposes a kind of server sensor information acquisition method.
The content of the invention
The present invention is in order to make up the defect of prior art, there is provided a kind of simple efficient server sensor information collection Method.
The present invention is achieved through the following technical solutions:
A kind of server sensor information acquisition method, it is characterised in that:Increase by one in the realization of the IPMI protocol stack of SMC BMC sensor devices, while increasing the BMC sensings increased to SMC in the realization of the IPMI protocol stack of the BMC of each computing unit The support of the custom command of the acquisition sensor information that device equipment sends;The IPMI protocol stack of SMC is made to have IPMI Server concurrently With the function of IPMI Client so that SMC be applied to multiple computing units server management.
The BMC sensor devices be similar with the sensor device defined in IPMI protocol but not with Message The IPM logical device of Handler direction communications;Sent based on BMC Message Bridging mechanism and obtain sensor information Custom command message packet accesses the BMC of each computing unit.
Server sensor information acquisition method of the present invention, comprises the following steps:
(1)Increase a BMC sensor device in the realization of the IPMI protocol stack of SMC;
(2)The BMC sensor devices send oneself of acquisition BMC all sensors information in the form of the Bridging of message inside The message packet of definition command Get BMC Sensor Readings Command, it is intended that its obtain information message queue be BMCSensor_Q;
(3)The BMC Message Bridging mechanism defined by IPMI, from the message packet quilt of BMC sensor devices Post to IPMB interface message queue IPMBIfc_Q;
(4)IPMB interface main threads get the message packet in IPMBIfc_Q, are judged as that Bridge is asked, directly via reality The IPMB physical interfaces on border send the data field in message packet, i.e. IPMB request messages, to the BMC of server computing unit;
(5)The IPMB receiving threads of the BMC of computing unit are received asks from the IPMB of SMC, by Message Handler's Message routing functionality finally performs that custom command Get BMC Sensor Readings Command are corresponding to realize code, The data being obtained and stored in by sensor device in shared buffer are collected in the custom command, and return IPMB sound to SMC Answer message;
(6)IPMB receiving threads are received in the IPMB response messages Post to IPMBIfc_Q of BMC;
(7)IPMB interfaces main thread is obtained in message packet Post to message queue BMCSensor_Q in IPMBIfc_Q;
(8)BMC sensor devices extract the BMC sensor informations in the message packet that BMCSensor_Q is received, and with form The form of change is stored in a special shared buffer, supplies Web server or other instruments to access;
(9)The BMC for traveling through each computing unit obtains the sensor information of whole computing units.
The invention has the beneficial effects as follows:The server sensor information acquisition method, with the BMC Message of IPMI protocol Based on Bridging mechanism, using the support extended to IPM logical device and custom command in IPMI protocol, make SMC's IPMI protocol stack has the function of IPMI Server and IPMI Client concurrently, so that SMC is applied to multiple computing units Server management.
Description of the drawings
Accompanying drawing 1 is server sensor information acquisition method schematic diagram of the present invention.
Specific embodiment
In order that the technical problem to be solved, technical scheme and beneficial effect become more apparent, below tie 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 subsystem and fan list Unit.There is SMC in administrative unit, on computing unit, have BMC, SMC access interface externally to be provided by web management interface.
The server sensor information acquisition method, increases a BMC sensor in the realization of the IPMI protocol stack of SMC Equipment, while increase in the realization of the IPMI protocol stack of the BMC of each computing unit sending out to the BMC sensor devices that SMC increases The support of the custom command of the acquisition sensor information sent;The IPMI protocol stack of SMC is made to have IPMI Server and IPMI concurrently The function of Client, so that SMC is applied to the management of the server with multiple computing units.
The BMC sensor devices be similar with the sensor device defined in IPMI protocol but not with Message The IPM logical device of Handler direction communications;Sent based on BMC Message Bridging mechanism and obtain sensor information Custom command message packet accesses the BMC of each computing unit.
The server sensor information acquisition method, comprises the following steps:
(1)Increase a BMC sensor device in the realization of the IPMI protocol stack of SMC;
(2)The BMC sensor devices send oneself of acquisition BMC all sensors information in the form of the Bridging of message inside The message packet of definition command Get BMC Sensor Readings Command, it is intended that its obtain information message queue be BMCSensor_Q;
(3)The BMC Message Bridging mechanism defined by IPMI, from the message packet quilt of BMC sensor devices Post to IPMB interface message queue IPMBIfc_Q;
(4)IPMB interface main threads get the message packet in IPMBIfc_Q, are judged as that Bridge is asked, directly via reality The IPMB physical interfaces on border send the data field in message packet, i.e. IPMB request messages, to the BMC of server computing unit;
(5)The IPMB receiving threads of the BMC of computing unit are received asks from the IPMB of SMC, by Message Handler's Message routing functionality finally performs that custom command Get BMC Sensor Readings Command are corresponding to realize code, The data being obtained and stored in by sensor device in shared buffer are collected in the custom command, and return IPMB sound to SMC Answer message;
(6)IPMB receiving threads are received in the IPMB response messages Post to IPMBIfc_Q of BMC;
(7)IPMB interfaces main thread is obtained in message packet Post to message queue BMCSensor_Q in IPMBIfc_Q;
(8)BMC sensor devices extract the BMC sensor informations in the message packet that BMCSensor_Q is received, and with form The form of change is stored in a special shared buffer, supplies Web server or other instruments to access;
(9)The BMC for traveling through each computing unit obtains the sensor information of whole computing units.
Compared with prior art, in place of the main difference of the server sensor information acquisition method it is:
BMC Message Bridging mechanism of the prior art is used for the message triggered by the IPMI orders of outside input The LAN interface input IPMI orders of Bridging, such as external management terminal Jing SMC, message Bridging for triggering SMC forward this Order the IPMB interfaces of SMC, and then be sent to the BMC of certain computing unit, BMC replys response message and connects to the IPMB of SMC Mouthful, then obtained by external management terminal by message Bridging of SMC.
And the present invention is based on the BMC Message Bridging mechanism of IPMI protocol, using right in IPMI protocol IPM logical device and the support of custom command extension, make the IPMI protocol stack of SMC have IPMI Server and IPMI concurrently The function of Client, so that SMC is applied to the management of the server with multiple computing units;Patrolled using the software in SMC The inside story Bridging access BMC of the equipment of collecting triggering, then by the information of inside story Bridging acquisition BMC returns simultaneously Store the shared buffer inside SMC.

Claims (3)

1. a kind of server sensor information acquisition method, it is characterised in that:Increase by one in the realization of the IPMI protocol stack of SMC Individual BMC sensor devices, while increase in the realization of the IPMI protocol stack of the BMC of each computing unit passing to the BMC that SMC increases The support of the custom command of the acquisition sensor information that sensor equipment sends;The IPMI protocol stack of SMC is made to have IPMI concurrently The function of Server and IPMI Client, so that SMC is applied to the management of the server with multiple computing units.
2. server sensor information acquisition method according to claim 1, it is characterised in that:The BMC sensors set It is standby to be similar with the sensor device defined in IPMI protocol but do not set with the IPM logics of Message Handler direction communications It is standby;The each meter of custom command message packet access for obtaining sensor information is sent based on BMC Message Bridging mechanism Calculate the BMC of unit.
3. server sensor information acquisition method according to claim 1, it is characterised in that comprise the following steps:
(1)Increase a BMC sensor device in the realization of the IPMI protocol stack of SMC;
(2)The BMC sensor devices send oneself of acquisition BMC all sensors information in the form of the Bridging of message inside The message packet of definition command Get BMC Sensor Readings Command, it is intended that its obtain information message queue be BMCSensor_Q;
(3)The BMC Message Bridging mechanism defined by IPMI, from the message packet quilt of BMC sensor devices Post to IPMB interface message queue IPMBIfc_Q;
(4)IPMB interface main threads get the message packet in IPMBIfc_Q, are judged as that Bridge is asked, directly via reality The IPMB physical interfaces on border send the data field in message packet, i.e. IPMB request messages, to the BMC of server computing unit;
(5)The IPMB receiving threads of the BMC of computing unit are received asks from the IPMB of SMC, by Message Handler's Message routing functionality finally performs that custom command Get BMC Sensor Readings Command are corresponding to realize code, The data being obtained and stored in by sensor device in shared buffer are collected in the custom command, and return IPMB sound to SMC Answer message;
(6)IPMB receiving threads are received in the IPMB response messages Post to IPMBIfc_Q of BMC;
(7)IPMB interfaces main thread is obtained in message packet Post to message queue BMCSensor_Q in IPMBIfc_Q;
(8)BMC sensor devices extract the BMC sensor informations in the message packet that BMCSensor_Q is received, and with form The form of change is stored in a special shared buffer, supplies Web server or other instruments to access;
(9)The BMC for traveling through 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 true CN106528308A (en) 2017-03-22
CN106528308B 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)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106850814A (en) * 2017-02-15 2017-06-13 济南浪潮高新科技投资发展有限公司 It is a kind of to increase the method that custom command is supported to realize sensor information collection
CN109933562A (en) * 2018-12-13 2019-06-25 英业达科技有限公司 Server architecture, resource assemblage method and the method for obtaining server sensing data
CN110661691A (en) * 2019-10-21 2020-01-07 山东浪潮人工智能研究院有限公司 Remote debugging system and method for embedded Linux equipment
CN110730098A (en) * 2019-10-18 2020-01-24 山东浪潮人工智能研究院有限公司 Server management system, management method and server
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

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106850814A (en) * 2017-02-15 2017-06-13 济南浪潮高新科技投资发展有限公司 It is a kind of to increase the method that custom command is supported to realize sensor information collection
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
CN110730098A (en) * 2019-10-18 2020-01-24 山东浪潮人工智能研究院有限公司 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

Also Published As

Publication number Publication date
CN106528308B (en) 2019-07-02

Similar Documents

Publication Publication Date Title
CN106528308A (en) Server sensor information collection method
US10742529B2 (en) Hierarchichal sharding of flows from sensors to collectors
CN110521171B (en) Stream cluster resolution for application performance monitoring and management
US10768841B2 (en) Technologies for managing network statistic counters
CN110865867B (en) Method, device and system for discovering application topological relation
CN103236949B (en) Monitoring method, device and the system of a kind of server cluster
TWI472187B (en) Network system,controller,network management method,storage medium,transmission systemand transmission method
US20180176154A1 (en) Method and system for managing workloads in a cluster
EP3278506B1 (en) Methods and devices for monitoring of network performance for container virtualization
CN111543038B (en) Network stream splicing using middleware stream splicing
US20130227566A1 (en) Data collection method and information processing system
JP2018522471A (en) Software-defined data center and service cluster placement method there
JP5444906B2 (en) Plant monitoring system, plant monitoring device, terminal device
CN104380277A (en) Method, system, and device for managing server hardware resources in a cloud scheduling environment
EP3934206B1 (en) Scalable control plane for telemetry data collection within a distributed computing system
Yang et al. Implementation of a real-time network traffic monitoring service with network functions virtualization
WO2013163865A1 (en) Virtual machine hot migration and deployment method, server and cluster system
JP5560936B2 (en) Configuration information acquisition method, virtual probe, and configuration information acquisition control device
CN113765980A (en) Current limiting method, device, system, server and storage medium
CN106464584A (en) Providing router information according to a programmatic interface
CN108234208A (en) The visualization load balancing dispositions method and system of resource management based on business
EP3720067A1 (en) Method and apparatus for updating forwarding entry
EP3961985A1 (en) Intent-based distributed alarm service
KR20150121891A (en) System for managing cloud streaming server, method of managing cloud streaming server and apparatus for the same
CN111557087A (en) Discovering intermediate devices using traffic stream stitching

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

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.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant
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.

TR01 Transfer of patent right
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.

CP01 Change in the name or title of a patent holder