A kind of Rack server intelligent testing method and system
Technical field
This application involves server the field of test technology, more particularly to a kind of Rack server intelligent testing method and
System.
Background technique
Rack server supports calculating and the memory node of variform, and supplies the node server that it is carried
Electricity, heat dissipation and management.When Rack server whole machine cabinet shipment, need to node server all in entire server cabinet
It is tested.
Currently, the method tested Rack server is usually, independent test, root are carried out to each node server
According to the test result of each node server, the test result of entire Rack server cabinet is obtained.
However, at present in the test method of Rack server, due to needing to node clothes single in Rack whole machine cabinet
Business device is tested, and testing efficiency is lower, and O&M is relatively difficult.Especially in face of becoming increasingly complex and more and more highly merging
Whole system, current test method can occupy a large amount of testing time, seriously affect testing efficiency and O&M efficiency.
Summary of the invention
This application provides a kind of Rack server intelligent testing method and systems, to solve test in the prior art
The problem that method testing efficiency is lower, O&M is difficult.
In order to solve the above-mentioned technical problem, the embodiment of the present application discloses following technical solution:
A kind of Rack server intelligent testing method, which comprises
Rack server is obtained using RMC (Baseboard Management Controller, baseboard management controller)
In each node server configuration information, the configuration information includes: product form, type, quantity, the product of node server
ID, CPU model, memory size, network configuration specification and GPU (Graphics Processing Unit, graphics processor)
Configure specification;
The file of product of each node server in Rack server is established according to product job order;
Judge whether the information of each node server in the configuration information and file of product of each node server is consistent;
If so, extracting corresponding testing scheme from database;
According to extracted testing scheme, pressure test is carried out to Rack server.
Optionally, it is obtained in Rack server before the configuration information of each node server using RMC, the method is also wrapped
It includes: according to the product form of node server each in Rack server, establishing test database, prestored in the test database
There is the testing scheme of different node servers.
Optionally, the node server includes: calculation server, storage server, network server and pondization service
Device.
It is optionally, described that corresponding testing scheme is extracted from database, comprising:
The product IDs and FRU (Field Replace Unit, Field Replaceable Unit) information of each node server are read,
Obtain the product form of each node server;
According to the product form, the testing scheme to match with the product form is extracted from database.
Optionally, according to the testing scheme, after carrying out pressure test to Rack server, the method also includes:
Test result is stored;
Test result is sent to specified address with mail he.
A kind of Rack server Intelligentized test system, the system comprises:
Configuration information obtains module, for obtaining the configuration information of each node server in Rack server, institute using RMC
State product form, type, quantity, product IDs that configuration information includes: node server, CPU model, memory size, network are matched
Set specification and GPU configuration specification;
File of product establishes module, for establishing the product of each node server in Rack server according to product job order
Archives;
Judgment module, the information of each node server in the configuration information and file of product for judging each node server
It is whether consistent;
Testing scheme extraction module, for when each node server in the configuration information and file of product of each node server
Information it is consistent when, corresponding testing scheme is extracted from database;
Test module, for carrying out pressure test to Rack server according to extracted testing scheme.
Optionally, the testing scheme extraction module includes:
Information reading unit obtains each node server for reading the product IDs and FRU information of each node server
Product form;
Extraction unit, for extracting the survey to match with the product form from database according to the product form
Examination scheme.
It optionally, further include that test database establishes module in the system, for according to node each in Rack server
The form of server establishes test database, the testing scheme of different node servers is prestored in the test database.
Optionally, in the system further include:
Memory module, for being stored to test result;
Sending module, for test result to be sent to specified address with mail he.
The technical solution that embodiments herein provides can include the following benefits:
The application provides a kind of Rack server intelligent testing method, and this method obtains Rack first with RMC and services
The configuration information of each node server in device establishes the product shelves of each node server in Rack server according to product job order
Then case judges whether configuration information and the information of node server each in file of product are consistent, from database if consistent
It is middle to extract corresponding testing scheme, finally, carrying out pressure test to Rack server according to extracted testing scheme.Pass through this
Method in application, the RMC that can make full use of Rack whole machine cabinet server carry out the crawl and test of node server information
The extraction of scheme, and tested using the RMC of whole machine cabinet triggering testing scheme to each node server, to complete entire
The test of Rack server.Therefore, the application can complete in batches the test of multiple nodes, thus greatly improve testing efficiency and
O&M efficiency.In addition, to test result can be automatically stored due to the application and send automatically, staff can be made non-
Chang Zhiguan and test result is obtained in time, be conducive to further increase testing efficiency.
The application also provides a kind of Rack server Intelligentized test system, which specifically includes that configuration information obtains
Module, file of product establish module, judgment module, testing scheme extraction module and test module.Mould is obtained by configuration information
Block gets the configuration information of each node server, establishes module using file of product and provides the product shelves in each node serve area
Then case judges whether the configuration information of each node server is consistent with information in file of product, when consistent by judgment module
Shi Liyong testing scheme extraction module extracts corresponding testing scheme from database, finally by test module according to being extracted
Testing scheme to Rack server carry out pressure test.Utilize the Rack server Intelligentized test system in the application, energy
Enough tests for completing multiple node servers in batches, to complete the test of whole machine cabinet, without to each node server into
Row independent test, therefore the testing efficiency and O&M efficiency of server can be greatly improved.
It should be understood that above general description and following detailed description be only it is exemplary and explanatory, not
The application can be limited.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows the implementation for meeting the application
Example, and together with specification it is used to explain the principle of the application.
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, for those of ordinary skill in the art
Speech, without creative efforts, is also possible to obtain other drawings based on these drawings.
Fig. 1 is a kind of flow diagram of Rack server intelligent testing method provided by the embodiment of the present application;
Fig. 2 is a kind of structural schematic diagram of Rack server Intelligentized test system provided by the embodiment of the present application.
Specific embodiment
In order to make those skilled in the art better understand the technical solutions in the application, below in conjunction with the application reality
The attached drawing in example is applied, the technical scheme in the embodiment of the application is clearly and completely described, it is clear that described implementation
Example is merely a part but not all of the embodiments of the present application.Based on the embodiment in the application, this field is common
The application protection all should belong in technical staff's every other embodiment obtained without making creative work
Range.
The application in order to better understand explains in detail presently filed embodiment with reference to the accompanying drawing.
Embodiment one
Referring to Fig. 1, Fig. 1 shows for a kind of process of Rack server intelligent testing method provided by the embodiment of the present application
It is intended to.As shown in Figure 1, Rack server intelligent testing method mainly comprises the following processes in the present embodiment:
S2: the configuration information of each node server in Rack server is obtained using RMC.
Wherein, configuration information includes but is not limited to: product form, type, quantity, product IDs, the CPU type of node server
Number, memory size, network configuration specification and GPU configure specification.
Node server is divided according to product form, specifically includes that calculation server, storage server, network clothes
Business device and pond server.The testing scheme of calculation server lays particular emphasis on the test of floating-point operation ability and network throughput capability;
The testing scheme of storage server lays particular emphasis on storage stability and reads the test of bandwidth;The testing scheme of network server stresses
In the test of network stabilization and transmittability;The testing scheme of pond server lays particular emphasis on server redundancy and consistency
Test.
The product IDs of node server refer to product identification number SN (Serial Number, the sequence of node server
Number), it may be assumed that sequence number.Network configuration specification refers to that node server is gigabit network cable, 10,000,000,000 cables or 25G network.GPU
Configuration specification refers to the model and quantity of GPU included in node server, and GPU model includes P100, K40 etc. again.Separately
Outside, the configuration information of node server further includes RAID card configuration specification, FPGA card configuration specification and firmware version etc..
The present embodiment obtains the configuration information of each node server using the RMC of Rack whole machine cabinet.
S3: the file of product of each node server in Rack server is established according to product job order.
Complete products configuration information is used in the product job order of Rack whole machine cabinet server, it will be in product job order
Hold scanning into production system, the file of product of each node server can be established.
Step S2 and S3 may be performed simultaneously in the present embodiment, can also first carry out step S3 and execute step S2 again.In addition,
It further include step S1 in the present embodiment before step S2 and step S3: according to the product of node server each in Rack server
Form establishes test database.
Wherein, the testing scheme of different node servers is prestored in test database, in order to subsequent from database
Extract the testing scheme under corresponding conditions.The product form and node server of node server are also prestored in test database
Matching relationship between testing scheme.The different product form of node server is showed by its product IDs and configuration information,
Different product form and usage scenario determines that node server has different testing schemes.
Step is executed after getting configuration information and the file of product information of each node server by step S2 and S3
Rapid S4: judge whether the information of each node server in the configuration information and file of product of each node server is consistent.
The information for comparing each node server in the configuration information and file of product of each node server is Rack server
A part of intelligent test belongs to material configuration information matching test.By compare the configuration information of each node server with
The information of each node server in file of product can be further ensured that pre- in the node server and production order of actual production
The node server structure first designed is consistent, avoids the product for producing undesirable specification.
If the configuration information of each node server is consistent with the information of node server each in file of product, step is executed
S5: corresponding testing scheme is extracted from database.
Specifically, step S5 is comprised the following processes again:
S51: the product IDs and FRU information of each node server are read, the product form of each node server is obtained.
S52: according to product form, the testing scheme to match with product form is extracted from database.
With continued reference to Fig. 1 it is found that after extracting corresponding testing scheme by step S5, step S6 is executed: according to institute
The testing scheme of extraction carries out pressure test to Rack server.
If the information of each node server is inconsistent in the configuration information and file of product of each node server, determine
Production is abnormal, and warning message can be sent to staff, such as: the abnormal information of test is sent to work with mail he
The mailbox of personnel.The abnormal order of production needs to carry out abnormality processing, without storage.
Further, Rack server intelligent testing method in the present embodiment, further includes following process:
S7: test result is stored.
By being stored to test result, test result is reviewed and analyzed convenient for follow-up work personnel.
S8: test result is sent to specified address with mail he.
By step S8, test result can be sent to the mailbox of staff in the form of mail, so that work people
Member can be very intuitive and obtains test result in time, in order to carry out analysis and subsequent processing to test result, to mention
High testing efficiency.
Embodiment two
On the basis of embodiment shown in Fig. 1 referring to fig. 2, Fig. 2 is a kind of Rack clothes provided by the embodiment of the present application
The structural schematic diagram of business device Intelligentized test system.As shown in Figure 2, the Rack server Intelligentized test system in the present embodiment
Specifically include that configuration information acquisition module, file of product establish module, judgment module, testing scheme extraction module and test mould
Five part of block.
Wherein, configuration information obtain module be used for using RMC obtain Rack server in each node server match confidence
Breath.Configuration information includes: that product form, type, quantity, product IDs, CPU model, memory size, the network of node server are matched
Set specification and GPU configuration specification.File of product is established module and is respectively saved for being established in Rack server according to product job order
The file of product of point server.Judgment module is used to judge each node clothes in the configuration information and file of product of each node server
Whether the information of business device is consistent.Testing scheme extraction module is used for when each in the configuration information and file of product of each node server
When the information of node server is consistent, corresponding testing scheme is extracted from database.Test module is used for according to extracted
Testing scheme carries out pressure test to Rack server.
Further, testing scheme extraction module includes: Information reading unit and extraction unit.Wherein, information reads single
Member obtains the product form of each node server for reading the product IDs and FRU information of each node server.Extraction unit
For extracting the testing scheme to match with product form from database according to product form.
In addition, further including that test database establishes module in Rack server Intelligentized test system in the present embodiment, use
In the form according to node server each in Rack server, test database is established.Wherein, it is prestored not in test database
With the testing scheme of node server, also prestore between the product form of node server and node server testing scheme
Matching relationship.Module is established by test database, subsequent product form that can be different according to node server, selection is accordingly
Testing scheme tested.
It further, further include having memory module and sending module in the test macro of the present embodiment.Wherein, memory module
For being stored to test result;Sending module is used to test result being sent to specified address with mail he, such as: it can
Test result to be sent to the mailbox of staff, so that staff be enable timely and conveniently to obtain test result.
The working method and working principle of Rack server Intelligentized test system, reality shown in Fig. 1 in the present embodiment
It applies example one kind to have elaborated, details are not described herein.
The above is only the specific embodiment of the application, is made skilled artisans appreciate that or realizing this Shen
Please.Various modifications to these embodiments will be apparent to one skilled in the art, as defined herein
General Principle can be realized in other embodiments without departing from the spirit or scope of the application.Therefore, the application
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.