CN109086188A - A kind of method and device of fast acquiring system health status - Google Patents

A kind of method and device of fast acquiring system health status Download PDF

Info

Publication number
CN109086188A
CN109086188A CN201810837824.2A CN201810837824A CN109086188A CN 109086188 A CN109086188 A CN 109086188A CN 201810837824 A CN201810837824 A CN 201810837824A CN 109086188 A CN109086188 A CN 109086188A
Authority
CN
China
Prior art keywords
information
bmc
health status
biso
detection
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
CN201810837824.2A
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 CN201810837824.2A priority Critical patent/CN109086188A/en
Publication of CN109086188A publication Critical patent/CN109086188A/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/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/328Computer systems status display
    • 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/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Computing Systems (AREA)
  • Quality & Reliability (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The present invention provides a kind of method and device of fast acquiring system health status, and creation test script obtains system health status, includes the following steps: the BMC log information of detection system installation process, detection system key position information;It checks whether there are extra non-start up installation log, if BMC log information and key position information are normal, the basic firmware information of detection system;If normal, it completes to exit, otherwise exports exception information.The present invention can both be based on local Linux serial system, long-range determining system health status can be extended to again, system running state is determined without tester's actual field, the health status for quickly detecting new installation system can be reached, simultaneously queueing problem can be quickly positioned before test, save test and a large amount of one by onechecking and result comparison time of maintenance personnel.

Description

A kind of method and device of fast acquiring system health status
Technical field
The present invention relates to server system integration testing technical fields, are specifically related to a kind of fast acquiring system health status Method and device.
Background technique
During server system integration testing, system compatibility test is one of essential test item, then After system is installed, determine that the health status of system is a careful and cumbersome job, if there is some unobvious Temporarily do not interfere with the problem of system simply uses, find the problem until complicated upper layer application, often influence whether again Entire project process wastes the circulation development time of research staff.This needs a kind of tool of pool just to guarantee comprehensively Detect the health and fitness information of system.
Summary of the invention
In order to overcome the deficiencies in the prior art described above, the present invention provides a kind of method of fast acquiring system health status And device, to solve the above technical problems.
The technical scheme is that
A kind of method of fast acquiring system health status, creation test script obtain system health status, including as follows Step:
The BMC log information of detection system installation process;
Detection system key position information;
If BMC log information and key position information are normal, the basic firmware information of detection system;If normal, it completes to move back Out, exception information is otherwise exported.
Further, the BMC log information of step detection system installation process, includes the following steps:
The BMC log information of detection system installation process checks whether that there are extra non-start up installation logs, if having different Test often is exited, and exports exception information.
Further, step detection system key position information, comprising:
Whether in place detect monitoring sensor;
Detect operating system version;
Detection system log information.
Further, the basic firmware information of step detection system, comprising:
Detection system BMC essential information;
Detect biso information.
Further, step detection system BMC essential information, comprising:
Detect BMC firmware revision information;
Detect IPMI version information;
Detect BMC version updating temporal information.
Further, step detects biso information, comprising:
Detect biso manufacturer information;
Detect biso version information;
It detects biso and discharges version information.
Technical solution of the present invention also provides a kind of device of fast acquiring system health status, including BMC log information obtains Modulus block, key position data obtaining module, judgment module, firmware information detection module and export module;
BMC log data obtaining module, for obtaining the BMC log information of system installation process;
Key position data obtaining module, for obtaining system core location information;
Judgment module is respectively used to judge what BMC log data obtaining module and key position data obtaining module obtained Whether information is normal;
Whether firmware information detection module is normal for obtaining the simultaneously basic firmware information of detection system;
Export module, for exporting the exception information of firmware information detection module and judgment module output.
Further, BMC log data obtaining module includes query unit, and query unit is installed for checking in system Process whether there is extra non-start up installation log.
Further, key position data obtaining module includes sensor detection unit in place, operating system version acquisition Unit and system log message acquiring unit;
Sensor detection unit in place, it is whether in place for detecting monitoring sensor;
Operating system version acquiring unit obtains operating system version for detecting;
System log message acquiring unit, for obtaining system log message.
Further, firmware information detection module includes BMC essential information detection unit and biso information detecting unit;
BMC essential information detection unit is used for detection system BMC essential information;
Wherein, BMC essential information includes believing BMC firmware revision information, IPMI version information and BMC version updating time Breath;
Biso information detecting unit, for detecting biso information;
Wherein, biso information includes biso manufacturer information, biso version information and biso release version information.
As can be seen from the above technical solutions, the invention has the following advantages that this system health status monitoring method passes through Key message and installation system process correspond to the crucial log of generation finally to determine system whether normal operation under detection system.
The present invention can not only be based on local Linux serial system, but also can extend to long-range determining system health status, nothing It needs tester's actual field to determine system running state, the health status for quickly detecting new installation system can be reached, it can be Simultaneously queueing problem is quickly positioned before testing, when saving test and a large amount of one by onechecking and the result comparison of maintenance personnel Between, and can be widely used on multiple systems.
In addition, design principle of the present invention is reliable, structure is simple, has very extensive application prospect.
It can be seen that compared with prior art, the present invention have substantive distinguishing features outstanding and it is significant ground it is progressive, implementation Beneficial effect be also obvious.
Detailed description of the invention
Fig. 1 is a kind of method flow diagram of fast acquiring system health status.
Specific embodiment
The present invention will be described in detail with reference to the accompanying drawing and by specific embodiment, and following embodiment is to the present invention Explanation, and the invention is not limited to following implementation.
Embodiment one
As shown in Figure 1, a kind of method of fast acquiring system health status, creation test script obtains system health shape State includes the following steps:
The BMC log information of detection system installation process;
Detection system key position information;
If BMC log information and key position information are normal, the basic firmware information of detection system;If normal, it completes to move back Out, exception information is otherwise exported.
The BMC log information of step detection system installation process, includes the following steps
The BMC log information of detection system installation process checks whether that there are extra non-start up installation logs, if having different Test often is exited, and exports exception information.
Step detection system key position information, comprising:
Whether in place detect monitoring sensor;
Detect operating system version;
Detection system log information.
The basic firmware information of step detection system, comprising:
Detection system BMC essential information;
Detect biso information.
Step detection system BMC essential information, comprising:
Detect BMC firmware revision information;
Detect IPMI version information;
Detect BMC version updating temporal information.
Step detects biso information, comprising:
Detect biso manufacturer information;
Detect biso version information;
It detects biso and discharges version information.
The BMC log information of detection system installation process checks whether that there are extra non-start up installation logs;And it detects Whether monitoring sensor is in place;
It checks OS information, predominantly detects whether OS installation version meets expection;
Detection system messages, mcelog and dmesg record information, detect whether exception record occur;
Detect whether BIOS and bmc information is correct, this functions of modules can be modified and extend according to actual needs, have very Strong changeability.
Embodiment two
A kind of device of fast acquiring system health status, including BMC log data obtaining module, key position information obtain Modulus block, judgment module, firmware information detection module and export module;
BMC log data obtaining module, for obtaining the BMC log information of system installation process;
Key position data obtaining module, for obtaining system core location information;
Judgment module is respectively used to judge what BMC log data obtaining module and key position data obtaining module obtained Whether information is normal;
Whether firmware information detection module is normal for obtaining the simultaneously basic firmware information of detection system;
Export module, for exporting the exception information of firmware information detection module and judgment module output.
BMC log data obtaining module includes query unit, query unit, for checking whether system installation process is deposited In extra non-start up installation log.
Key position data obtaining module includes sensor detection unit in place, operating system version acquiring unit and system Log information acquiring unit;
Sensor detection unit in place, it is whether in place for detecting monitoring sensor;
Operating system version acquiring unit obtains operating system version for detecting;
System log message acquiring unit, for obtaining system log message.
Firmware information detection module includes BMC essential information detection unit and biso information detecting unit;
BMC essential information detection unit is used for detection system BMC essential information;
Wherein, BMC essential information includes believing BMC firmware revision information, IPMI version information and BMC version updating time Breath;
Biso information detecting unit, for detecting biso information;
Wherein, biso information includes biso manufacturer information, biso version information and biso release version information.
Description and claims of this specification and term " first ", " second ", " third " " in above-mentioned attached drawing The (if present)s such as four " are to be used to distinguish similar objects, without being used to describe a particular order or precedence order.It should manage The data that solution uses in this way are interchangeable under appropriate circumstances, so as to the embodiment of the present invention described herein can in addition to Here the sequence other than those of diagram or description is implemented.In addition, term " includes " and " having " and their any deformation, It is intended to cover and non-exclusive includes.
The foregoing description of the disclosed embodiments enables those skilled in the art to implement or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, as defined herein General Principle can be realized in other embodiments without departing from the spirit or scope of the present invention.Therefore, of the invention It is not intended to be limited to the embodiments shown herein, and is to fit to and the principles and novel features disclosed herein phase one The widest scope of cause.

Claims (10)

1. a kind of method of fast acquiring system health status, which is characterized in that creation test script obtains system health status, Include the following steps:
The BMC log information of detection system installation process;
Detection system key position information;
The basic firmware information of detection system;If normal, it completes to exit, otherwise exports exception information.
2. a kind of method of fast acquiring system health status according to claim 1, which is characterized in that step detection system The BMC log information for installation process of uniting, includes the following steps
The BMC log information of detection system installation process checks whether that there are extra non-start up installation logs, if there is abnormal move back It tests out, and exports exception information.
3. a kind of method of fast acquiring system health status according to claim 1, which is characterized in that step detection system System key position information, comprising:
Whether in place detect monitoring sensor;
Detect operating system version;
Detection system log information.
4. a kind of method of fast acquiring system health status according to claim 1, which is characterized in that step detection system It unites basic firmware information, comprising:
Detection system BMC essential information;
Detect biso information.
5. a kind of method of fast acquiring system health status according to claim 4, which is characterized in that step detection system System BMC essential information, comprising:
Detect BMC firmware revision information;
Detect IPMI version information;
Detect BMC version updating temporal information.
6. a kind of method of fast acquiring system health status according to claim 4, which is characterized in that step detection Biso information, comprising:
Detect biso manufacturer information;
Detect biso version information;
It detects biso and discharges version information.
7. a kind of device of fast acquiring system health status, which is characterized in that including BMC log data obtaining module, key Position information acquisition module, judgment module, firmware information detection module and export module;
BMC log data obtaining module, for obtaining the BMC log information of system installation process;
Key position data obtaining module, for obtaining system core location information;
Judgment module is respectively used to judge the information that BMC log data obtaining module and key position data obtaining module obtain It is whether normal;
Whether firmware information detection module is normal for obtaining the simultaneously basic firmware information of detection system;
Export module, for exporting the exception information of firmware information detection module and judgment module output.
8. a kind of device of fast acquiring system health status according to claim 7, which is characterized in that BMC log letter It includes query unit that breath, which obtains module, and query unit is pacified in system installation process with the presence or absence of extra non-start up for checking Fill log.
9. a kind of device of fast acquiring system health status according to claim 7, which is characterized in that key position letter It includes sensor detection unit in place, operating system version acquiring unit and system log message acquiring unit that breath, which obtains module,;
Sensor detection unit in place, it is whether in place for detecting monitoring sensor;
Operating system version acquiring unit obtains operating system version for detecting;
System log message acquiring unit, for obtaining system log message.
10. a kind of device of fast acquiring system health status according to claim 7, which is characterized in that firmware information Detection module includes BMC essential information detection unit and biso information detecting unit;
BMC essential information detection unit is used for detection system BMC essential information;
Wherein, BMC essential information includes BMC firmware revision information, IPMI version information and BMC version updating temporal information;
Biso information detecting unit, for detecting biso information;
Wherein, biso information includes biso manufacturer information, biso version information and biso release version information.
CN201810837824.2A 2018-07-26 2018-07-26 A kind of method and device of fast acquiring system health status Pending CN109086188A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810837824.2A CN109086188A (en) 2018-07-26 2018-07-26 A kind of method and device of fast acquiring system health status

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810837824.2A CN109086188A (en) 2018-07-26 2018-07-26 A kind of method and device of fast acquiring system health status

Publications (1)

Publication Number Publication Date
CN109086188A true CN109086188A (en) 2018-12-25

Family

ID=64830954

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810837824.2A Pending CN109086188A (en) 2018-07-26 2018-07-26 A kind of method and device of fast acquiring system health status

Country Status (1)

Country Link
CN (1) CN109086188A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040228063A1 (en) * 2002-01-10 2004-11-18 Hawkins Pete A. IPMI dual-domain controller
CN102063312A (en) * 2009-11-16 2011-05-18 英业达股份有限公司 Method for detecting pre-installed software
CN105608002A (en) * 2015-12-17 2016-05-25 浪潮电子信息产业股份有限公司 Method for simultaneously capturing all node information of Rack whole cabinet
CN105955858A (en) * 2016-05-10 2016-09-21 浪潮电子信息产业股份有限公司 Method and device for testing log recording function of BMC (Baseboard Management Controller)
CN107665260A (en) * 2017-10-24 2018-02-06 郑州云海信息技术有限公司 A kind of log collection instrument based on Linux system
CN107832194A (en) * 2017-11-16 2018-03-23 郑州云海信息技术有限公司 A kind of server failure detecting system and method based on onboard BMC

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040228063A1 (en) * 2002-01-10 2004-11-18 Hawkins Pete A. IPMI dual-domain controller
CN102063312A (en) * 2009-11-16 2011-05-18 英业达股份有限公司 Method for detecting pre-installed software
CN105608002A (en) * 2015-12-17 2016-05-25 浪潮电子信息产业股份有限公司 Method for simultaneously capturing all node information of Rack whole cabinet
CN105955858A (en) * 2016-05-10 2016-09-21 浪潮电子信息产业股份有限公司 Method and device for testing log recording function of BMC (Baseboard Management Controller)
CN107665260A (en) * 2017-10-24 2018-02-06 郑州云海信息技术有限公司 A kind of log collection instrument based on Linux system
CN107832194A (en) * 2017-11-16 2018-03-23 郑州云海信息技术有限公司 A kind of server failure detecting system and method based on onboard BMC

Similar Documents

Publication Publication Date Title
CN100517262C (en) Master plate monitoring system and method
CN103163397B (en) Universal analog quantity plate detection system for nuclear plant and method
US20120239981A1 (en) Method To Detect Firmware / Software Errors For Hardware Monitoring
CN107678936B (en) Business system pre-inspection method, server and computer readable storage medium
CN107688531A (en) Geo-database integration method of testing, device, computer equipment and storage medium
CN105045689A (en) Method for using RAID card to perform hard disk batch detection, monitoring and alerting
CN102055615B (en) Server monitoring method
US20080270827A1 (en) Recovering diagnostic data after out-of-band data capture failure
CN105335264A (en) Computer PCIE (Peripheral Component Interconnect Express) adapter card function testing method based on UEFI (Unified Extensible Firmware Interface)
CN107832194A (en) A kind of server failure detecting system and method based on onboard BMC
CN102681909A (en) Server early-warning method based on memory errors
CN107423171A (en) The detection method and device of insertion slot type function expansion card based on PCIE standards
CN106557408A (en) A kind of computer fault alarm system and method
CN110469522A (en) A kind of method for detecting abnormality and device of drainage system
CN109086188A (en) A kind of method and device of fast acquiring system health status
CN101324856B (en) Method and system for upgrading data
CN210666750U (en) Memory fault alarm device
KR102423388B1 (en) A complex sensing IoT leak detection system including a leak sensor, an edge computing gateway, and a management server
CN111694685A (en) PCIE equipment fault positioning method and device
CN111309584A (en) Data processing method and device, electronic equipment and storage medium
CN109064687A (en) A kind of self-service terminal condition monitoring system and method
CN106354635A (en) Embedded device procedure code segment self-inspection method and device
CN111290920B (en) System, method and storage medium for testing CPU temperature based on PECI bus
CN111930081A (en) Method and device for monitoring AGV state, edge device and storage medium
CN112650611B (en) Method and system for diagnosing server faults in batches

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: 20181225