CN107643965A - A kind of server diagnostic method, system, equipment and computer storage medium - Google Patents

A kind of server diagnostic method, system, equipment and computer storage medium Download PDF

Info

Publication number
CN107643965A
CN107643965A CN201710912249.3A CN201710912249A CN107643965A CN 107643965 A CN107643965 A CN 107643965A CN 201710912249 A CN201710912249 A CN 201710912249A CN 107643965 A CN107643965 A CN 107643965A
Authority
CN
China
Prior art keywords
mcu
server
hardware
status information
bmc
Prior art date
Application number
CN201710912249.3A
Other languages
Chinese (zh)
Inventor
梁锐
李冠广
Original Assignee
郑州云海信息技术有限公司
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 郑州云海信息技术有限公司 filed Critical 郑州云海信息技术有限公司
Priority to CN201710912249.3A priority Critical patent/CN107643965A/en
Publication of CN107643965A publication Critical patent/CN107643965A/en

Links

Abstract

The invention discloses a kind of server diagnostic method, system, equipment and computer-readable storage medium, wherein this method includes:Micro-control unit MCU is monitored and is recorded the status information for the hardware being connected in server with multiple pins of the MCU in real time;Under BMC triggering, MCU is sent status information to BMC by a BMC pin, so that the external world diagnoses the hardware problem for causing server to delay machine based on status information by BMC.A kind of server diagnostic method provided by the invention, realize by MCU and multiple hardware are monitored by a BMC pin, so that BMC is more than prior art for the status information of the extraneous hardware provided, so as to provide more diagnosis basis for the extraneous hardware problem for causing server to delay machine that diagnoses, the diagnosis efficiency for machine event of being delayed to server caused by hardware problem is improved to a certain extent.A kind of server diagnostic system, equipment and computer-readable storage medium disclosed by the invention also solve the problems, such as relevant art.

Description

A kind of server diagnostic method, system, equipment and computer storage medium

Technical field

The present invention relates to server diagnostic techniques field, more specifically to a kind of server diagnostic method, system, Equipment and computer-readable storage medium.

Background technology

The raising of growth and the service stability requirement of the business provided with server, to the stability of server It is required that more and more higher.And server delay chance influence server stability, server delay machine the reason for may be software issue, May also be hardware problem, it is necessary to cause server delay machine the problem of position.

Existing server diagnostic method can be to BIOS (Basic Input Output System, basic input and output System) etc. the machine event of delaying of server caused by software issue diagnosed;BMC (Baseboard Management can be passed through Controller, baseboard management controller) hardware of server is monitored, cause server to be delayed the hard of machine for extraneous diagnosis Part problem provides diagnosis basis.

However, BMC can only be connected by the pin of itself with hardware, a pin connects a hardware, is limited to BMC's Number of pin, BMC can only be monitored to a small number of hardware, can not accomplish the monitoring to a large amount of hardware, so as to be carried for the external world For the diagnosis basis of abundance so that the diagnosis efficiency for machine event of being delayed to server caused by hardware problem is relatively low.

In summary, how to improve the diagnosis efficiency for machine event of being delayed to server caused by hardware problem is current this area Technical staff's urgent problem to be solved.

The content of the invention

It is an object of the invention to provide a kind of server diagnostic method, and it can solve how to improve to hard to a certain extent Server caused by part problem delay machine event diagnosis efficiency technical problem.Present invention also offers a kind of diagnosis of server to be System, equipment and computer-readable storage medium.

To achieve these goals, the present invention provides following technical scheme:

A kind of server diagnostic method, including:

Micro-control unit MCU is monitored and is recorded the state for the hardware being connected in server with multiple pins of the MCU in real time Information, the total number pins amount of the MCU is N;

Under BMC triggering, the MCU is sent the status information to described by a pin of the BMC BMC, so that the external world diagnoses the hardware problem for causing the server to delay machine based on the status information by the BMC.

Preferably, the micro-control unit MCU is monitored and is recorded what is be connected in server with multiple pins of the MCU in real time The status information of hardware, including:

Micro-control unit MCU is monitored and is recorded the state for the hardware being connected in server with multiple pins of the MCU in real time Information, the status information include the information of voltage and temperature information of each hardware.

Preferably, the micro-control unit MCU is monitored and is recorded what is be connected in server with multiple pins of the MCU in real time The status information of hardware, including:

The status information for the hardware being connected in the real-time monitoring servers of micro-control unit MCU with multiple pins of the MCU, and The status information is recorded into the preset table of itself in real time.

Present invention also offers a kind of server diagnostic system, including:Micro-control unit MCU, BMC;

The MCU, the state for monitoring and recording the hardware being connected in server with multiple pins of the MCU in real time are believed Breath, the total number pins amount of the MCU is N;And under BMC triggering, by a pin of the BMC by the shape State information is sent to the BMC, causes the server to be delayed machine so that the external world is based on status information diagnosis by the BMC Hardware problem.

Preferably, the MCU is additionally operable to monitor and record in real time the hardware being connected in server with multiple pins of the MCU Status information, the status information includes the information of voltage and temperature information of each hardware.

Preferably, the MCU is additionally operable to the state for the hardware being connected in real-time monitoring server with multiple pins of the MCU Information, and in real time record the status information into the preset table of itself.

Present invention also offers a kind of server diagnostic device, including:

Memory, for storing computer program;

Processor, a kind of as above server diagnostic method described in any one is realized during for performing the computer program The step of.

Present invention also offers a kind of computer-readable storage medium, there is computer program on the computer-readable storage medium, The step of a kind of as above server diagnostic method described in any one is realized when the computer program is performed.

A kind of server diagnostic method provided by the invention, including:Micro-control unit MCU is monitored and is recorded server in real time In status information with the hardware of multiple pins of the MCU, MCU total number pins amount is N;Under BMC triggering, MCU passes through A BMC pin sends status information to BMC, causes server to be delayed so that the external world is based on status information diagnosis by BMC The hardware problem of machine.A kind of server diagnostic method provided by the invention, MCU are first monitored and recorded in server with being somebody's turn to do in real time The status information of the hardware of MCU multiple pins connection, MCU total number pins amount is N;Then under BMC triggering, MCU leads to A pin for crossing BMC sends status information to BMC, causes server so that the external world is based on status information diagnosis by BMC Delay the hardware problem of machine.A kind of server diagnostic method provided by the invention, monitored in real time by MCU and record in server with The status information of the hardware of multiple pins connection of the MCU, then, under BMC triggering, MCU will by a BMC pin Status information is sent to BMC;Because MCU has N number of pin, N number of hardware can be monitored, and MCU need to only pass through the one of BMC Individual pin can send the status information of multiple hardware of monitoring to BMC, N number of equivalent to a BMC pin is expanded to Pin, compared with mono- pin of BMC connects a hardware in the prior art, the pin that BMC is realized by MCU connects N Individual hardware, so that BMC is more than prior art for the status information of the extraneous hardware provided, so as to be that the external world diagnoses Cause the delay hardware problem of machine of server to provide more diagnosis basis, and then diagnosis efficiency can be improved.In summary, this hair How a kind of Service Diagnostic method of bright offer to a certain extent improves machine of being delayed to server caused by hardware problem if solving The technical problem of the diagnosis efficiency of event.A kind of server diagnostic system, equipment and computer-readable storage medium provided by the invention Also solves corresponding technical problem.

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 flow chart of server diagnostic method provided in an embodiment of the present invention;

Fig. 2 is a kind of structural representation of server diagnostic system provided in an embodiment of the present invention;

Fig. 3 is BMC and two MCU in a kind of server diagnostic system provided in an embodiment of the present invention in practical application The structural representation of connection;

Fig. 4 is a kind of structural representation of server diagnostic device provided in an embodiment of the present invention.

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.

Referring to Fig. 1, Fig. 1 is a kind of flow chart of server diagnostic method provided in an embodiment of the present invention.

A kind of server diagnostic method provided in an embodiment of the present invention, may comprise steps of:

Step S101:Micro-control unit MCU monitor in real time and record in server be connected with multiple pins of the MCU it is hard The status information of part, MCU total number pins amount is N.

In practical application, micro-control unit MCU (Microcontroller Unit) is first monitored and is recorded server in real time In hardware status information, MCU has N number of pin, and each pin can be connected with a hardware, MCU total number pins amount N It can be determined according to being actually needed;The quantity of monitored hardware can be predetermined according to being actually needed, such as extraneous Determined according to conventional diagnostic experiences, afterwards can with by the connection of the pin of hardware to be monitored and corresponding MCU, by MCU realizes the monitoring to the status information of multiple hardware.

Step S102:Under BMC triggering, MCU is sent status information to BMC by a BMC pin, for outer Boundary diagnoses the hardware problem for causing server to delay machine based on status information by BMC.

Because MCU is monitored in real time and records the status information of hardware in server, so, when server delays machine, The status information of record is sent to BMC with a pin by BMC under BMC triggering, so that the external world is based on by BMC Status information diagnoses the hardware problem for causing server to delay machine.In practical application, a MCU is by a BMC pin with being somebody's turn to do BMC connections, MCU send the status information of the hardware of monitoring to BMC by the BMC pin, because MCU enters to N number of hardware Row monitoring, and only need a BMC pin to send the status information of monitored hardware to BMC, it is suitable by MCU N number of hardware is monitored in realizing a pin using BMC.The external world causes server to be delayed machine based on status information diagnosis The diagnostic method of hardware problem can be whether the status information for comparing each hardware exceeds default threshold value, here Threshold value can be the maximum and/or minimum that can be reached according to the status information of each predetermined hardware of actual conditions Value, if so, then confirming that the hardware has hardware problem, if it is not, then the hardware is normal.Certainly there can also be other diagnostic methods, The present invention is not specifically limited herein.

A kind of server diagnostic method provided by the invention, including:Micro-control unit MCU is monitored and is recorded server in real time In the status information of hardware that is connected with multiple pins of the MCU, MCU total number pins amount is N;Under BMC triggering, MCU Status information is sent to BMC by a BMC pin, causes service so that the external world is based on status information diagnosis by BMC Device is delayed the hardware problem of machine.A kind of server diagnostic method provided by the invention, MCU first monitor in real time and record in server with The status information of the hardware of multiple pins connection of the MCU, MCU total number pins amount is N;Then under BMC triggering, MCU Status information is sent to BMC by a BMC pin, causes service so that the external world is based on status information diagnosis by BMC Device is delayed the hardware problem of machine.A kind of server diagnostic method provided by the invention, monitors and records in server in real time by MCU The status information for the hardware being connected with multiple pins of the MCU, then, under BMC triggering, a pin that MCU passes through BMC Status information is sent to BMC;Because MCU has N number of pin, N number of hardware can be monitored, and MCU need to only pass through BMC's One pin can send the status information of multiple hardware of monitoring to BMC, and N is expanded to equivalent to by a BMC pin Individual pin, compared with mono- pin of BMC connects a hardware in the prior art, the pin that BMC is realized by MCU connects N number of hardware, so that BMC is more than prior art for the status information of the extraneous hardware provided, so as to be that the external world diagnoses Cause the delay hardware problem of machine of server to provide more diagnosis basis, and then diagnosis efficiency can be improved.In summary, this hair How a kind of Service Diagnostic method of bright offer to a certain extent improves machine of being delayed to server caused by hardware problem if solving The technical problem of the diagnosis efficiency of event.

In a kind of server diagnostic method provided in an embodiment of the present invention, micro-control unit MCU is monitored and is recorded clothes in real time The status information for the hardware being connected in business device with multiple pins of the MCU, can include:

Micro-control unit MCU is monitored and is recorded the state for the hardware being connected in server with multiple pins of the MCU in real time Information, status information include the information of voltage and temperature information of each hardware.

In practical application, in a kind of server diagnostic method provided in an embodiment of the present invention, what MCU was monitored and recorded in real time The status information of hardware can include the information of voltage and temperature information of hardware, can also monitor and remember according to actual conditions certainly Other information is recorded, the present invention is not specifically limited herein.

In a kind of server diagnostic method provided in an embodiment of the present invention, micro-control unit MCU is monitored and is recorded clothes in real time The status information for the hardware being connected in business device with multiple pins of the MCU, can include:

The status information for the hardware being connected in the real-time monitoring servers of micro-control unit MCU with multiple pins of the MCU, and Status information is recorded into the preset table of itself in real time.

In practical application, MCU can record the status information of hardware by form, can so cause the state of record Information methodization, can also there are the mode of other recording status information, such as recording status information etc. in the form of script certainly, The present invention is not specifically limited herein.

Present invention also offers a kind of server diagnostic system, and there is a kind of server provided in an embodiment of the present invention to examine for it The corresponding effect that disconnected method has.Referring to Fig. 2, Fig. 2 is a kind of knot of server diagnostic system provided in an embodiment of the present invention Structure schematic diagram.

A kind of server diagnostic system provided in an embodiment of the present invention, including:Micro-control unit MCU201, BMC202;

MCU201 is used to monitor in real time and record the state for the hardware being connected with multiple pins of the MCU201 in server Information;And under BMC202 triggering, being sent status information to BMC202 by a BMC202 pin, for It is extraneous that the hardware problem for causing server to delay machine is diagnosed based on status information by BMC202.

In practical application, multiple MCU can be connected on a BMC according to the principle of the present invention, wherein, BMC's is each Pin connects a MCU, realizes the monitoring to more hardware.Illustrated below by taking two MCU of a BMC connection as an example, please Refering to Fig. 3, Fig. 3 is BMC and two MCU in a kind of server diagnostic system provided in an embodiment of the present invention in practical application The structural representation of connection.Wherein, first MCU302 and BMC301 first pin 304 connects, second MCU303 with BMC301 second pin 305 connects.

In a kind of server diagnostic system provided in an embodiment of the present invention, MCU is additionally operable to monitor and record server in real time In the status information of hardware that is connected with the pin of the MCU, status information includes the information of voltage and temperature letter of each hardware Breath.

In a kind of server diagnostic system provided in an embodiment of the present invention, MCU is additionally operable in real-time monitoring server with being somebody's turn to do The status information of the hardware of MCU multiple pins connection, and in real time record status information into the preset table of itself.

Present invention also offers a kind of server diagnostic device and computer-readable storage medium, it is respectively provided with the embodiment of the present invention The corresponding effect that a kind of server diagnostic method provided has.Referring to Fig. 4, Fig. 4 is one kind provided in an embodiment of the present invention The structural representation of server diagnostic device.

A kind of server diagnostic device provided in an embodiment of the present invention can include:

Memory B1, for storing computer program;

Processor B2, a kind of as above server diagnostic method described in any one is realized during for performing computer program Step.

A kind of computer-readable storage medium provided in an embodiment of the present invention, there is computer journey on the computer-readable storage medium Sequence, the step of a kind of as above server diagnostic method described in any one is realized when computer program is performed.

Relevant portion in a kind of server diagnostic system provided in an embodiment of the present invention, equipment and computer-readable storage medium Illustrate the detailed description for referring to corresponding part in a kind of server diagnostic method provided in an embodiment of the present invention, it is no longer superfluous herein State.In addition, in above-mentioned technical proposal provided in an embodiment of the present invention with to correspond to technical scheme realization principle in the prior art consistent Part and unspecified, in order to avoid excessively repeat.

The foregoing description of the disclosed embodiments, those skilled in the art are enable to realize or using the present invention.To this A variety of modifications of a little embodiments will be apparent for a person skilled in the art, and generic principles defined herein can Without departing from the spirit or scope of the present invention, to realize in other embodiments.Therefore, the present invention will not be limited The embodiments shown herein is formed on, and is to fit to consistent with principles disclosed herein and features of novelty most wide Scope.

Claims (8)

  1. A kind of 1. server diagnostic method, it is characterised in that including:
    Micro-control unit MCU is monitored and is recorded the status information for the hardware being connected in server with multiple pins of the MCU in real time, The total number pins amount of the MCU is N;
    Under BMC triggering, the MCU is sent the status information to the BMC by a pin of the BMC, with The hardware problem for causing the server to delay machine is diagnosed based on the status information by the BMC for the external world.
  2. 2. according to the method for claim 1, it is characterised in that the micro-control unit MCU is monitored and recorded service in real time The status information for the hardware being connected in device with multiple pins of the MCU, including:
    Micro-control unit MCU is monitored and is recorded the status information for the hardware being connected in server with multiple pins of the MCU in real time, The status information includes the information of voltage and temperature information of each hardware.
  3. 3. according to the method for claim 2, it is characterised in that the micro-control unit MCU is monitored and recorded service in real time The status information for the hardware being connected in device with multiple pins of the MCU, including:
    The status information for the hardware being connected in the real-time monitoring servers of micro-control unit MCU with multiple pins of the MCU, and in real time The status information is recorded into the preset table of itself.
  4. A kind of 4. server diagnostic system, it is characterised in that including:Micro-control unit MCU, BMC;
    The MCU, for monitoring and recording the status information for the hardware being connected in server with multiple pins of the MCU in real time, The total number pins amount of the MCU is N;And under BMC triggering, by a pin of the BMC by the state Information is sent to the BMC, so that the external world causes the server to be delayed machine by the BMC based on status information diagnosis Hardware problem.
  5. 5. system according to claim 4, it is characterised in that the MCU is additionally operable to monitor and recorded in server in real time The status information for the hardware being connected with multiple pins of the MCU, the information of voltage of the status information including each hardware and Temperature information.
  6. 6. system according to claim 5, it is characterised in that the MCU is additionally operable in real-time monitoring server and the MCU The connection of multiple pins hardware status information, and the status information is recorded into the preset table of itself in real time.
  7. A kind of 7. server diagnostic device, it is characterised in that including:
    Memory, for storing computer program;
    Processor, realize that a kind of server as described in any one of claims 1 to 3 is examined during for performing the computer program The step of disconnected method.
  8. 8. a kind of computer-readable storage medium, it is characterised in that have computer program, the meter on the computer-readable storage medium The step of a kind of server diagnostic method as described in any one of claims 1 to 3 is realized when calculation machine program is performed.
CN201710912249.3A 2017-09-29 2017-09-29 A kind of server diagnostic method, system, equipment and computer storage medium CN107643965A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710912249.3A CN107643965A (en) 2017-09-29 2017-09-29 A kind of server diagnostic method, system, equipment and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710912249.3A CN107643965A (en) 2017-09-29 2017-09-29 A kind of server diagnostic method, system, equipment and computer storage medium

Publications (1)

Publication Number Publication Date
CN107643965A true CN107643965A (en) 2018-01-30

Family

ID=61122716

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710912249.3A CN107643965A (en) 2017-09-29 2017-09-29 A kind of server diagnostic method, system, equipment and computer storage medium

Country Status (1)

Country Link
CN (1) CN107643965A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101126995A (en) * 2006-08-14 2008-02-20 国际商业机器公司 Method and apparatus for processing serious hardware error
CN105487959A (en) * 2015-12-09 2016-04-13 浪潮电子信息产业股份有限公司 Method for managing intel NVMe hard disk
CN106960689A (en) * 2017-03-27 2017-07-18 联想(北京)有限公司 Control the method and system of warning light

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101126995A (en) * 2006-08-14 2008-02-20 国际商业机器公司 Method and apparatus for processing serious hardware error
CN105487959A (en) * 2015-12-09 2016-04-13 浪潮电子信息产业股份有限公司 Method for managing intel NVMe hard disk
CN106960689A (en) * 2017-03-27 2017-07-18 联想(北京)有限公司 Control the method and system of warning light

Similar Documents

Publication Publication Date Title
Kim et al. Availability modeling and analysis of a virtualized system
US20050283664A1 (en) Methods, systems, and media for generating a regression suite database
CN103201724B (en) Providing application high availability in highly-available virtual machine environments
US20030220999A1 (en) Method and apparatus for storing data and replaying stored data in a temporally accurate manner
US6993683B2 (en) Analysis of pipelined networks
US8418003B2 (en) Log collecting apparatus, program, method, and system
US6944796B2 (en) Method and system to implement a system event log for system manageability
TW200818773A (en) Merging multi-line log entries
EP1494118A3 (en) A failure information management method and management server in a network equipped with a storage device
CN100468374C (en) Method and apparatus to establish, report and adjust system memory usage
DE10124482A1 (en) Data file server for performing data-file transaction processes as a reaction to data file transaction requests by clients, uses first transaction protocol for storage of higher-authority data transaction process information
US20080133489A1 (en) Run-time performance verification system
CN103354924A (en) Multiple modeling paradigm for predictive analytics
CN101997925A (en) Server monitoring method with early warning function and system thereof
US20080313109A1 (en) System, method and computer program product for eveluating a storage policy
CN101291243B (en) Split brain preventing method for highly available cluster system
CN103336742A (en) Automation software black box testing system and method based on Android
CN103607297A (en) Fault processing method of computer cluster system
CN101021742A (en) Method and system for throttle management for blade system
US20100332646A1 (en) Unified enterprise level method and system for enhancing application and storage performance
Grottke et al. Software Faults, Software Aging and Software Rejuvenation (< Special Survey> New Development of Software Reliability Engineering)
EP2458785A3 (en) Data communication
JP2004152280A (en) Damaged file system detection method and device
CN104021069B (en) The management method and system of the software performance test based on distributed virtual machine system
US8538720B2 (en) Cold boot test system and method for electronic devices

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