CN107741860A - Hardware management system, method, apparatus and storage medium based on IPMI - Google Patents

Hardware management system, method, apparatus and storage medium based on IPMI Download PDF

Info

Publication number
CN107741860A
CN107741860A CN201710909968.XA CN201710909968A CN107741860A CN 107741860 A CN107741860 A CN 107741860A CN 201710909968 A CN201710909968 A CN 201710909968A CN 107741860 A CN107741860 A CN 107741860A
Authority
CN
China
Prior art keywords
hardware
ipmi
service layers
application layer
sent
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
CN201710909968.XA
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.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai Information Technology 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 Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201710909968.XA priority Critical patent/CN107741860A/en
Publication of CN107741860A publication Critical patent/CN107741860A/en
Pending legal-status Critical Current

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/30Arrangements for executing machine instructions, e.g. instruction decode
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/10Program control for peripheral devices
    • G06F13/102Program control for peripheral devices where the programme performs an interfacing function, e.g. device driver

Abstract

This application discloses a kind of hardware management system based on IPMI, including application layer, IPMI, and SERVICE layers, wherein, the administration order that SERVICE layers are sent according to application layer, hardware instruction corresponding with administration order is sent to IPMI;IPMI performs hard;Part instructs, and obtains returned data corresponding to hardware instruction, and returned data is sent to SERVICE layers;SERVICE layers send returned data to application layer.In the present invention, application layer focuses on the key logic processing in hardware management, without being concerned with how to drive hardware and being interacted with IPMI;SERVICE layers issue the driving and management that hardware instruction realizes hardware using the administration order that application layer is sent to IPMI.Make the well arranged of system in the present invention, the degree of coupling reduces, and each layer function is clear and definite, and accordingly, the invention also discloses the method for hardware management based on IPMI, device and readable storage medium storing program for executing.

Description

Hardware management system, method, apparatus and storage medium based on IPMI
Technical field
The present invention relates to hardware management field, more particularly to a kind of hardware management system based on IPMI, method, apparatus and Storage medium.
Background technology
With cloud service and the development of big data, the application of storage server is more and more common, while also to its reliability Propose higher requirement.In regular maintenance storage server, the management for hardware platform is particularly significant.In order to ensure to deposit The normal operation of server is stored up, it is necessary to which the moment pays close attention to the running status of its hardware, and hardware is managed when needing And parameter setting, so as to obtain more preferable operational effect.
IPMI (intelligent platform management interface, IPMI), is one The hardware management interface of kind open standard, intelligent management can be carried out to low-level hardware without using operating system.It is actual to answer In, IPMI is for a large amount of operations for for example monitoring, controlling and automatically replying server, there is provided intelligent way to manage.With Family can utilize the physical health feature of IPMI monitoring servers, such as temperature, voltage, fan operating state, power supply status.
In the hardware management system of prior art, IPMI and application layer close-coupled, application layer is by transferring IPMI interfaces To realize the concrete operations to hardware.The disunity that data format due to different Managed Solutions be present is different with processing means Problem, for any one Managed Solution, application layer needs to carry out specific parameter setting, and amendment step is cumbersome, and autgmentability is poor, It is unfavorable for unified efficient operation and the later maintenance of hardware management system.
The content of the invention
In view of this, it is an object of the invention to provide the hardware pipe based on IPMI of a kind of clear layer, definite functions Reason system, method, apparatus and storage medium.Its concrete scheme is as follows:
A kind of hardware management system based on IPMI, including application layer, IPMI, and SERVICE layers, wherein,
The administration order that the SERVICE layers are sent according to the application layer, send to the IPMI and ordered with the management Hardware instruction corresponding to order;
The IPMI performs the hardware instruction, obtains returned data corresponding to the hardware instruction, and by the return Data are sent to the SERVICE layers;
The SERVICE layers send the returned data to the application layer.
Preferably, the SERVICE layers are specifically used for:
By the returned data according to default format analysis processing, the preprocessed data of unified form is obtained, and will be described pre- Processing data is sent to the application layer.
Preferably, the SERVICE layers are to be carried out being adapted to the SERVICE layers changed and obtained according to the application layer.
Preferably, the IPMI is additionally operable to receive the status information about hardware and is sent to the SERVICE layers;
The SERVICE layers are additionally operable to according to after default format analysis processing send the status information to the application Layer.
Accordingly, the invention also discloses a kind of method of hardware management based on IPMI, including:
The administration order that SERVICE layers are sent according to application layer, hardware corresponding with the administration order is sent to IPMI Instruction;
The IPMI performs the hardware instruction, obtains returned data corresponding to the hardware instruction, and by the return Data are sent to the SERVICE layers;
The SERVICE layers send the returned data to the application layer.
Preferably, the process that the SERVICE layers send the returned data to the application layer includes:
The returned data according to default format analysis processing, is obtained the pretreatment number of unified form by the SERVICE layers According to, and the preprocessed data is sent to the application layer.
Preferably, the method for hardware management also includes:
According to the application layer, adaptation modification is carried out to the SERVICE layers.
Accordingly, the method for hardware management also includes:
The IPMI receives the status information about hardware and is sent to the SERVICE layers;
The SERVICE layers send the status information to the application layer according to after default format analysis processing.
Accordingly, the invention also discloses a kind of hardware management device, including:
Memory, for storing computer program;
Processor, the method for hardware management based on IPMI as described above is realized during for performing the computer program Step.
Accordingly, a kind of readable storage medium storing program for executing, hardware management program, the hardware are stored with the readable storage medium storing program for executing The step of method of hardware management based on IPMI as described above is realized when management program is executed by processor.
A kind of hardware management system based on IPMI disclosed by the invention, including application layer, IPMI, and SERVICE layers, its In, administration order that the SERVICE layers are sent according to the application layer, sent to the IPMI corresponding with the administration order Hardware instruction;The IPMI performs the hardware instruction, obtains returned data corresponding to the hardware instruction, and return described Data are returned to send to the SERVICE layers;The SERVICE layers send the returned data to the application layer.The present invention In, application layer focuses on the key logic processing in hardware management, directly administration order is issued to SERVICE layers, without paying close attention to such as What driving hardware and interacted with IPMI;SERVICE layers issue hardware instruction to IPMI using administration order and realize hardware Driving and management.Make the well arranged of system in the present invention, the degree of coupling reduces, and each layer function is clear and definite, and leads in Managed Solution The Managed Solution of whole system can be completed by crossing the parameter of modification SERVICE layers, it is not necessary to application layer or IPMI parameter are changed, It is simpler compared with prior art convenient.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is the required accompanying drawing used in technology description to be briefly described, it should be apparent that, drawings in the following description are only this The embodiment of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can also basis The accompanying drawing of offer obtains other accompanying drawings.
Fig. 1 is a kind of structure distribution figure of the hardware management system based on IPMI;
Fig. 2 is a kind of information flow direction figure of the hardware management system based on IPMI;
Fig. 3 is a kind of step flow chart of the method for hardware management based on IPMI.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, rather than whole embodiments.It is based on Embodiment in the present invention, those of ordinary skill in the art are obtained every other under the premise of creative work is not made Embodiment, belong to the scope of protection of the invention.
It is shown in Figure 1 the embodiment of the invention discloses a kind of hardware management system based on IPMI, including application layer 01, SERVICE layer 02, and IPMI03;
Wherein, the administration order that SERVICE layers 02 are sent according to application layer 01, sent and the administration order to IPMI03 Corresponding hardware instruction;IPMI03 performs the hardware instruction, obtains returned data corresponding to the hardware instruction, and by described in Returned data is sent to SERVICE layers 02;SERVICE layers 02 send the returned data to application layer 01.
It is understood that the IPMI03 is in BMC (Baseboard Management Controller, substrate control Device processed) on, data centers of the BMC as hardware platform manages the information of all hardware, and externally provides IPMI interfaces, permits Perhaps external module accesses hardware data or control hardware by IPMI interfaces.
It is understood that SERVICE layers 02 are realized using script PERL, be responsible for application layer 01 and IPMI03 it Between transmit message.Thereby reduce the degree of coupling between application layer 01 and IPMI03 so that level becomes apparent from.Specific information Flow to it is shown in Figure 2, application layer focus on hardware management core processing, need bottom hardware service in hardware management system When, the interface of SERVICE layers is directly invoked, SERVICE layers are by combining the hardware interface realization on calling IPMI specifically Function, and by IPMI return data return to application layer.SERVICE layers be responsible for application layer provide most directly service or Data.
For example, when application layer needs to obtain fan data, directly performing service read fan status can obtain Get including every fan informations such as number of fans, state in place, on off state, rotation speeds of the fan, and the collection of these information Cheng Ze transfers to SERVICE layers to complete.SERVICE layer interfaces can be defined as the form of order line, such as service read fan status、service set fan<fanid>-action speed–value<speed_value>Etc..
Further, timer is all set in the entrance for performing every service order, if do not had at the appointed time It is finished, then directly returns to failure, ensures that the influence to upper strata is minimum with this.
Further, SERVICE layers 02 can also obtain unified lattice by the returned data according to default format analysis processing The preprocessed data of formula, and the preprocessed data is sent to the application layer, to improve processing of the data in application layer Efficiency.
A kind of hardware management system based on IPMI disclosed by the invention, including application layer, IPMI, and SERVICE layers, its In, administration order that the SERVICE layers are sent according to the application layer, sent to the IPMI corresponding with the administration order Hardware instruction;The IPMI performs the hardware instruction, obtains returned data corresponding to the hardware instruction, and return described Data are returned to send to the SERVICE layers;The SERVICE layers send the returned data to the application layer.The present invention In, application layer focuses on the key logic processing in hardware management, directly administration order is issued to SERVICE layers, without paying close attention to such as What driving hardware and interacted with IPMI;SERVICE layers issue hardware instruction to IPMI using administration order and realize hardware Driving and management.Make the well arranged of system in the present invention, the degree of coupling reduces, and each layer function is clear and definite, and leads in Managed Solution The Managed Solution of whole system can be completed by crossing the parameter of modification SERVICE layers, it is not necessary to application layer or IPMI parameter are changed, It is simpler compared with prior art convenient.
The embodiment of the invention discloses a kind of specifically hardware management system based on IPMI, relative to a upper embodiment, The present embodiment has made further instruction and optimization to technical scheme.Specifically:
The SERVICE layers are to be carried out being adapted to the SERVICE layers changed and obtained according to the application layer.
It is understood that when IPMI interfaces or application layer are replaced by the interface platform of other specification, due to SERVICE layers are built by code, obtain being adapted to SERVICE layers after carrying out code revision according to the application layer after replacing, it is possible to Adaptation SERVICE layers are applied on another interface platform.
Further, the IPMI is additionally operable to receive the status information about hardware and is sent to the SERVICE layers;
Wherein, the status information of hardware includes the information such as temperature, voltage, fan operating state, power supply status.
Accordingly, the SERVICE layers are additionally operable to according to after default format analysis processing send the status information to institute State application layer.
Accordingly, the embodiment of the present invention also disclosed a kind of method of hardware management based on IPMI, shown in Figure 3, bag Include:
S1:The administration order that SERVICE layers are sent according to application layer, sent to IPMI corresponding with the administration order hard Part instructs;
S2:The IPMI performs the hardware instruction, obtains returned data corresponding to the hardware instruction, and return described Data are returned to send to the SERVICE layers;
S3:The SERVICE layers send the returned data to the application layer.
Wherein, step S3 is specifically included:
The returned data according to default format analysis processing, is obtained the pretreatment number of unified form by the SERVICE layers According to, and the preprocessed data is sent to the application layer.
Further, the method for hardware management can also include:
According to the application layer, adaptation modification is carried out to the SERVICE layers.
Further, the method for hardware management can also include:
When the SERVICE layers receive status informations of the IPMI about hardware, by the status information according to default Format analysis processing after send to the application layer.
Method of hardware management described in the present embodiment has beneficial effect corresponding with above-described embodiment method of hardware management.
Accordingly, the present embodiment also discloses a kind of hardware management device, including:
Memory, for storing computer program;
Processor, the hardware pipe based on IPMI as described in foregoing embodiments is realized during for performing the computer program The step of reason method.
Wherein, the detail on above-mentioned method of hardware management may be referred to previous embodiment, no longer be gone to live in the household of one's in-laws on getting married herein State.
Hardware management device described in the present embodiment has beneficial effect corresponding with above-described embodiment method of hardware management.
Accordingly, the present embodiment also discloses a kind of readable storage medium storing program for executing, and hardware is stored with the readable storage medium storing program for executing Management program, the hardware pipe based on IPMI as described in foregoing embodiments is realized when the hardware management program is executed by processor The step of reason method.
Wherein, the detail on above-mentioned method of hardware management may be referred to previous embodiment, no longer be gone to live in the household of one's in-laws on getting married herein State.
Readable storage medium storing program for executing described in the present embodiment has beneficial effect corresponding with above-described embodiment method of hardware management.
Finally, it is to be noted that, herein, such as first and second or the like relational terms be used merely to by One entity or operation make a distinction with another entity or operation, and not necessarily require or imply these entities or operation Between any this actual relation or order be present.Moreover, term " comprising ", "comprising" or its any other variant meaning Covering including for nonexcludability, so that process, method, article or equipment including a series of elements not only include that A little key elements, but also the other element including being not expressly set out, or also include for this process, method, article or The intrinsic key element of equipment.In the absence of more restrictions, the key element limited by sentence "including a ...", is not arranged Except other identical element in the process including the key element, method, article or equipment being also present.
Above to a kind of hardware management system, method, apparatus and readable storage medium based on IPMI provided by the present invention Matter is described in detail, and specific case used herein is set forth to the principle and embodiment of the present invention, the above The explanation of embodiment is only intended to help the method and its core concept for understanding the present invention;Meanwhile for the general skill of this area Art personnel, according to the thought of the present invention, there will be changes in specific embodiments and applications, in summary, this Description should not be construed as limiting the invention.

Claims (10)

  1. A kind of 1. hardware management system based on IPMI, it is characterised in that including application layer, IPMI, and SERVICE layers, wherein,
    The administration order that the SERVICE layers are sent according to the application layer, sent and the administration order pair to the IPMI The hardware instruction answered;
    The IPMI performs the hardware instruction, obtains returned data corresponding to the hardware instruction, and by the returned data Send to the SERVICE layers;
    The SERVICE layers send the returned data to the application layer.
  2. 2. hardware management system according to claim 1, it is characterised in that the SERVICE layers are specifically used for:
    By the returned data according to default format analysis processing, the preprocessed data of unified form is obtained, and by the pretreatment Data are sent to the application layer.
  3. 3. hardware management system according to claim 2, it is characterised in that the SERVICE layers are according to the application Layer carries out the SERVICE layers that adaptation modification obtains.
  4. 4. the hardware management system according to any one of claims 1 to 3, it is characterised in that
    The IPMI is additionally operable to receive the status information about hardware and is sent to the SERVICE layers;
    The SERVICE layers are additionally operable to according to after default format analysis processing send the status information to the application layer.
  5. A kind of 5. method of hardware management based on IPMI, it is characterised in that including:
    The administration order that SERVICE layers are sent according to application layer, hardware instruction corresponding with the administration order is sent to IPMI;
    The IPMI performs the hardware instruction, obtains returned data corresponding to the hardware instruction, and by the returned data Send to the SERVICE layers;
    The SERVICE layers send the returned data to the application layer.
  6. 6. method of hardware management according to claim 5, it is characterised in that the SERVICE layers are by the returned data Sending to the process of the application layer includes:
    The returned data according to default format analysis processing, is obtained the preprocessed data of unified form by the SERVICE layers, and The preprocessed data is sent to the application layer.
  7. 7. method of hardware management according to claim 6, it is characterised in that also include:
    According to the application layer, adaptation modification is carried out to the SERVICE layers.
  8. 8. according to the method for hardware management described in any one of claim 5 to 7, it is characterised in that also include:
    The IPMI receives the status information about hardware and is sent to the SERVICE layers;
    The SERVICE layers send the status information to the application layer according to after default format analysis processing.
  9. A kind of 9. hardware management device, it is characterised in that including:
    Memory, for storing computer program;
    Processor, the hardware based on IPMI as described in any one of claim 5 to 8 is realized during for performing the computer program The step of management method.
  10. A kind of 10. readable storage medium storing program for executing, it is characterised in that hardware management program is stored with the readable storage medium storing program for executing, it is described The method of hardware management based on IPMI as described in any one of claim 5 to 8 is realized when hardware management program is executed by processor The step of.
CN201710909968.XA 2017-09-29 2017-09-29 Hardware management system, method, apparatus and storage medium based on IPMI Pending CN107741860A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710909968.XA CN107741860A (en) 2017-09-29 2017-09-29 Hardware management system, method, apparatus and storage medium based on IPMI

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710909968.XA CN107741860A (en) 2017-09-29 2017-09-29 Hardware management system, method, apparatus and storage medium based on IPMI

Publications (1)

Publication Number Publication Date
CN107741860A true CN107741860A (en) 2018-02-27

Family

ID=61236466

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710909968.XA Pending CN107741860A (en) 2017-09-29 2017-09-29 Hardware management system, method, apparatus and storage medium based on IPMI

Country Status (1)

Country Link
CN (1) CN107741860A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020019724A1 (en) * 2018-07-27 2020-01-30 郑州云海信息技术有限公司 Method for acquiring sensor data in server, acquisition system, and related apparatus
CN113254380A (en) * 2021-06-18 2021-08-13 苏州浪潮智能科技有限公司 Communication method, device and equipment between host and baseboard management controller

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103617074A (en) * 2013-11-29 2014-03-05 中国航空无线电电子研究所 Software communication system structure logic device system and monitoring, inquiring and controlling method
CN105426699A (en) * 2016-01-21 2016-03-23 四川东鼎里智信息技术有限责任公司 Physiological data collecting and processing method
CN105493525A (en) * 2013-07-25 2016-04-13 康维达无线有限责任公司 Service layer southbound interface and quality of service
CN107195131A (en) * 2017-04-13 2017-09-22 深圳怡化电脑股份有限公司 A kind of method and device of analog hardware equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105493525A (en) * 2013-07-25 2016-04-13 康维达无线有限责任公司 Service layer southbound interface and quality of service
CN103617074A (en) * 2013-11-29 2014-03-05 中国航空无线电电子研究所 Software communication system structure logic device system and monitoring, inquiring and controlling method
CN105426699A (en) * 2016-01-21 2016-03-23 四川东鼎里智信息技术有限责任公司 Physiological data collecting and processing method
CN107195131A (en) * 2017-04-13 2017-09-22 深圳怡化电脑股份有限公司 A kind of method and device of analog hardware equipment

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
何志新: "《Windows 95 高级程序设计》", 31 January 1997 *
朱焱: "《Web X.0环境下的万维网服务技术与实践》", 30 November 2011 *
郎彦: "《数据库原理与应用》", 31 December 2002 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020019724A1 (en) * 2018-07-27 2020-01-30 郑州云海信息技术有限公司 Method for acquiring sensor data in server, acquisition system, and related apparatus
CN113254380A (en) * 2021-06-18 2021-08-13 苏州浪潮智能科技有限公司 Communication method, device and equipment between host and baseboard management controller

Similar Documents

Publication Publication Date Title
US10917706B2 (en) Configurable IoT device data collection
CN102457512B (en) A kind of thin client server virtual method and virtual thin client server
US11381647B2 (en) IoT device jobs
CN101938164B (en) Power equipment control method, device and related system thereof
CN103150279B (en) Method allowing host and baseboard management controller to share device
CN107170474A (en) Expansible the storage box, computer implemented method and computer readable storage means
CN102035862A (en) Configuration node fault transfer method and system in SVC cluster
CN104156216A (en) Heterogeneous storage management system and method oriented to cloud computing
CN104077199A (en) Shared disk based high availability cluster isolation method and system
US20210345020A1 (en) Declarative iot data control
CN105446657A (en) Method for monitoring RAID card
CN103200199A (en) Out of band (OOB) data collection system
CN109005226A (en) The acquisition methods of sensing data, acquisition system and relevant apparatus in server
CN107038104A (en) A kind of method of remote monitoring isomery accelerator card
CN106775993A (en) A kind of physical machine is migrated to the method and system of cloud computing platform
CN103685074A (en) Rack-mounted server system and method for automatically managing rack configuration information
CN102781119A (en) Wireless ubiquitous network application terminal system and software component application process management method
WO2018152038A1 (en) Context-aware device permissioning for hierarchical device collections
CN107741860A (en) Hardware management system, method, apparatus and storage medium based on IPMI
CN105607606B (en) A kind of data acquisition device and method based on double mainboard frameworks
CN113658351B (en) Method and device for producing product, electronic equipment and storage medium
CN103927244A (en) Plug-in scheduling process monitoring method implemented based on dynamic proxy
CN105446770A (en) Centralized storage method capable of saving memory chips and multi-functional module system
CN103718163A (en) Placement of data in shards on a storage device
CN103986613A (en) Remote KVM (kernel-based virtual machine) management method based on network

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20180227