CN107168853A - A kind of server performance information acquisition method, system and substrate control manager - Google Patents

A kind of server performance information acquisition method, system and substrate control manager Download PDF

Info

Publication number
CN107168853A
CN107168853A CN201710356493.6A CN201710356493A CN107168853A CN 107168853 A CN107168853 A CN 107168853A CN 201710356493 A CN201710356493 A CN 201710356493A CN 107168853 A CN107168853 A CN 107168853A
Authority
CN
China
Prior art keywords
performance
information
currency
module
performance information
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
CN201710356493.6A
Other languages
Chinese (zh)
Inventor
付正全
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 CN201710356493.6A priority Critical patent/CN107168853A/en
Publication of CN107168853A publication Critical patent/CN107168853A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3089Monitoring arrangements determined by the means or processing involved in sensing the monitored data, e.g. interfaces, connectors, sensors, probes, agents
    • G06F11/3093Configuration details thereof, e.g. installation, enabling, spatial arrangement of the probes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3055Monitoring arrangements for monitoring the status of the computing system or of the computing system component, e.g. monitoring if the computing system is on, off, available, not available
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/32Monitoring with visual or acoustical indication of the functioning of the machine
    • G06F11/324Display of status information
    • G06F11/327Alarm or error message display

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

Manager is controlled the invention provides a kind of server performance information acquisition method, system and substrate, this method includes:At least one performance sensors is created by extending IPMI IPMI protocol, by the performance information of the IPMI protocol the reception server, wherein, the performance information is gathered from the server by outside performance information acquisition module and obtained;The performance information is defined as to the currency of at least one performance sensors;Client outside receiving is asked by the acquisition sent with outer network;Asked according to described obtain, read the currency of at least one performance sensors, and with outer network the currency read is sent to the client by described.This programme can pass through performance informations of the BMC with outer acquisition server.

Description

A kind of server performance information acquisition method, system and substrate control manager
Technical field
The present invention relates to field of computer technology, more particularly to a kind of server performance information acquisition method, system and base Plate controls manager.
Background technology
In recent years, developing rapidly with server network management using proxy servers technology, server admin has been divided into outband management And two kinds of management modes of in-band management (in-band) (out-of-band).In-band management, refers to the managing control information of network Transmitted with the bearer service information of user network by same logic channel, when management data are more, it will have influence on whole The performance of individual network;And in outband management pattern, the managing control information of network and the bearer service information of user network exist Different logic channel transmission, the managing control information of network is separated with the bearer service information of user network, is conducive to improving The security of the managing control information of network.Most of data center requires management net and service network separation at present, and this is A kind of effective means for ensureing data center information safety.
The major way of current outband management is by BMC (the Baseboard Management on server master board Controller, baseboard management controller) realize network managing control information and user network bearer service information not With logic channel transmission, but BMC is one piece of independent chip on mainboard, the data free way between operating system, from And lead to not the performance information of directly acquisition server.
It is visible by foregoing description, because BMC can not directly obtain the performance data of server, so that BMC can not be passed through Performance information with outer acquisition server.
The content of the invention
Manager, energy are controlled the embodiments of the invention provide a kind of server performance information acquisition method, system and substrate Enough pass through performance informations of the BMC with outer acquisition server.
In a first aspect, the embodiments of the invention provide a kind of server performance information acquisition method, applied to substrate management Controller BMC, including:
At least one performance sensors is created by extending IPMI IPMI protocol, in addition to:
By the performance information of the IPMI protocol the reception server, wherein, the performance information is believed by outside performance Breath acquisition module is gathered from the server to be obtained;
The performance information is defined as to the currency of at least one performance sensors;
Client outside receiving is asked by the acquisition sent with outer network;
Asked according to described obtain, read the currency of at least one performance sensors, and pass through the band outer net The currency read is sent to the client by network.
Further, it is described create at least one performance sensors by extending IPMI protocol after, further comprise:
For the currency of performance sensors each described, corresponding threshold value is set;
After client outside the reception is asked by the acquisition sent with outer network, further comprise:
Judge whether the currency of each sensor exceedes corresponding threshold value respectively, if it is, to the visitor Family end sends prompt message.
Further, the performance information includes:The CPU use informations of the server, memory usage information, storage make With any one or more in information and Web vector graphic information.
Further, the currency that the performance information is defined as at least one performance sensors, including:
When the performance information includes the CPU use informations, the CPU use informations are defined as described at least one The currency of cpu performance sensor in individual performance sensors;
When the performance information includes the memory usage information, by the memory usage information be defined as it is described at least The currency of internal memory performance sensor in one performance sensors;
When the performance information includes the storage use information, by the storage use information be defined as it is described at least The currency of storage performance sensor in one performance sensors;
When the performance information includes the Web vector graphic information, by the Web vector graphic information definition for it is described at least The currency of network performance sensor in one performance sensors.
Second aspect, the embodiments of the invention provide a kind of baseboard management controller, including:
Sensor creation module, performance information receiving module, definition module, acquisition request receiving module and respond module; Wherein,
The sensor creation module, for creating at least one property by extending IPMI IPMI protocol Can sensor;
The performance information receiving module, for the performance information by the IPMI protocol the reception server, wherein, institute State performance information and gathered by outside performance information acquisition module from the server and obtained;
The definition module, the performance information for the performance information receiving module to be received is defined as described The currency at least one performance sensors that sensor creation module is created;
The acquisition request receiving module, the client for receiving outside is asked by the acquisition sent with outer network;
The respond module, the acquisition for being received according to the acquisition request receiving module is asked, and reads institute State the currency at least one performance sensors that definition module is defined, and by it is described with outer network by the institute read State currency and be sent to the client.
Further, the controller further comprises:Threshold setting module and processing module;
The threshold setting module, for the current of each performance sensors for being created for the sensor creation module Value sets corresponding threshold value;
The processing module, is set for judging whether the currency of each sensor exceedes respectively by the threshold value The corresponding threshold value of module setting is put, if it is, sending prompt message to the client.
Further, the definition module includes:CPU defines submodule, internal memory and defines submodule, storage definition submodule With net definitions submodule;Wherein,
The CPU defines submodule, for when the performance information includes the CPU use informations, the CPU to be made With currency of the information definition for the cpu performance sensor at least one described performance sensors;
The internal memory defines submodule, for when the performance information includes the memory usage information, will be described interior Deposit the currency for the internal memory performance sensor that use information is defined as at least one described performance sensors;
The storage defines submodule, for when the performance information includes the storage use information, being deposited described Storage use information is defined as the currency of the storage performance sensor at least one described performance sensors;
The net definitions submodule, for when the performance information includes the Web vector graphic information, by the net Network use information is defined as the currency of the network performance sensor at least one described performance sensors.
The third aspect, the embodiments of the invention provide a kind of server performance Information Acquisition System, including:
Any described baseboard management controller in server, performance information acquisition module, client and second aspect;
The performance information acquisition module, the performance information for gathering the server, and by the property collected Energy information is sent to the baseboard management controller;
The client, obtains request, and pass through institute for being sent by band outer network to the baseboard management controller State and receive at least one performance sensors in the baseboard management controller that the baseboard management controller is sent with outer network Currency.
Further, the system further comprises:Monitoring module;
The monitoring module, for monitoring the performance information acquisition module in real time, when monitor performance information gather mould When block is surprisingly terminated, the performance information acquisition module is restarted.
Further, the performance information acquisition module, for according to collection period set in advance, often by an institute Collection period is stated, the performance information of the server is once gathered, and the performance information collected is sent to described Baseboard management controller.
In embodiments of the present invention, at least one performance sensors is created by extending IPMI protocol, passes through IPMI protocol Client outside the performance information of the server of reception and the currency for being defined as at least one performance sensors, reception is sent Acquisition request, and the currency of at least one performance sensors read is sent to client;Due to the extension in BMC At least one performance sensors is created in IPMI protocol, the problem of BMC can not directly obtain server performance information is solved, So as to realize by performance informations of the BMC with outer acquisition server.
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 accompanying drawing used required in technology description to be briefly described, it should be apparent that, drawings in the following description are the present invention Some embodiments, for those of ordinary skill in the art, on the premise of not paying creative work, can also basis These accompanying drawings obtain other accompanying drawings.
Fig. 1 is a kind of flow chart for server performance information acquisition method that one embodiment of the invention is provided;
Fig. 2 is the flow chart for another server performance information acquisition method that one embodiment of the invention is provided;
Fig. 3 is a kind of schematic diagram for baseboard management controller that one embodiment of the invention is provided;
Fig. 4 is the schematic diagram for another baseboard management controller that one embodiment of the invention is provided;
Fig. 5 is the schematic diagram for another baseboard management controller that one embodiment of the invention is provided;
Fig. 6 is a kind of distribution map for server performance Information Acquisition System that one embodiment of the invention is provided;
Fig. 7 is another a kind of distribution map of server performance Information Acquisition System that one embodiment of the invention is provided.
Embodiment
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present invention In accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is A part of embodiment of the present invention, rather than whole embodiments, based on the embodiment in the present invention, those of ordinary skill in the art The every other embodiment obtained on the premise of creative work is not made, belongs to the scope of protection of the invention.
As shown in figure 1, the embodiments of the invention provide a kind of server performance information acquisition method, applied to substrate management Controller BMC, including:
Step 101:At least one performance sensors is created by extending IPMI IPMI protocol;
Step 102:By the performance information of the IPMI protocol the reception server, wherein, the performance information is by outside Performance information acquisition module gather and obtain from the server;
Step 103:The performance information is defined as to the currency of at least one performance sensors;
Step 104:Client outside receiving is asked by the acquisition sent with outer network;
Step 105:Asked according to described obtain, read the currency of at least one performance sensors, and pass through institute State with outer network and the currency read is sent to the client.
In embodiments of the present invention, at least one performance sensors is created by extending IPMI protocol, passes through IPMI protocol Client outside the performance information of the server of reception and the currency for being defined as at least one performance sensors, reception is sent Acquisition request, and the currency of at least one performance sensors read is sent to client;Due to the extension in BMC At least one performance sensors is created in IPMI protocol, the problem of BMC can not directly obtain server performance information is solved, So as to realize by performance informations of the BMC with outer acquisition server.
In order to the performance information of server is timely and effectively monitored, in an embodiment of the present invention, described After creating at least one performance sensors by extending IPMI protocol, further comprise:
For the currency of performance sensors each described, corresponding threshold value is set;
After client outside the reception is asked by the acquisition sent with outer network, further comprise:
Judge whether the currency of each sensor exceedes corresponding threshold value respectively, if it is, to the visitor Family end sends prompt message.
It is that the currency of each performance sensors sets corresponding threshold value, and judge respectively in the embodiment of the present invention Whether the currency of each sensor exceedes corresponding threshold value, if the currency of performance sensors exceedes set threshold Value, sends the prompt message that the sensor is in overload operation state, even if being easy to client to take phase to client immediately Corresponding counter-measure.
For example, it is the CPU that the threshold value of cpu performance sensor setting is 95% after cpu performance sensor is created Utilization rate, and the currency of cpu performance sensor for 96% CPU usage, the client outside reception pass through band outer net After the request of the currency for the acquisition cpu performance sensor that network is sent, used according to by the CPU of cpu performance sensor 96% The currency of rate is contrasted with 95% CPU usage set, judges that the currency of cpu performance sensor makes for 96% CPU Exceed the threshold value of 95% memory usage set with rate, and the high prompting of cpu performance utilization rate is sent to client.
In order that user to the performance information of server understand, in one embodiment of the invention comprehensively or targetedly In, the performance information includes:CPU use informations, memory usage information, storage use information and the network of the server make With any one or more in information.
In the embodiment of the present invention, according to the demand of client, the content that performance information is specifically included is determined, wherein, CPU makes The occupancy of CPU in server can be characterized with information, memory usage information can characterize the occupancy of internal memory in server, stored Use information can characterize the utilization rate of memory space in server, and Web vector graphic information can characterize the occupancy of network in server Rate, client can ask corresponding server performance information to server according to different demands.
For example, performance information includes:96% CPU usage, 30% memory usage, 40% memory space Occupancy, 30% network occupancy.
It is in an embodiment of the present invention, described by the property in order to which each performance information of server is fed back into user Energy information definition is the currency of at least one performance sensors, including:
When the performance information includes the CPU use informations, the CPU use informations are defined as described at least one The currency of cpu performance sensor in individual performance sensors;
When the performance information includes the memory usage information, by the memory usage information be defined as it is described at least The currency of internal memory performance sensor in one performance sensors;
When the performance information includes the storage use information, by the storage use information be defined as it is described at least The currency of storage performance sensor in one performance sensors;
When the performance information includes the Web vector graphic information, by the Web vector graphic information definition for it is described at least The currency of network performance sensor in one performance sensors.
In the embodiment of the present invention, if performance information includes CPU use informations, CPU use informations are defined as cpu performance The currency of sensor, if performance information includes memory usage information, internal memory performance sensing is defined as by memory usage information The currency of device, if performance information includes storage practical information, storage performance sensor is defined as by storage use information Currency, is the current of network performance sensor by Web vector graphic information definition if performance information includes Web vector graphic information Value, is easy to, when client sends solicited message, corresponding performance information can be fed back into client in time.
For example, when performance information includes:96% CPU usage, 30% memory usage, 40% storage are empty Between occupancy, 30% network occupancy when, by 96% CPU usage be defined as cpu performance sensor currency, 30% Memory usage be defined as the currency of internal memory performance sensor, 40% memory space occupancy be defined as storage performance biography The currency of sensor, 40% memory space occupancy are defined as the currency of network performance sensor.
As shown in Fig. 2 to being described in detail the embodiments of the invention provide a kind of server performance information acquisition method:
Step 201:At least one performance sensors is created by extending IPMI IPMI protocol.
In embodiments of the present invention, by extending IPMI protocol, cpu performance sensor, internal memory performance biography are created on BMC It is any one or more in sensor, network performance sensor and storage performance sensor.
For example, cpu performance sensor, internal memory performance sensor, network performance biography are created by extending IPMI protocol Sensor, storage performance sensor.
Step 202:For the currency of each performance sensors, corresponding threshold value is set.
In embodiments of the present invention, it is cpu performance sensor, internal memory performance sensor, network performance sensor, storage The currency of energy sensor sets corresponding threshold value.
For example, the CPU usage that the threshold value for being the setting of cpu performance sensor is 95%, is internal memory performance sensor The threshold value of setting is 95% memory usage, and the memory space that the threshold value for being the setting of storage performance sensor is 95% takes Rate, is the network occupancy that the threshold value of network performance sensor setting is 95%.
Step 203:Pass through the performance information of IPMI protocol the reception server.
In embodiments of the present invention, outside performance information acquisition module gathers CPU use informations, internal memory from server At least one in use information, storage use information and Web vector graphic information passes through IPMI as the performance information of server The performance information collected is sent to BMC by agreement.The performance that BMC is sent by IPMI protocol receptivity information acquisition module Information.
For example, receiving the performance information gathered by outside acquisition module from server by IPMI protocol is 96% CPU usage, 30% memory usage, 40% memory space occupancy, 30% network occupancy.
Step 204:Performance information is defined to the currency of at least one performance sensors.
In embodiments of the present invention, after the performance information of server is received, if performance information is used including CPU Information, the currency for the cpu performance sensor that CPU use informations are defined as being created in step 201;If performance information bag Memory usage information is included, the currency for the internal memory performance sensor that memory usage information is defined as being created in step 201;Such as Fruit performance information includes storage use information, will store the storage performance sensing that use information is defined as being created in step 201 The currency of device;If performance information includes Web vector graphic information, by Web vector graphic information definition by being created in step 201 The currency of network performance sensor.
For example, when performance information includes:96% CPU usage, 30% memory usage, 40% storage are empty Between occupancy, 30% network occupancy when, by 96% CPU usage be defined as cpu performance sensor currency, 30% Memory usage be defined as the currency of internal memory performance sensor, 40% memory space occupancy be defined as storage performance biography The currency of sensor, 40% memory space occupancy are defined as the currency of network performance sensor.
Step 205:Receive and asked by outside client by the acquisition sent with outer network.
In embodiments of the present invention, the request for the acquisition server performance information that client is sent is received, is easy to service Device information is timely transmitted to client.
For example, receive and the acquisition CPU usage, the EMS memory occupation that are sent with outer network are passed through by outside client The request of rate, memory space occupancy and network occupancy.
Step 206:Judge whether the currency of each sensor exceedes corresponding threshold value respectively, if it is, performing Step 207, step 208 is otherwise performed.
In embodiments of the present invention, for each sensor, the currency of the sensor is entered with corresponding threshold value Row compares, if the currency of the sensor exceedes corresponding threshold value, accordingly performs step 207, if the sensor Currency is not above corresponding threshold value, corresponding execution step 208.
For example, the CPU usage that the threshold value that cpu performance sensor is set is 95%, currency makes for 96% CPU With rate, currency exceedes the threshold value set, and step 207 is performed for cpu performance sensor.The threshold that internal memory performance sensor is set Be worth the memory usage for 95%, currency is 30% memory usage, currency not less than setting threshold value, for internal memory Performance sensors perform step 208.
Step 207:Prompt message is sent to client.
In embodiments of the present invention, for each performance sensors, exceed in the currency of the performance sensors set After the threshold value put, prompt message is sent to client by band outer network, to notify corresponding element on client server in time Overload operation state is in so that user can prevent server due to part after taking corresponding counter-measure in time Element in distress operation causes server to be delayed machine.
For example, judge that the currency of cpu performance sensor exceedes after set threshold value, visitor is want by band outer network Family end sends cpu performance sensor overload operation state.
Step 208:According to request is obtained, the currency of at least one performance sensors is read, and will by band outer network The currency read is sent to client.
In embodiments of the present invention, according to the request of the acquisition server performance information of client, by the sensor of reading Currency by band outer network be sent to client, be easy to client to learn the information of request in time.
For example, outside client request obtains memory usage, and information response's module reads internal memory performance biography The currency of sensor is 30% memory usage, by the way that 30% memory usage is sent into client with outer network.
As shown in figure 3, the embodiments of the invention provide a kind of baseboard management controller, including:
Sensor creation module 301, performance information receiving module 302, definition module 303, acquisition request receiving module 304 With respond module 305, wherein,
Sensor creation module 301, for creating at least one property by extending IPMI IPMI protocol Can sensor;
Performance information receiving module 302, for the performance information by the IPMI protocol the reception server, wherein, institute State performance information and gathered by outside performance information acquisition module from the server and obtained;
Definition module 303, the performance information for the performance information receiving module 302 to be received is defined as institute State the currency of at least one performance sensors of the establishment of sensor creation module 301;
Request receiving module 304 is obtained, the client for receiving outside is asked by the acquisition sent with outer network;
Respond module 305, the acquisition for being received according to the acquisition request receiving module 304 is asked, and is read The currency at least one performance sensors that the definition module 303 is defined, and will be read by the band outer network To the currency be sent to the client.
In embodiments of the present invention, IPMI protocol is extended by sensor creation module and creates at least one performance sensing Device, the performance information for the server that utility information receiving module is received by IPMI protocol is simultaneously defined as by definition module The currency of at least one performance sensors, the acquisition sent by obtaining the client outside request receiving module reception please Ask, and the currency at least one performance sensors that respond module is read is sent to client;Due to the extension in BMC At least one performance sensors is created in IPMI protocol, the problem of BMC directly can not obtain performance data of server is solved, So as to realize by performance informations of the BMC with outer acquisition server.
Based on a kind of baseboard management controller shown in Fig. 3, in one embodiment of the invention, as shown in figure 4, the controller enters One step includes:
Threshold setting module 401 and processing module 402, wherein,
Threshold setting module 401, for working as each performance sensors for being created for the sensor creation module 301 Preceding value sets corresponding threshold value;
Processing module 402, is set for judging whether the currency of each sensor exceedes respectively by the threshold value The corresponding threshold value of the setting of module 401 is put, if it is, sending prompt message to the client.
Based on a kind of baseboard management controller shown in Fig. 4, in one embodiment of the invention, as shown in figure 5, in the controller Definition module 303 include:
CPU defines submodule 3031, internal memory and defines submodule 3032, storage definition submodule 3033, net definitions submodule Block 3034;Wherein,
CPU defines submodule 3031, for when the performance information includes the CPU use informations, the CPU to be made With currency of the information definition for the cpu performance sensor at least one described performance sensors;
Internal memory defines submodule 3032, for when the performance information includes the memory usage information, will be described interior Deposit the currency for the internal memory performance sensor that use information is defined as at least one described performance sensors;
Storage defines submodule 3033, for when the performance information includes the storage use information, being deposited described Storage use information is defined as the currency of the storage performance sensor at least one described performance sensors;
Net definitions submodule 3034, for when the performance information includes the storage use information, being deposited described Storage use information is defined as the currency of the storage performance sensor at least one described performance sensors;
As shown in fig. 6, the embodiments of the invention provide a kind of server performance Information Acquisition System, including:
Server 601, performance information acquisition module 602, client 603 and any described baseboard management controller 604;
Performance information acquisition module 602, for gathering the performance information of the server 601, and described in collecting Performance information is sent to the baseboard management controller 604;
The client 603, request is obtained for being sent by band outer network to the baseboard management controller 604, and Received by described with outer network at least one in the baseboard management controller 604 that the baseboard management controller 604 is sent The currency of individual performance sensors.
Based on a kind of server performance Information Acquisition System shown in Fig. 6, in one embodiment of the invention, as shown in fig. 7, should System further comprises:Monitoring module 701;
The monitoring module 701, for monitoring the performance information acquisition module 602 in real time, when monitoring performance information When acquisition module 602 is surprisingly terminated, the performance information acquisition module 602 is restarted.
In one embodiment of the invention, the performance information acquisition module 602, for according to collection period set in advance, Often by a collection period, the performance information of the server is once gathered, and the performance collected is believed Breath is sent to the baseboard management controller 604.
Each embodiment of the invention at least has the advantages that:
1st, in embodiments of the present invention, at least one performance sensors is created by extending IPMI protocol, is assisted by IPMI The client hair discussed the performance information of the server received and be defined as outside the currency of at least one performance sensors, reception The acquisition request sent, and the currency of at least one performance sensors read is sent to client;Due to the expansion in BMC At least one performance sensors is created in exhibition IPMI protocol, asking for server performance information can not directly be obtained by solving BMC Topic, so as to realize by performance informations of the BMC with outer acquisition server.
2nd, it is that the currency of each performance sensors sets corresponding threshold value, and sentence respectively in the embodiment of the present invention Whether the currency of each disconnected sensor exceedes corresponding threshold value, if the currency of performance sensors is more than set Threshold value, sends the prompt message that the sensor is in overload operation state, even if being easy to client to take to client immediately Corresponding counter-measure.
3rd, in the embodiment of the present invention, the CPU use informations that are gathered by outside performance information acquisition module from server, It is any one or more in memory usage information, storage use information and Web vector graphic information, it is easy to sense at least one Device defines currency.
4th, in the embodiment of the present invention, according to the demand of client, the content that performance information is specifically included is determined, wherein, CPU Use information can characterize the occupancy of CPU in server, and memory usage information can characterize the occupancy of internal memory in server, deposit Storage use information can characterize the utilization rate of memory space in server, and Web vector graphic information can characterize the occupancy of network in server Rate, client can ask corresponding server performance information to server according to different demands.
5th, in the embodiment of the present invention, if performance information includes CPU use informations, CPU use informations are defined as CPU The currency of energy sensor, if performance information includes memory usage information, is defined as internal memory performance by memory usage information and passes The currency of sensor, if performance information includes storage practical information, storage performance sensor is defined as by storage use information Currency, if performance information include Web vector graphic information, by Web vector graphic information definition for network performance sensor work as Preceding value, is easy to, when client sends solicited message, corresponding performance information can be fed back into client in time.
It should be noted that herein, such as first and second etc relational terms are used merely to an entity Or operation makes a distinction with another entity or operation, and not necessarily require or imply exist between these entities or operation Any this actual relation or order.Moreover, term " comprising ", "comprising" or its any other variant be intended to it is non- It is exclusive to include, so that process, method, article or equipment including a series of key elements not only include those key elements, But also other key elements including being not expressly set out, or also include solid by this process, method, article or equipment Some key elements.In the absence of more restrictions, by sentence, " including the key element that a 〃 " is limited is not arranged Except also there is other identical factor in the process including the key element, method, article or equipment.
One of ordinary skill in the art will appreciate that:Realizing all or part of step of above method embodiment can pass through Programmed instruction related hardware is completed, and foregoing program can be stored in the storage medium of embodied on computer readable, the program Upon execution, the step of including above method embodiment is performed;And foregoing storage medium includes:ROM, RAM, magnetic disc or light Disk etc. is various can be with the medium of store program codes.
It is last it should be noted that:Presently preferred embodiments of the present invention is the foregoing is only, the skill of the present invention is merely to illustrate Art scheme, is not intended to limit the scope of the present invention.Any modification for being made within the spirit and principles of the invention, Equivalent substitution, improvement etc., are all contained in protection scope of the present invention.

Claims (10)

1. a kind of server performance information acquisition method, it is characterised in that applied to baseboard management controller BMC, pass through extension IPMI IPMI protocol creates at least one performance sensors, in addition to:
By the performance information of the IPMI protocol the reception server, wherein, the performance information is adopted by outside performance information Collection module is gathered from the server to be obtained;
The performance information is defined as to the currency of at least one performance sensors;
Client outside receiving is asked by the acquisition sent with outer network;
Asked according to described obtain, read the currency of at least one performance sensors, and will by the band outer network The currency read is sent to the client.
2. according to the method described in claim 1, it is characterised in that
It is described create at least one performance sensors by extending IPMI protocol after, further comprise:
For the currency of performance sensors each described, corresponding threshold value is set;
After client outside the reception is asked by the acquisition sent with outer network, further comprise:
Judge whether the currency of each sensor exceedes corresponding threshold value respectively, if it is, to the client Send prompt message.
3. method according to claim 1 or 2, it is characterised in that
The performance information includes:CPU use informations, memory usage information, storage use information and the network of the server It is any one or more in use information.
4. method according to claim 3, it is characterised in that
The currency that the performance information is defined as at least one performance sensors, including:
When the performance information includes the CPU use informations, the CPU use informations are defined as at least one described property The currency of cpu performance sensor in energy sensor;
When the performance information includes the memory usage information, by the memory usage information be defined as it is described at least one The currency of internal memory performance sensor in performance sensors;
When the performance information includes the storage use information, by the storage use information be defined as it is described at least one The currency of storage performance sensor in performance sensors;
When the performance information includes the Web vector graphic information, by the Web vector graphic information definition for it is described at least one The currency of network performance sensor in performance sensors.
5. a kind of baseboard management controller, it is characterised in that including:Sensor creation module, performance information receiving module, definition Module, acquisition request receiving module and respond module, wherein,
The sensor creation module, for creating at least one performance biography by extending IPMI IPMI protocol Sensor;
The performance information receiving module, for the performance information by the IPMI protocol the reception server, wherein, the property Energy information is gathered from the server by outside performance information acquisition module and obtained;
The definition module, the performance information for the performance information receiving module to be received is defined as the sensing The currency at least one performance sensors that device creation module is created;
The acquisition request receiving module, the client for receiving outside is asked by the acquisition sent with outer network;
The respond module, the acquisition for being received according to the acquisition request receiving module is asked, and it is described fixed to read The currency of at least one performance sensors of adopted module definition, and by it is described with outer network will read described in work as Preceding value is sent to the client.
6. baseboard management controller according to claim 5, it is characterised in that further comprise:Threshold setting module and Processing module;
The threshold setting module, the currency of each performance sensors for being created for the sensor creation module is set Put corresponding threshold value;
The processing module, mould is set for judging whether the currency of each sensor exceedes respectively by the threshold value The corresponding threshold value that block is set, if it is, sending prompt message to the client.
7. the baseboard management controller according to claim 5 or 6, it is characterised in that
The definition module includes:CPU defines submodule, internal memory and defines submodule, storage definition submodule and net definitions Module;Wherein,
The CPU defines submodule, for when the performance information includes the CPU use informations, the CPU to be used into letter Breath is defined as the currency of the cpu performance sensor at least one described performance sensors;
The internal memory defines submodule, for when the performance information includes the memory usage information, the internal memory to be made With currency of the information definition for the internal memory performance sensor at least one described performance sensors;
The storage defines submodule, for when the performance information includes the storage use information, the storage to be made With currency of the information definition for the storage performance sensor at least one described performance sensors;
The net definitions submodule, for when the performance information includes the Web vector graphic information, the network to be made With currency of the information definition for the network performance sensor at least one described performance sensors.
8. a kind of server performance Information Acquisition System, it is characterised in that including:Server, performance information acquisition module, client Any described baseboard management controller in end and claim 5 to 7;
The performance information acquisition module, the performance information for gathering the server, and the performance collected is believed Breath is sent to the baseboard management controller;
The client, obtains request, and pass through the band for being sent by band outer network to the baseboard management controller At least one performance sensors works as in the baseboard management controller that the outer network reception baseboard management controller is sent Preceding value.
9. system according to claim 8, it is characterised in that further comprise:Monitoring module;
The monitoring module, for monitoring the performance information acquisition module in real time, when monitor performance information acquisition module anticipate During outer termination, the performance information acquisition module is restarted.
10. system according to claim 8 or claim 9, it is characterised in that
The performance information acquisition module, it is right often by a collection period for according to collection period set in advance The performance information of the server is once gathered, and the performance information collected is sent into the substrate management control Device.
CN201710356493.6A 2017-05-19 2017-05-19 A kind of server performance information acquisition method, system and substrate control manager Pending CN107168853A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710356493.6A CN107168853A (en) 2017-05-19 2017-05-19 A kind of server performance information acquisition method, system and substrate control manager

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710356493.6A CN107168853A (en) 2017-05-19 2017-05-19 A kind of server performance information acquisition method, system and substrate control manager

Publications (1)

Publication Number Publication Date
CN107168853A true CN107168853A (en) 2017-09-15

Family

ID=59815162

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710356493.6A Pending CN107168853A (en) 2017-05-19 2017-05-19 A kind of server performance information acquisition method, system and substrate control manager

Country Status (1)

Country Link
CN (1) CN107168853A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108491241A (en) * 2018-03-09 2018-09-04 联想(北京)有限公司 Control method and electronic equipment
CN109101393A (en) * 2018-07-09 2018-12-28 深圳市同泰怡信息技术有限公司 Method and system based on BMC monitoring server CPU resource utilization
WO2020019724A1 (en) * 2018-07-27 2020-01-30 郑州云海信息技术有限公司 Method for acquiring sensor data in server, acquisition system, and related apparatus
CN112395165A (en) * 2020-11-27 2021-02-23 中电科技(北京)有限公司 Method and equipment for acquiring resource utilization rate of server and server
CN113110970A (en) * 2021-04-08 2021-07-13 浪潮商用机器有限公司 Method, device, equipment and medium for monitoring components in server working mode
US11494280B2 (en) 2020-04-09 2022-11-08 Hewlett Packard Enterprise Development Lp Consumption monitoring device and related method for networked resources

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101577698A (en) * 2008-05-09 2009-11-11 中兴通讯股份有限公司 System with external intelligent management server and method for monitoring server and processing commands
CN102662818A (en) * 2012-04-28 2012-09-12 浪潮电子信息产业股份有限公司 Server remote monitoring management method based on intelligent handheld equipment
US20140032978A1 (en) * 2012-07-30 2014-01-30 Hon Hai Precision Industry Co., Ltd. Server and method of monitoring baseboard management controller
CN104483913A (en) * 2014-10-31 2015-04-01 山东超越数控电子有限公司 Method employing I2C bus to realize Loongson blade server power source state monitoring
US20150127814A1 (en) * 2013-11-07 2015-05-07 Inventec Corporation Monitoring Server Method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101577698A (en) * 2008-05-09 2009-11-11 中兴通讯股份有限公司 System with external intelligent management server and method for monitoring server and processing commands
CN102662818A (en) * 2012-04-28 2012-09-12 浪潮电子信息产业股份有限公司 Server remote monitoring management method based on intelligent handheld equipment
US20140032978A1 (en) * 2012-07-30 2014-01-30 Hon Hai Precision Industry Co., Ltd. Server and method of monitoring baseboard management controller
US20150127814A1 (en) * 2013-11-07 2015-05-07 Inventec Corporation Monitoring Server Method
CN104483913A (en) * 2014-10-31 2015-04-01 山东超越数控电子有限公司 Method employing I2C bus to realize Loongson blade server power source state monitoring

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108491241A (en) * 2018-03-09 2018-09-04 联想(北京)有限公司 Control method and electronic equipment
CN109101393A (en) * 2018-07-09 2018-12-28 深圳市同泰怡信息技术有限公司 Method and system based on BMC monitoring server CPU resource utilization
WO2020010890A1 (en) * 2018-07-09 2020-01-16 深圳市同泰怡信息技术有限公司 Method and system for monitoring resource utilization rate of server cpu based on bmc
WO2020019724A1 (en) * 2018-07-27 2020-01-30 郑州云海信息技术有限公司 Method for acquiring sensor data in server, acquisition system, and related apparatus
US11494280B2 (en) 2020-04-09 2022-11-08 Hewlett Packard Enterprise Development Lp Consumption monitoring device and related method for networked resources
CN112395165A (en) * 2020-11-27 2021-02-23 中电科技(北京)有限公司 Method and equipment for acquiring resource utilization rate of server and server
CN113110970A (en) * 2021-04-08 2021-07-13 浪潮商用机器有限公司 Method, device, equipment and medium for monitoring components in server working mode

Similar Documents

Publication Publication Date Title
CN107168853A (en) A kind of server performance information acquisition method, system and substrate control manager
CN105978728B (en) The monitoring method of intelligent monitor system and operational indicator
CN105281981B (en) The data traffic monitoring method and device of network service
CN109672627A (en) Method for processing business, platform, equipment and storage medium based on cluster server
CN106373396A (en) Intelligent traffic cloud control system-based control server
CN103166773A (en) Method and system for monitoring operation state of server
CN108234150A (en) For the data acquisition and processing (DAP) method and system of data center's monitoring system
CN106101264A (en) Content distributing network daily record method for pushing, device and system
CN108156225A (en) It is micro- using monitoring system and method based on container cloud platform
CN107592274A (en) A kind of control management method of web server computer
CN107579858A (en) The alarm method and device of cloud main frame, communication system
CN110166529A (en) It keeps logging in state method, apparatus, equipment and storage medium
CN109194919A (en) A kind of camera data flow distribution system, method and its computer storage medium
CN108471435A (en) A kind of distributed background service system and method based on Self-help vending machine
CN110968479A (en) Business-level full-link monitoring method for application program and server
CN208046653U (en) A kind of electric power monitoring system network security monitoring main website plateform system
CN106502856B (en) A kind of information processing method and device
CN108289041B (en) Server information processing method and related device
CN106027306A (en) Resource monitoring method and device
CN106447242A (en) Power consumption service acceptance time limit management method and device
CN102082677A (en) Alarm information processing method, device and system
CN106570011A (en) Distributed crawler URL seed distribution method, dispatching node, and grabbing node
CN107911229A (en) Based reminding method, device, electronic equipment and the storage medium that operating status changes
DE112011105853T5 (en) Management of buffer feed control by connection status
CN105187490B (en) A kind of transfer processing method of internet of things data

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

Application publication date: 20170915

RJ01 Rejection of invention patent application after publication