A kind of based on DRBL instrument without dish automated testing methodtechnical field
the present invention relates to server test field, specifically a kind of based on DRBL instrument without dish automated testing method.
Background technology
Along with the development of IT field technology, stability and the reliability of Informatization Service to server is more and more higher.As server product provider, a server carries out complete and comprehensive product detection and is absolutely necessary before formal shipment.And along with the continuous increase of server shipment amount, ensureing outside the stability and reliability of product, procedure, robotization that product detects, that high efficiency also becomes is essential.Existing detection mode, need to spend time of a large amount of tested node installation systems, and burn-in test efficiency is lower, and the software that need to manually carry out great deal of nodes is installed, cluster environment configuration and automatic operating, and human input is larger.
Detecting robotization, can be purchase of equipment, can be also to write automated test tool, reduces as far as possible or does not need man-machine interactively process to reach, and directly realizes the object that pipelining detects., in the urgent need to a kind of method of testing, realize robotization, the facilitation of test now.
Summary of the invention
For the deficiencies in the prior art, the invention provides a kind of based on DRBL instrument without dish automated testing method, feature is only to manage a linux test macro server, other machines starts and the identical system of test macro server by PXE mode, system is carried out every test after completing startup automatically, after having tested, corresponding log document is uploaded on log server and is preserved.
The method without hard disk or operating system, directly downloads to test macro server system in tested machine internal memory on tested node, automatically downloads testing tool and carries out every test, without carrying out man-machine interactively, reduces the node system set-up time.The method will be specially adapted to blade server (because of its high density, node many), removed that the software that manually carries out great deal of nodes is installed completely from, cluster environment configuration and automatic operating.
By this method, only machine need be put to burn-in chamber, connect testing server system place network, open server, can automatically complete burn-in test and upload journal function.
Know-why
Whole process is mainly the communicating by letter of each node and test macro server of realizing Network Based; Realize cluster test based on DRBL instrument and automatically move and upload journal function, remove man-machine interactively process from.Each node is downloaded and the identical OS of test macro server, and robotization downloads and move test script, completes test afterwards and uploads corresponding log document to log server.
1, test macro server is built
Linux system is installed completely, DRBL software is installed, the DRBL of the line correlation of going forward side by side arranges, more various required testing softwares are installed, and the automatic test script operation automatically that is set to start shooting
DRBL can set up quickly and easily many centralized management without disc system, user side can directly use the Linux service that server end provides, and sees through DRBL server and operate, as newly-increased or delete software, file etc.DBRL server uses the technology such as DHCP, TFTP, NFS.User side sees through the start of PXE network and obtains server end granting IP address, then gets final product the Linux environment start that load server provides after seeing through NFS carry root directory.The user side of DRBL is to see through NFS to obtain file, then carrys out executive routine with oneself CPU and internal memory.
2, tested node automatic test
After the start of tested node by the linux system that PXE mode is downloaded and startup is identical with test macro server, automatically the various content measurements of having preset after having started shooting, the result that all test processs of packing after test completes produce and log document and generate corresponding machine sequencing number, upload on daily record preservation server and preserve, to check.
The invention has the beneficial effects as follows:
This patent utilizes DRBL software to build without looping test system, and tested node, without installation system, is automatically downloaded test macro and tested, and without artificial participation, and automatically uploads daily record document.
Reduce the time of tested node installation system, upload and preserve test log, be convenient to later reference, improve burn-in test efficiency, reduce human input, Improving The Quality of Products.
The operating process of burn-in test has been simplified in the use of this method greatly, and particularly for blade, cluster server, avoids knowing clearly the system of great deal of nodes is installed and configuration, and automatic test is also preserved test result.This method, producing the application of line, has really realized robotization, the facilitation of burn-in test.
Accompanying drawing 1 is know-why schematic diagram of the present invention;
Accompanying drawing 2 is test flow charts of the present invention.
Embodiment
The method without hard disk or operating system, directly downloads to test macro server system in tested machine internal memory on tested node, automatically downloads testing tool and carries out every test, without carrying out man-machine interactively, reduces the node system set-up time.
The method will be specially adapted to blade server (because of its high density, node many), removed that the software that manually carries out great deal of nodes is installed completely from, cluster environment configuration and automatic operating.By this method, only machine need be put to burn-in chamber, connect testing server system place network, open server, can automatically complete burn-in test and upload journal function.
Whole process is mainly the communicating by letter of each node and test macro server of realizing Network Based; Realize cluster test based on DRBL instrument and automatically move and upload journal function, remove man-machine interactively process from.As shown in Figure 1, each node is downloaded and the identical OS of test macro server, and robotization downloads and move test script, completes test afterwards and uploads corresponding log document to log server
1, test macro server is built
Linux system is installed completely, DRBL software is installed, the DRBL of the line correlation of going forward side by side arranges, more various required testing softwares are installed, and the automatic test script operation automatically that is set to start shooting;
DRBL can set up quickly and easily many centralized management without disc system, user side can directly use the Linux service that server end provides, and sees through DRBL server and operate, as newly-increased or delete software, file etc.DBRL server uses the technology such as DHCP, TFTP, NFS.User side sees through the start of PXE network and obtains server end granting IP address, then gets final product the Linux environment start that load server provides after seeing through NFS carry root directory.The user side of DRBL is to see through NFS to obtain file, then carrys out executive routine with oneself CPU and internal memory.
2, tested node automatic test
After the start of tested node by the linux system that PXE mode is downloaded and startup is identical with test macro server, automatically the various content measurements of having preset after having started shooting, the result that all test processs of packing after test completes produce and log document and generate corresponding machine sequencing number, upload on daily record preservation server and preserve, to check.
The operating process of burn-in test has been simplified in the use of this method greatly, and particularly for blade, cluster server, avoids knowing clearly the system of great deal of nodes is installed and configuration, and automatic test is also preserved test result.This method, producing the application of line, has really realized robotization, the facilitation of burn-in test.