CN106850814A - It is a kind of to increase the method that custom command is supported to realize sensor information collection - Google Patents

It is a kind of to increase the method that custom command is supported to realize sensor information collection Download PDF

Info

Publication number
CN106850814A
CN106850814A CN201710080629.5A CN201710080629A CN106850814A CN 106850814 A CN106850814 A CN 106850814A CN 201710080629 A CN201710080629 A CN 201710080629A CN 106850814 A CN106850814 A CN 106850814A
Authority
CN
China
Prior art keywords
ipmi
custom command
increase
bmc
smc
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
CN201710080629.5A
Other languages
Chinese (zh)
Other versions
CN106850814B (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.)
Tidal Group 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 CN201710080629.5A priority Critical patent/CN106850814B/en
Publication of CN106850814A publication Critical patent/CN106850814A/en
Application granted granted Critical
Publication of CN106850814B publication Critical patent/CN106850814B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3065Monitoring arrangements determined by the means or processing involved in reporting the monitored data
    • G06F11/3086Monitoring arrangements determined by the means or processing involved in reporting the monitored data where the reporting involves the use of self describing data formats, i.e. metadata, markup languages, human readable formats
    • 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/466Transaction processing
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/30Definitions, standards or architectural aspects of layered protocol stacks

Abstract

Increase the method that custom command is supported to realize sensor information collection the present invention be more particularly directed to a kind of.The method for realizing sensor information collection is supported in the increase custom command, a sensor collecting thread is increased in the IPMI protocol stack of SMC, and increase the support to custom command in the IPMI protocol stack of the BMC of each computing unit;The sensor collecting thread not with Message Handler direct communications, the command mapping table that the function of the custom command can be provided by the Message Handler of BMC is indexed and calls, and then the IPMI protocol stack of SMC is had the function of IPMI Server and IPMI Client concurrently, SMC is applied to the information gathering of the sensor of the server with multiple computing units.The method for realizing sensor information collection is supported in the increase custom command, based on the realization of IPMI protocol stack, the IPMI protocol stack of SMC is set to have the function of IPMI Server and IPMI Client concurrently by only carrying out less change, it is adaptable to the sensor information collection of the server with multiple computing units.

Description

It is a kind of to increase the method that custom command is supported to realize sensor information collection
Technical field
The present invention relates to server admin technical field, more particularly to a kind of increase custom command is supported to realize sensor The method of information gathering.
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 is used and BMC identicals IPMI(Intelligent Platform Management Interface)Agreement Stack realizes code, therefore it as BMC, i.e., is all an IPMI Server, by outside that SMC is inherently The Web server of IPMItool or built-in support IPMI access interfaces serves as IPMI Client.It is this for BMC Design is rational, because in the server with multiple computing units, 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 interfaces, 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 above mentioned problem, the present invention proposes a kind of increase custom command and supports to realize the side of sensor information collection Method.
The content of the invention
Defect in order to make up prior art of the invention, there is provided a kind of simple efficient increase custom command is supported in fact The method of existing sensor information collection.
The present invention is achieved through the following technical solutions:
It is a kind of to increase the method that custom command is supported to realize sensor information collection, it is characterised in that:In the IPMI protocol of SMC Increase a sensor collecting thread in stack, and increase to self-defined life in the IPMI protocol stack of the BMC of each computing unit The support of order;The sensor collecting thread not with Message Handler direct communications, the function of the custom command can The command mapping table provided by the Message Handler of BMC is indexed and called, and then makes the IPMI protocol stack of SMC simultaneous The function of tool IPMI Server and IPMI Client, makes SMC be applied to the sensor of the server with multiple computing units Information gathering.
The replying message for custom command of sensor information of the acquisition BMC initiated by the sensor collecting thread be One IPMI response message, but the Message Handler of SMC are regarded as an IPMI request message and are rung rather than IPMI Message is answered, handled by the function asked such that it is able to the IPMI that is processed;By judging network in the function for the treatment of IPMI requests Function code NetFn recognizes the IPMI response messages of the custom command, and process to provide outside access accordingly; And the implementation method of the custom command that BMC is then specified using standard IPMI protocol is supported to custom command.
The custom command of each computing unit sensing data, institute are sent, obtained by the sensor collecting thread State custom command and be different from other command sets using untapped network function code NetFn in system, while in Message Increase the judgement for replying message middle network function code NetFn of BMC in the function of Handler treatment IPMI requests;If network The value of function code NetFn is designated as network function code NetFn specific to custom command, then intercept and capture this and reply message and parse Sensing data therein, to supply outside access in storage in the form of formatting to shared buffer.
The present invention increases the method that custom command is supported to realize sensor information collection, comprises the following steps:
(1)Increase a sensor collecting thread in the IPMI protocol stack of SMC;
(2)Sensor collecting thread sends, obtains the custom command of certain computing unit sensing data, the self-defined life Order is different from other command sets using untapped network function code NetFn in system;
(3)The Message Handler of the BMC of computing unit are indexed by the method for command mapping table and are invoked at IPMI protocol The function realization of increased custom command in stack, SMC is replied after obtaining the sensor information of BMC in the form of IPMI responses;
(4)Increase network function in being replied message to BMC in the function of the Message Handler treatment IPMI requests of SMC The judgement of code NetFn, if the value of network function code NetFn is designated as network function code NetFn specific to custom command, Then intercept and capture this to reply message and parse sensing data therein, to supply outside in storage in the form of formatting to shared buffer Access;
(5)The BMC for traveling through each computing unit obtains the sensor information of whole computing units.
The beneficial effects of the invention are as follows:The method for realizing sensor information collection is supported in the increase custom command, with Based on the realization of IPMI protocol stack, a sensor collecting thread is increased in the IPMI protocol stack of SMC, and in each calculating Increase the support to custom command in the IPMI protocol stack of the BMC of unit, the IPMI of SMC is made by only carrying out less change Protocol stack has the function of IPMI Server and IPMI Client concurrently, it is adaptable to the sensing of the server with multiple computing units Device information gathering.
Brief description of the drawings
Accompanying drawing 1 is supported to realize the method schematic diagram of sensor information collection for the present invention increases custom command.
Specific embodiment
In order that the technical problems to be solved by the invention, 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, there is BMC, SMC externally to provide access interface by web management interface on computing unit.
The method for realizing sensor information collection is supported in the increase custom command, is increased in the IPMI protocol stack of SMC One sensor collecting thread, and increase the support to custom command in the IPMI protocol stack of the BMC of each computing unit; The sensor collecting thread not with Message Handler direct communications, the function of the custom command can be by BMC's The command mapping table that Message Handler are provided is indexed and calls, and then the IPMI protocol stack of SMC is had IPMI concurrently The function of Server and IPMI Client, the information for making SMC be applied to the sensor of the server with multiple computing units is adopted Collection.
The replying message for custom command of sensor information of the acquisition BMC initiated by the sensor collecting thread be One IPMI response message, but the Message Handler of SMC are regarded as an IPMI request message and are rung rather than IPMI Message is answered, handled by the function asked such that it is able to the IPMI that is processed;By judging network in the function for the treatment of IPMI requests Function code NetFn recognizes the IPMI response messages of the custom command, and process to provide outside access accordingly; And the implementation method of the custom command that BMC is then specified using standard IPMI protocol is supported to custom command.
The custom command of each computing unit sensing data, institute are sent, obtained by the sensor collecting thread State custom command and be different from other command sets using untapped network function code NetFn in system, while in Message Increase the judgement for replying message middle network function code NetFn of BMC in the function of Handler treatment IPMI requests;If network The value of function code NetFn is designated as network function code NetFn specific to custom command, then intercept and capture this and reply message and parse Sensing data therein, to supply outside access in storage in the form of formatting to shared buffer.
The method for realizing sensor information collection is supported in the increase custom command, is comprised the following steps:
(1)Increase a sensor collecting thread in the IPMI protocol stack of SMC;
(2)Sensor collecting thread sends, obtains the custom command of certain computing unit sensing data, the self-defined life Order is different from other command sets using untapped network function code NetFn in system;
(3)The Message Handler of the BMC of computing unit are indexed by the method for command mapping table and are invoked at IPMI protocol The function realization of increased custom command in stack, SMC is replied after obtaining the sensor information of BMC in the form of IPMI responses;
(4)Increase network function in being replied message to BMC in the function of the Message Handler treatment IPMI requests of SMC The judgement of code NetFn, if the value of network function code NetFn is designated as network function code NetFn specific to custom command, Then intercept and capture this to reply message and parse sensing data therein, to supply outside in storage in the form of formatting to shared buffer Access;
(5)The BMC for traveling through each computing unit obtains the sensor information of whole computing units.
SMC is in addition to the repertoire for possessing standard IPMI protocol stack, moreover it is possible in running IPMI protocol stack proposed by the present invention Increased sensor collecting thread and the Web server by customization.The sensor collecting thread of SMC sends, obtains BMC wholes The custom command of sensor information, by the processing procedure of the above method, the information that BMC performs custom command return is final Handled by the function of the Message Handler treatment IPMI requests of SMC, the shape by sensing data therein to format Formula is stored in shared buffer, and the access interface to data in shared buffer is provided by the Web server for customizing, and is passed through Web management interface can show the sensor information of SMC and each computing unit for getting.

Claims (4)

  1. It is 1. a kind of to increase the method that custom command is supported to realize sensor information collection, it is characterised in that:Assisted in the IPMI of SMC Increase a sensor collecting thread in view stack, and increase to self-defined in the IPMI protocol stack of the BMC of each computing unit The support of order;The sensor collecting thread not with Message Handler direct communications, the function of the custom command The command mapping table that can be provided by the Message Handler of BMC is indexed and called, and then makes the IPMI protocol stack of SMC Have the function of IPMI Server and IPMI Client concurrently, SMC is applied to the sensing of the server with multiple computing units The information gathering of device.
  2. 2. according to claim 1 to increase the method that custom command is supported to realize sensor information collection, its feature exists In:The replying message for custom command of the sensor information of the acquisition BMC initiated by the sensor collecting thread is one IPMI response messages, but the Message Handler of SMC are regarded as an IPMI request message and disappear rather than IPMI responses Cease, handled by the function asked such that it is able to the IPMI that is processed;By judging network function in the function for the treatment of IPMI requests Code NetFn recognizes the IPMI response messages of the custom command, and process to provide outside access accordingly;And The implementation method of the custom command that BMC is then specified using standard IPMI protocol is supported to custom command.
  3. 3. according to claim 1 to increase the method that custom command is supported to realize sensor information collection, its feature exists In:The custom command of each computing unit sensing data is sent, obtained by the sensor collecting thread, it is described to make by oneself Justice order is different from other command sets using untapped network function code NetFn in system, while in Message Increase the judgement for replying message middle network function code NetFn of BMC in the function of Handler treatment IPMI requests;If network The value of function code NetFn is designated as network function code NetFn specific to custom command, then intercept and capture this and reply message and parse Sensing data therein, to supply outside access in storage in the form of formatting to shared buffer.
  4. 4. the increase custom command according to claim 1-3 any one is supported to realize the side of sensor information collection Method, it is characterised in that comprise the following steps:
    (1)Increase a sensor collecting thread in the IPMI protocol stack of SMC;
    (2)Sensor collecting thread sends, obtains the custom command of certain computing unit sensing data, the self-defined life Order is different from other command sets using untapped network function code NetFn in system;
    (3)The Message Handler of the BMC of computing unit are indexed by the method for command mapping table and are invoked at IPMI protocol The function realization of increased custom command in stack, SMC is replied after obtaining the sensor information of BMC in the form of IPMI responses;
    (4)Increase network function in being replied message to BMC in the function of the Message Handler treatment IPMI requests of SMC The judgement of code NetFn, if the value of network function code NetFn is designated as network function code NetFn specific to custom command, Then intercept and capture this to reply message and parse sensing data therein, to supply outside in storage in the form of formatting to shared buffer Access;
    (5)The BMC for traveling through each computing unit obtains the sensor information of whole computing units.
CN201710080629.5A 2017-02-15 2017-02-15 Method for realizing sensor information acquisition by adding custom command support Active CN106850814B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710080629.5A CN106850814B (en) 2017-02-15 2017-02-15 Method for realizing sensor information acquisition by adding custom command support

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710080629.5A CN106850814B (en) 2017-02-15 2017-02-15 Method for realizing sensor information acquisition by adding custom command support

Publications (2)

Publication Number Publication Date
CN106850814A true CN106850814A (en) 2017-06-13
CN106850814B CN106850814B (en) 2020-02-14

Family

ID=59127620

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710080629.5A Active CN106850814B (en) 2017-02-15 2017-02-15 Method for realizing sensor information acquisition by adding custom command support

Country Status (1)

Country Link
CN (1) CN106850814B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111309333A (en) * 2020-02-13 2020-06-19 山东超越数控电子股份有限公司 Structure for remotely operating BMC through SMC and implementation method thereof
CN111858238A (en) * 2020-06-29 2020-10-30 山东云海国创云计算装备产业创新中心有限公司 Method, device and equipment for managing CPU state data

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7844866B2 (en) * 2007-10-02 2010-11-30 International Business Machines Corporation Mechanism to report operating system events on an intelligent platform management interface compliant server
CN102026042A (en) * 2009-09-18 2011-04-20 中兴通讯股份有限公司 Keep-alive and self-healing method and device for advanced telecom computing architecture control surface
CN102594602A (en) * 2012-02-23 2012-07-18 浪潮电子信息产业股份有限公司 Location management design method of multi-node cloud computing server
CN103916280A (en) * 2014-04-15 2014-07-09 浪潮电子信息产业股份有限公司 Blade server management network driving DHCP allocating method
CN104104543A (en) * 2014-07-17 2014-10-15 浪潮集团有限公司 Server managing system and method based on SNMP and IPMI protocol
CN104899063A (en) * 2015-06-01 2015-09-09 浪潮集团有限公司 Server management system and startup method
CN105389242A (en) * 2015-10-14 2016-03-09 浪潮电子信息产业股份有限公司 Method for acquiring overall cabinet server information in batch
CN105868077A (en) * 2016-04-12 2016-08-17 浪潮电子信息产业股份有限公司 Method for obtaining monitoring information of complete cabinet server nodes
CN106528308A (en) * 2016-11-25 2017-03-22 济南浪潮高新科技投资发展有限公司 Server sensor information collection method

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7844866B2 (en) * 2007-10-02 2010-11-30 International Business Machines Corporation Mechanism to report operating system events on an intelligent platform management interface compliant server
CN102026042A (en) * 2009-09-18 2011-04-20 中兴通讯股份有限公司 Keep-alive and self-healing method and device for advanced telecom computing architecture control surface
CN102594602A (en) * 2012-02-23 2012-07-18 浪潮电子信息产业股份有限公司 Location management design method of multi-node cloud computing server
CN103916280A (en) * 2014-04-15 2014-07-09 浪潮电子信息产业股份有限公司 Blade server management network driving DHCP allocating method
CN104104543A (en) * 2014-07-17 2014-10-15 浪潮集团有限公司 Server managing system and method based on SNMP and IPMI protocol
CN104899063A (en) * 2015-06-01 2015-09-09 浪潮集团有限公司 Server management system and startup method
CN105389242A (en) * 2015-10-14 2016-03-09 浪潮电子信息产业股份有限公司 Method for acquiring overall cabinet server information in batch
CN105868077A (en) * 2016-04-12 2016-08-17 浪潮电子信息产业股份有限公司 Method for obtaining monitoring information of complete cabinet server nodes
CN106528308A (en) * 2016-11-25 2017-03-22 济南浪潮高新科技投资发展有限公司 Server sensor information collection method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111309333A (en) * 2020-02-13 2020-06-19 山东超越数控电子股份有限公司 Structure for remotely operating BMC through SMC and implementation method thereof
CN111309333B (en) * 2020-02-13 2023-08-08 超越科技股份有限公司 Structure for remotely operating BMC through SMC and implementation method thereof
CN111858238A (en) * 2020-06-29 2020-10-30 山东云海国创云计算装备产业创新中心有限公司 Method, device and equipment for managing CPU state data

Also Published As

Publication number Publication date
CN106850814B (en) 2020-02-14

Similar Documents

Publication Publication Date Title
CN104243481B (en) A kind of method and system of power information acquisition advance data processing
CN110659109B (en) System and method for monitoring openstack virtual machine
CN108566290A (en) service configuration management method, system, storage medium and server
WO2022179140A1 (en) Data processing method and system
CN100563214C (en) A kind of method and system that improve accesses network resource speed
WO2018121334A1 (en) Web application service providing method, apparatus, electronic device and system
CN108848170A (en) A kind of mist cluster management system and method based on nagios monitoring
CN101388903A (en) Mobile enterprise IT standardization management platform
CN109769029B (en) Communication connection method based on electricity consumption information acquisition system and terminal equipment
CN104536405A (en) Remote monitoring system of air conditioning unit
CN110928258A (en) Industrial data acquisition system
CN103259684A (en) Internet service monitoring method and system
CN108090000A (en) A kind of method and system for obtaining CPU register informations
CN106850814A (en) It is a kind of to increase the method that custom command is supported to realize sensor information collection
CN109617966A (en) A kind of cloud pipe Platform deployment system and method based on Openstack
CN112769876B (en) Method, device, equipment and medium for acquiring equipment channel information
CN106528308A (en) Server sensor information collection method
CN111092942A (en) Message processing method and device, electronic equipment and storage medium
CN113010379B (en) Electronic equipment monitoring system
CN208046653U (en) A kind of electric power monitoring system network security monitoring main website plateform system
CN112910733A (en) Full link monitoring system and method based on big data
CN104243473A (en) Data transmission method and device
CN107612755A (en) The management method and its device of a kind of cloud resource
CN102281334B (en) A kind of management control method of catv terminal and system and access server
CN110750425A (en) Database monitoring method, device and system and storage medium

Legal Events

Date Code Title Description
PB01 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: 20200109

Address after: 250100 Ji'nan high tech Zone, Shandong, No. 1036 wave road

Applicant after: Tidal Group Co., Ltd.

Address before: 250100, Ji'nan province high tech Zone, Sun Village Branch Road, No. 2877, building, floor, building, on the first floor

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

GR01 Patent grant
GR01 Patent grant