CN107943699A - A kind of method and system of test server FRU and DMI synchronizing information function - Google Patents
A kind of method and system of test server FRU and DMI synchronizing information function Download PDFInfo
- Publication number
- CN107943699A CN107943699A CN201711191404.3A CN201711191404A CN107943699A CN 107943699 A CN107943699 A CN 107943699A CN 201711191404 A CN201711191404 A CN 201711191404A CN 107943699 A CN107943699 A CN 107943699A
- Authority
- CN
- China
- Prior art keywords
- fru
- dmi
- information
- standard values
- read
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
- G06F11/3672—Test management
- G06F11/3688—Test management for test execution, e.g. scheduling of test suites
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Debugging And Monitoring (AREA)
Abstract
The present invention provides a kind of test server FRU and the method and system of DMI synchronizing information functions,Before server OS runs circulation start test,Check whether a FRU and DMI information is synchronous,And it is standard value to achieve this inspection result,During following cycle start test,Start enters system every time,Current FRU and DMI information is captured automatically by the way of self-starting of starting shooting,New crawl FRU values then are done contrast with the FRU standard values of first time crawl to match,It is determined as Pass if completely the same,The DMI information newly captured and the DMI standard values of first time crawl are contrasted,If matching completely,Then it is determined as Pass,If both judging results have the non-successful match of one,Then FRU the and DMI information by this crawl saves as Fail Log.The present invention effectively increases the quality of server system, simple and practical, saves human cost, is applicable to the situation of circulation start detecting system information matches accuracy.
Description
Technical field
The present invention relates to the technical field of server test, and in particular to a kind of test server FRU and DMI synchronizing informations
The method and system of function.
Background technology
DMI (Desktop Management Interface) is to aid in collecting the management system of computer system information.DMI
Act as the role of the interface of management tool and system layer, establish standard can management system be more convenient for manufacturer computer
With understanding of the user to system, the chief component of DMI is Management Information Format (MIF) data
Storehouse, the database include all information in relation to computer system and accessory.By DMI, user can obtain sequence number, computer
Manufacturer, Serial Port Information and other system accessories information, this partial information are handled by BIOS.
FRU (Field Replace Unit) Field Replaceable Unit, the information included in FRU is essentially the same with DMI, its
Function is also manufacturer's later maintenance identification easy to produce, this partial information is handled by BMC.
Since the information that both include is basically identical, but towards object it is different, one is facing to manufacture manufacturer, one
It is terminaloriented user, the position of information storage is also different, and one is BIOS, and one is BMC, this may result in multiple start
Afterwards, FRU information and DMI information loss or the phenomenon of read error, when the information appearance included in FRU and DMI is inconsistent
When, it is easy for causing the confusion in the assets information synchronization between manufacturer and client, so that causing undesirable brand to user
Image.
The content of the invention
Based on the above problem, the present invention proposes a kind of method of test server FRU and DMI synchronizing information function and is
System, to improve product quality.
The present invention provides following technical solution:
On the one hand, the present invention provides a kind of test server FRU and the method for DMI synchronizing information functions, including:
Step 101, the installation operation system in server to be tested;
Step 102, FRU information and DMI information are read, the matching degree and correctness of FRU information and DMI information is contrasted, will match
Successful FRU information and DMI information save as FRU standard values and DMI standard values respectively;
Step 103, start self-triggered program is set in the operating system, and described program is after server start enters system
Automated execution, reads FRU and DMI information, and matching test is carried out with FRU standard values and DMI standard values.
Wherein, the reading FRU information and DMI information are specially:FRU and DMI is read in installation in the operating system
The instrument of information, FRU information and DMI information are read using the instrument respectively.
Wherein, the instrument for reading FRU information is ipmitool, reads the instrument DMIdecode of DMI information.
Wherein, FRU and DMI information is read, carrying out matching test with FRU standard values and DMI standard values is specially:Reading is opened
FRU and DMI values after dynamic, will read the FRU values after starting and do to contrast with FRU standard values and match, and be determined as if matching completely
Pass;The DMI values read after starting are contrasted with DMI standard values, if matching completely, is determined as Pass;If FRU and DMI
Both judging results have the non-successful match of one, then the FRU and DMI information by this reading saves as Fail Log, continue
Follow-up circulation start test.
In addition, present invention also offers a kind of test server FRU and the system of DMI synchronizing information functions, the system
Including:
Module is installed, for the installation operation system in server to be tested;
Standard value module, for reading FRU information and DMI information, contrasts the matching degree and correctness of FRU information and DMI information,
The FRU information of successful match and DMI information are saved as into FRU standard values and DMI standard values respectively;
Matching module, for setting start self-triggered program in the operating system, described program is started shooting in server to be entered
Automated execution after system, reads FRU and DMI information, and matching test is carried out with FRU standard values and DMI standard values.
Wherein, the reading FRU information and DMI information are specially:FRU and DMI is read in installation in the operating system
The instrument of information, FRU information and DMI information are read using the instrument respectively.
Wherein, the instrument for reading FRU information is ipmitool, reads the instrument DMIdecode of DMI information.
Wherein, FRU and DMI information is read, carrying out matching test with FRU standard values and DMI standard values is specially:Reading is opened
FRU and DMI values after dynamic, will read the FRU values after starting and do to contrast with FRU standard values and match, and be determined as if matching completely
Pass;The DMI values read after starting are contrasted with DMI standard values, if matching completely, is determined as Pass;If FRU and DMI
Both judging results have the non-successful match of one, then the FRU and DMI information by this reading saves as Fail Log, continue
Follow-up circulation start test.
The present invention provides a kind of test server FRU and the method and system of DMI synchronizing information functions, is grasped in server
Before making system operation circulation start test, check whether a FRU and DMI information is synchronous, and this inspection result is achieved and is
Standard value, during following cycle start test, start every time enters system, and crawl is worked as automatically by the way of self-starting of starting shooting
Preceding FRU and DMI information, then does contrast with the FRU standard values of first time crawl by new crawl FRU values and matches, if complete one
Cause is then determined as Pass, and the DMI information newly captured and the DMI standard values of first time crawl are contrasted, if matching completely,
It is determined as Pass, if both judging results have the non-successful match of one, FRU the and DMI information of this crawl is preserved
For Fail Log, so that contingency question is analyzed.The present invention effectively increases the quality of server system, simple and practical, saves
Human cost, is applicable to the situation of circulation start detecting system information matches accuracy.
Brief description of the drawings
Fig. 1 is flow chart of the method for the present invention;
Fig. 2 is the system architecture diagram of the present invention.
Embodiment
To describe the technical solutions in the embodiments of the present invention more clearly, below will be to needed in the embodiment
Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for ability
For the those of ordinary skill of domain, without creative efforts, it can also be obtained according to these attached drawings other attached
Figure.
The present invention is used as standard value by the way that first time is read FRU and DMI information, and follow-up circulation start test can be automatic
Contrasted with standard value, without gradually checking manually, the present invention is highly practical, automatic cycle checks FRU and DMI synchronizing informations.
On the one hand, embodiments of the present invention provide a kind of side of test server FRU and DMI synchronizing information function
Method, attached drawing 1 are flow chart of the method for the present invention, and attached drawing 2 is the system architecture diagram of the present invention, including:
Step 101, the installation operation system in server to be tested;
Step 102, FRU information and DMI information are read, contrasts the matching degree and correctness of FRU information and DMI information, will
The FRU information and DMI information of successful match save as FRU standard values and DMI standard values respectively;
Installation can read the instrument (ipmitool and DMIdecode) of FRU and DMI information in an operating system, utilize
New installation tool, reads FRU information and DMI information respectively;Required according to dispatching from the factory, contrast the matching degree of FRU information and DMI information
And correctness, the FRU information of this successful match and DMI information are saved as into standard value respectively;
Step 103, start self-triggered program is set in the operating system, and described program is started shooting in server enters system
Automated execution after system, reads FRU and DMI information, and matching test is carried out with FRU standard values and DMI standard values.
Start self-triggered program is set in an operating system, which can hold automatically after server starts shooting and enters system
OK, implementation procedure is as follows:FRU and DMI information after this starts is read, the FRU for then capturing new crawl FRU values with first time
Standard value does contrast matching, is determined as Pass if completely the same, similarly, by the DMI information newly captured with capturing for the first time
DMI standard values contrast, if matching completely, is determined as Pass, if both judging result has one not match into
Work(, then save as Fail Log by this FRU and DMI information captured, then proceedes to follow-up circulation start test.
The present invention provides a kind of test server FRU and the method for DMI synchronizing information functions, in server OS
Before operation circulation start test, check whether a FRU and DMI information is synchronous, and it is standard value that this inspection result, which is achieved,
Following cycle start test during, every time start enter system, captured automatically by the way of self-starting of starting shooting current FRU with
DMI information, then does contrast with the FRU standard values of first time crawl by new crawl FRU values and matches, judge if completely the same
For Pass, the DMI information newly captured and the DMI standard values of first time crawl are contrasted, if matching completely, is determined as
Pass, if both judging results have the non-successful match of one, Fail is saved as by FRU the and DMI information of this crawl
Log, so that contingency question is analyzed.The present invention effectively increases the quality of server system, simple and practical, save manpower into
This, is applicable to the situation of circulation start detecting system information matches accuracy.
On the other hand, what embodiments of the present invention provided a kind of test server FRU and DMI synchronizing information function is
System, Fig. 1 are flow chart of the method for the present invention, and attached drawing 2 is the system architecture diagram of the present invention.The system comprises:
Module 201 is installed, for the installation operation system in server to be tested;
Standard value module 202, for reading FRU information and DMI information, contrast FRU information and DMI information matching degree and
Correctness, FRU standard values and DMI standard values are saved as by the FRU information of successful match and DMI information respectively;
Installation can read the instrument (ipmitool and DMIdecode) of FRU and DMI information in an operating system, utilize
New installation tool, reads FRU information and DMI information respectively;Required according to dispatching from the factory, contrast the matching degree of FRU information and DMI information
And correctness, the FRU information of this successful match and DMI information are saved as into standard value respectively;
Matching module 203, for setting start self-triggered program in the operating system, described program is opened in server
Machine enters automated execution after system, reads FRU and DMI information, and matching test is carried out with FRU standard values and DMI standard values.
Start self-triggered program is set in an operating system, which can hold automatically after server starts shooting and enters system
OK, implementation procedure is as follows:FRU and DMI information after this starts is read, the FRU for then capturing new crawl FRU values with first time
Standard value does contrast matching, is determined as Pass if completely the same, similarly, by the DMI information newly captured with capturing for the first time
DMI standard values contrast, if matching completely, is determined as Pass, if both judging result has one not match into
Work(, then save as Fail Log by this FRU and DMI information captured, then proceedes to follow-up circulation start test.
The present invention provides a kind of test server FRU and the system of DMI synchronizing information functions, in server OS
Before operation circulation start test, check whether a FRU and DMI information is synchronous, and it is standard value that this inspection result, which is achieved,
Following cycle start test during, every time start enter system, captured automatically by the way of self-starting of starting shooting current FRU with
DMI information, then does contrast with the FRU standard values of first time crawl by new crawl FRU values and matches, judge if completely the same
For Pass, the DMI information newly captured and the DMI standard values of first time crawl are contrasted, if matching completely, is determined as
Pass, if both judging results have the non-successful match of one, Fail is saved as by FRU the and DMI information of this crawl
Log, so that contingency question is analyzed.The present invention effectively increases the quality of server system, simple and practical, save manpower into
This, is applicable to the situation of circulation start detecting system information matches accuracy.
The foregoing description of the disclosed embodiments, enables those skilled in the art to realize or use the present invention.To this
A variety of modifications of a little embodiments will be apparent for a person skilled in the art, and the general 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, but meets the most wide model consistent with the principles and novel features disclosed herein
Enclose.
Claims (8)
- A kind of 1. method of test server FRU and DMI synchronizing information functions, it is characterised in that:Step 101, the installation operation system in server to be tested;Step 102, FRU information and DMI information are read, the matching degree and correctness of FRU information and DMI information is contrasted, will match Successful FRU information and DMI information save as FRU standard values and DMI standard values respectively;Step 103, start self-triggered program is set in the operating system, and described program is after server start enters system Automated execution, reads FRU and DMI information, and matching test is carried out with FRU standard values and DMI standard values.
- 2. according to the method described in claim 1, it is characterized in that:The reading FRU information and DMI information are specially:Institute The instrument that FRU and DMI information is read in installation in operating system is stated, FRU information and DMI information are read respectively using the instrument.
- 3. according to the method described in claim 2, it is characterized in that:The instrument for reading FRU information is ipmitool, reads DMI The instrument DMIdecode of information.
- 4. according to the method described in claim 1, it is characterized in that:FRU and DMI information is read, is marked with FRU standard values and DMI Quasi- value carries out matching test:FRU and DMI values after starting are read, the FRU values read after starting are done with FRU standard values Contrast matching, is determined as Pass if complete matching;The DMI values read after starting are contrasted with DMI standard values, if complete Match somebody with somebody, be then determined as Pass;If the judging result of both FRU and DMI has the non-successful match of one, by this reading FRU and DMI information saves as Fail Log, continues follow-up circulation start test.
- 5. the system of a kind of test server FRU and DMI synchronizing information functions, it is characterised in that:The system comprises:Module is installed, for the installation operation system in server to be tested;Standard value module, for reading FRU information and DMI information, contrasts the matching degree and correctness of FRU information and DMI information, The FRU information of successful match and DMI information are saved as into FRU standard values and DMI standard values respectively;Matching module, for setting start self-triggered program in the operating system, described program is started shooting in server to be entered Automated execution after system, reads FRU and DMI information, and matching test is carried out with FRU standard values and DMI standard values.
- 6. system according to claim 5, it is characterised in that:The reading FRU information and DMI information are specially:Institute The instrument that FRU and DMI information is read in installation in operating system is stated, FRU information and DMI information are read respectively using the instrument.
- 7. system according to claim 6, it is characterised in that:The instrument for reading FRU information is ipmitool, reads DMI The instrument DMIdecode of information.
- 8. system according to claim 5, it is characterised in that:FRU and DMI information is read, is marked with FRU standard values and DMI Quasi- value carries out matching test:FRU and DMI values after starting are read, the FRU values read after starting are done with FRU standard values Contrast matching, is determined as Pass if complete matching;The DMI values read after starting are contrasted with DMI standard values, if complete Match somebody with somebody, be then determined as Pass;If the judging result of both FRU and DMI has the non-successful match of one, by this reading FRU and DMI information saves as Fail Log, continues follow-up circulation start test.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711191404.3A CN107943699A (en) | 2017-11-24 | 2017-11-24 | A kind of method and system of test server FRU and DMI synchronizing information function |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711191404.3A CN107943699A (en) | 2017-11-24 | 2017-11-24 | A kind of method and system of test server FRU and DMI synchronizing information function |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107943699A true CN107943699A (en) | 2018-04-20 |
Family
ID=61949743
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711191404.3A Pending CN107943699A (en) | 2017-11-24 | 2017-11-24 | A kind of method and system of test server FRU and DMI synchronizing information function |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107943699A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108984359A (en) * | 2018-07-19 | 2018-12-11 | 郑州云海信息技术有限公司 | A kind of system UUID synchronization detecting method, device, equipment and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104536875A (en) * | 2015-01-16 | 2015-04-22 | 浪潮电子信息产业股份有限公司 | IPMI-based method for carrying out automatic restart test on server |
CN105068920A (en) * | 2015-07-17 | 2015-11-18 | 浪潮电子信息产业股份有限公司 | Shell-based method for testing stability of rack asset information |
CN105589699A (en) * | 2014-10-20 | 2016-05-18 | 中兴通讯股份有限公司 | Serial number information update method, device and terminal |
CN106528354A (en) * | 2016-10-12 | 2017-03-22 | 郑州云海信息技术有限公司 | Automation method for programming memory power source fru id |
CN106598796A (en) * | 2016-12-16 | 2017-04-26 | 郑州云海信息技术有限公司 | Method for testing hardware information stability in reboot |
-
2017
- 2017-11-24 CN CN201711191404.3A patent/CN107943699A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105589699A (en) * | 2014-10-20 | 2016-05-18 | 中兴通讯股份有限公司 | Serial number information update method, device and terminal |
CN104536875A (en) * | 2015-01-16 | 2015-04-22 | 浪潮电子信息产业股份有限公司 | IPMI-based method for carrying out automatic restart test on server |
CN105068920A (en) * | 2015-07-17 | 2015-11-18 | 浪潮电子信息产业股份有限公司 | Shell-based method for testing stability of rack asset information |
CN106528354A (en) * | 2016-10-12 | 2017-03-22 | 郑州云海信息技术有限公司 | Automation method for programming memory power source fru id |
CN106598796A (en) * | 2016-12-16 | 2017-04-26 | 郑州云海信息技术有限公司 | Method for testing hardware information stability in reboot |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108984359A (en) * | 2018-07-19 | 2018-12-11 | 郑州云海信息技术有限公司 | A kind of system UUID synchronization detecting method, device, equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2019169760A1 (en) | Test case range determining method, device, and storage medium | |
CN107223257B (en) | Test method, test server and test system | |
WO2018120965A1 (en) | Automatic test method and device, and computer-readable storage medium | |
US20140033179A1 (en) | Application testing | |
CN115827111A (en) | Method and device for adjusting server startup items, storage medium and electronic device | |
CN110806965A (en) | Automatic test method, device, equipment and medium | |
CN109657475A (en) | Code vulnerabilities check method, apparatus, equipment and storage medium | |
CN104182348A (en) | Software test method and device | |
CN113553226B (en) | Startup and shutdown testing method, device, testing system, electronic equipment and storage medium | |
CN108153635B (en) | System memory edge testing method, system device and computer readable storage medium | |
CN107943699A (en) | A kind of method and system of test server FRU and DMI synchronizing information function | |
US8458664B2 (en) | Command line interface permutation executor | |
CN111414287A (en) | Method, system and device for analyzing chip test result | |
CN104899139A (en) | Automatic test method for server basic function test | |
JP5966890B2 (en) | Constraint extraction program, constraint extraction device, and constraint extraction method | |
CN112632174A (en) | Data inspection method, device and system | |
CN111580885A (en) | Method and system for quickly integrating hardware based on labview upper computer | |
CN111666200A (en) | Testing method and terminal for time consumption of cold start of PC software | |
CN113094281B (en) | Test method and device for hybrid App | |
CN108984727A (en) | A kind of Database Automatic Backup method, apparatus, equipment and storage medium | |
CN115080326A (en) | Method, system, equipment and storage medium for BIOS (basic input output System) execution test | |
CN111123744B (en) | Menu recording method and device, storage medium and electronic equipment | |
CN113590498A (en) | Method and system for testing application starting time of desktop operating system | |
CN111061621A (en) | Method, device and equipment for verifying program performance and storage medium | |
CN112052184A (en) | Automatic generation method and device for test script and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180420 |