CN102468994A - Test method for platform event filtering function - Google Patents
Test method for platform event filtering function Download PDFInfo
- Publication number
- CN102468994A CN102468994A CN2010105484402A CN201010548440A CN102468994A CN 102468994 A CN102468994 A CN 102468994A CN 2010105484402 A CN2010105484402 A CN 2010105484402A CN 201010548440 A CN201010548440 A CN 201010548440A CN 102468994 A CN102468994 A CN 102468994A
- Authority
- CN
- China
- Prior art keywords
- test
- machine
- measured
- filtering function
- testing
- 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
Landscapes
- Test And Diagnosis Of Digital Computers (AREA)
Abstract
The invention relates to a test method for a platform event filtering (PEF) function, which is mainly characterized in that an event filtering table with a plurality of event items is stored in advance in a baseboard management controller (BMC) of a machine to be tested, in addition, a test instruction database is built at the control end for storing test instructions corresponding to each event item, and then, the priority sequence of each test instruction is configured, so each test instruction is sequentially invoked according to the sequence, further, each corresponding event item in the event filtering table is read for executing the corresponding PEF function test on the machine to be tested, and the goal of testing the PEF function of the machine to be tested through the control end is realized.
Description
Technical field
The present invention relates to a kind of method of testing, the platform events that particularly relates in the baseboard management controller (BMC) is filtered the method that (PEF) function executing is tested.
Background technology
IPMI (IPMI; Intelligent Platform ManagementInterface) is the standard of server management system design, is used to the physical health characteristic that provides the user to utilize the IPMI monitor server, like temperature, voltage, fan work state, power supply supply etc.
In the IPMI standard, the effect of PEF (Platform Event Filter, platform events is filtered) is exactly the processing of being correlated with for the incident that the BMC cycle produces or receives.
For making the PEF function-stable operation of BMC, need carry out the test jobs of corresponding function, how to provide a kind of corresponding test method to be technical task to be solved by this invention.
Summary of the invention
For solving the shortcoming of above-mentioned prior art, the object of the present invention is to provide a kind of far-end to carry out the method for platform events filtering function test.
For reaching above-mentioned purpose and other relevant purposes; The invention provides a kind of method of testing of platform events filtering function; Be used for through the PEF function executing test of control end machine to be measured; It comprises: its storage inside is set in this machine to be measured has the single baseboard management controller (BMC) of incident filter table, has a plurality of event entries in this event filtering list; Set up the test instruction database that stores a plurality of test instructions at this control end, and each test instruction is corresponding to each event entries in this event filtering list; Dispose the priority orders of those test instructions; And call those test instructions successively according to this priority orders, read those event entries in this event filtering list via those test instructions, and this machine to be measured is carried out corresponding PEF functional test successively by those event entries.
In one embodiment of the invention, when can't execution priority during the higher relatively test instruction of order, call the relatively low test instruction of priority orders by the priority orders of this configuration and carry out corresponding PEF functional test.
In one embodiment of the invention, the order that each test instruction is called according to the priority orders of this configuration is followed successively by Power down (shutdown), Power cycle (start again after the shutdown), Hard reset (reseting firmly) and NMI (not maskable interrupts).
In another embodiment of the present invention, this method also comprises provides inputting interface to import the priority orders of those test instructions.
In another embodiment of the present invention; This method also comprises the BMC configuration parameter that this machine to be measured is set; To be communicated with the signal transmission of this control end and this machine to be measured via the IPMI interface, wherein, this BMC configuration parameter comprises IP address, the User names and passwords parameter that this machine to be measured is corresponding.
In another embodiment of the present invention, this method also is included in this machine stored standard testing list to be measured, and this machine to be measured of order generates the test result list behind EOT.
In sum; The method of testing of PEF function of the present invention is to each event entries in the PEF function corresponding test instruction to be set; And to each test instruction configuration preference level order; Thereby call test instruction successively according to this priority orders, make machine to be measured carry out the PEF functional test successively to read the events corresponding clauses and subclauses via this test instruction.
Description of drawings
Fig. 1 is the process chart of PEF function test method of the present invention.
Embodiment
Below through specific embodiment technology contents of the present invention is described, those skilled in the art can understand other advantages of the present invention and effect easily by the content that this specification disclosed.The present invention also can implement or use through other different embodiments, and each item details in this specification also can be based on different viewpoints and application, carries out various modifications and change under the spirit of the present invention not deviating from.
Fig. 1 is the process chart of PEF function test method of the present invention.PEF function test method of the present invention can provide the Test Engineer to bring in the PEF function executing test job to the machine to be measured that is positioned at far-end through control.As shown in Figure 1, at first carry out step S101, baseboard management controller (BMC) is set in this machine to be measured, there is the incident filter table single in this BMC storage inside, have a plurality of event entries in this event filtering list.Particularly, in BMC, include an event filtering list (Event Filter Table), can be used for being provided with the action (Action) that can trigger for a certain incident.So, when BMC receives this incident, promptly can in this event filtering list, inquire about, to carry out relevant action set in this list.This platform events is filtered performed action mainly can be divided into two big types; Wherein one type is the power supply control action; It mainly comprises Power down (shutdown), Power cycle (start again after the shutdown), Hard reset (reseting firmly) and NMI (not maskable interrupts).And method of testing of the present invention is primarily aimed at such PEF function executing test, then execution in step S103.
At step S103, set up the test instruction database at this control end, in this database the storage a plurality of test instructions, and each test instruction respectively with this event filtering list in each event entries corresponding, then proceed to step S105.
At step S105, inputting interface is provided, to each test instruction configuration corresponding priority level order of being stored in this test instruction database, then proceed to step S107 for the Test Engineer.
At step S107, the BMC configuration parameter that provides the Test Engineer that this machine to be measured is set is so that this machine to be measured can be connected with this control end and transmits test signal via the IPMI interface.In the present embodiment, the set BMC configuration parameter of Test Engineer comprises IP address, the User names and passwords parameter that this machine to be measured is corresponding, then proceeds to step S109.
At step S109, make this machine to be measured call those test instructions successively according to the priority orders of this setting.Particularly, make this machine to be measured, call each corresponding test instruction successively in the test instruction database of this control end certainly according to aforementioned each set test instruction priority orders.In the present embodiment, the priority orders of those test instructions (from high to low) sets gradually into Power down (shutdown), Power cycle (start again after the shutdown), Hard reset (reseting firmly) and NMI (not maskable interrupts).In addition; What need explanation is; When machine to be measured can't execution priority during the higher relatively test instruction (for example Power down test instruction) of order; Then call the relatively low test instruction of priority orders (for example Power cycle test instruction), and carry out corresponding PEF functional test, then proceed to step S111 according to the priority orders of this setting.
At step S111, make this machine to be measured according to the test instruction of being called, to the event filtering list of this BMC, read and the corresponding event entries of this test instruction, then proceed to step S113.
At step S113, make this machine to be measured according to the event entries that is read, this machine to be measured is carried out corresponding PEF functional test successively, then proceed to step S115.
At step S115, make this machine to be measured generate corresponding test list.Particularly, in advance at this machine stored standard testing list to be measured, thereby this machine to be measured of order generates the test result list for Test Engineer's reference according to defined format standard in this standard testing list behind EOT.
In sum; The method of testing of PEF function of the present invention is through being provided with corresponding test instruction to each event entries in the PEF function of machine to be measured; And to each test instruction configuration preference level order; Thereby supply machine to be measured to come to call successively relevant test instruction, and read the test job that the events corresponding clauses and subclauses carry out successively the PEF function via this test instruction according to this priority orders.
Above-mentioned only in order to the execution mode of the method for testing that illustrates PEF function of the present invention, non-in order to limit the scope of essence technology contents of the present invention.The essence technology contents of the method for testing of PEF function of the present invention broadly is defined in the claim; Any technological entity or method that other people are accomplished; If identical with the scope of claim, or be the change of equivalence, all will be regarded as and contain among this scope.
Claims (7)
1. the method for testing of a platform events filtering function is used for through control end the platform events filtering function of machine to be measured being carried out test, comprising:
Its storage inside is set in this machine to be measured has the single baseboard management controller of incident filter table, has a plurality of event entries in this event filtering list;
Set up the test instruction database that its storage inside has a plurality of test instructions at this control end, and each test instruction is corresponding to each event entries in this event filtering list;
Dispose the priority orders of those test instructions; And
Call those test instructions successively according to this priority orders, read those event entries in this event filtering list, and this machine to be measured is carried out corresponding platform events filtering function test successively by those event entries via those test instructions.
2. the method for testing of platform events filtering function as claimed in claim 1; It is characterized in that; When can't execution priority during the high relatively test instruction of order, call the low relatively test instruction of priority orders by the priority orders of this configuration and carry out corresponding platform events filtering function test.
3. the method for testing of platform events filtering function as claimed in claim 1 is characterized in that, the order that each test instruction is called according to the priority orders of this configuration is followed successively by shutdown, and start is again reseted and maskable interrupts not firmly after the shutdown.
4. the method for testing of platform events filtering function as claimed in claim 1 also comprises inputting interface is provided, for the priority orders of those test instructions of input.
5. the method for testing of platform events filtering function as claimed in claim 1 is characterized in that also comprising the baseboard management controller configuration parameter that this machine to be measured is set, to be communicated with the signal transmission of this control end and this machine to be measured via IPMI.
6. the method for testing of platform events filtering function as claimed in claim 5 is characterized in that, this baseboard management controller configuration parameter comprises IP address, the User names and passwords parameter that this machine to be measured is corresponding.
7. the method for testing of platform events filtering function as claimed in claim 1 is characterized in that also being included in this machine stored standard testing list to be measured, and this machine to be measured of order generates the test result list behind EOT.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2010105484402A CN102468994A (en) | 2010-11-15 | 2010-11-15 | Test method for platform event filtering function |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2010105484402A CN102468994A (en) | 2010-11-15 | 2010-11-15 | Test method for platform event filtering function |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102468994A true CN102468994A (en) | 2012-05-23 |
Family
ID=46072197
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2010105484402A Pending CN102468994A (en) | 2010-11-15 | 2010-11-15 | Test method for platform event filtering function |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102468994A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103067737A (en) * | 2012-12-21 | 2013-04-24 | 深圳创维数字技术股份有限公司 | Automated testing method and system |
CN108335718A (en) * | 2017-12-15 | 2018-07-27 | 北京京存技术有限公司 | A kind of test method and device |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1642103A (en) * | 2004-01-16 | 2005-07-20 | 英业达股份有限公司 | Platform event filtering system and method |
CN1929409A (en) * | 2005-09-09 | 2007-03-14 | 环达电脑(上海)有限公司 | Remote based intellectual platform management interface testing system and method |
-
2010
- 2010-11-15 CN CN2010105484402A patent/CN102468994A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1642103A (en) * | 2004-01-16 | 2005-07-20 | 英业达股份有限公司 | Platform event filtering system and method |
CN1929409A (en) * | 2005-09-09 | 2007-03-14 | 环达电脑(上海)有限公司 | Remote based intellectual platform management interface testing system and method |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103067737A (en) * | 2012-12-21 | 2013-04-24 | 深圳创维数字技术股份有限公司 | Automated testing method and system |
CN108335718A (en) * | 2017-12-15 | 2018-07-27 | 北京京存技术有限公司 | A kind of test method and device |
CN108335718B (en) * | 2017-12-15 | 2020-11-24 | 北京兆易创新科技股份有限公司 | Test method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109634728B (en) | Job scheduling method and device, terminal equipment and readable storage medium | |
US8656134B2 (en) | Optimized memory configuration deployed on executing code | |
US8607018B2 (en) | Memory usage configuration based on observations | |
WO2014074170A1 (en) | Optimized memory configuration deployed prior to execution | |
WO2014074162A1 (en) | Optimized settings in a configuration database with boundaries | |
JP2010534891A5 (en) | ||
CN105955101A (en) | Control method, scheduling processor and controller | |
CN105243499A (en) | Order distribution method and system | |
CN102468994A (en) | Test method for platform event filtering function | |
CN103473178A (en) | Method and system for optimizing testing process execution | |
CN105224450B (en) | Concurrent testing method and device | |
WO2015196885A1 (en) | Method and apparatus for acquiring and storing performance data of cloud computing system | |
CN109859069B (en) | Energy consumption alarm management method and device for generator set | |
CN110232022A (en) | Network environment test method, device and terminal device | |
CN111858573A (en) | Performance index display method and device of intelligent equipment | |
CN109885384A (en) | Task concurrency optimization method, apparatus, computer equipment and storage medium | |
CN113094406A (en) | Power marketing data management method and system | |
CN109471423A (en) | A kind of internet of things equipment detection method, system, device and equipment | |
CN115718741A (en) | Automatic cleaning method and device for health data, electronic equipment and storage medium | |
CN101369243B (en) | Power consumption state test method | |
CN107220053B (en) | BIOS management method and electronic equipment | |
CN109445339A (en) | FTU controller configuration method, apparatus and system, electronic equipment | |
CN106326021A (en) | A method capable of processing exceptional work states of the Android system of electronic apparatuses and an electronic apparatus capable of processing exceptional work states of the Android system | |
CN112416736B (en) | Method and device for generating test suite, server and readable storage medium | |
CN110450172B (en) | Demonstrator and method and device for processing plug-in thereof |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20120523 |