CN105468488B - A kind of method, apparatus and system without looping test CPU based on IB network - Google Patents

A kind of method, apparatus and system without looping test CPU based on IB network Download PDF

Info

Publication number
CN105468488B
CN105468488B CN201510893800.5A CN201510893800A CN105468488B CN 105468488 B CN105468488 B CN 105468488B CN 201510893800 A CN201510893800 A CN 201510893800A CN 105468488 B CN105468488 B CN 105468488B
Authority
CN
China
Prior art keywords
server
test
address
end server
tested
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.)
Active
Application number
CN201510893800.5A
Other languages
Chinese (zh)
Other versions
CN105468488A (en
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.)
Inspur Electronic Information Industry Co Ltd
Original Assignee
Inspur Electronic Information Industry 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 Inspur Electronic Information Industry Co Ltd filed Critical Inspur Electronic Information Industry Co Ltd
Priority to CN201510893800.5A priority Critical patent/CN105468488B/en
Publication of CN105468488A publication Critical patent/CN105468488A/en
Application granted granted Critical
Publication of CN105468488B publication Critical patent/CN105468488B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2205Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested
    • G06F11/2236Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested to test CPU or processors
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

The method, apparatus and system without looping test CPU based on IB network that the present invention provides a kind of, this method comprises: (SuSE) Linux OS and test software are installed in the end server for the first time in advance, configuration DHCP, TFTP and NFS for the first time, test script is set for the first time, and is connected by IB network with tested server;Tested server booting selection starts from IB netboot;IP address, and the TFTP and NFS provided according to the IP address and the end server are distributed according to the DHCP request that the end server provides, the (SuSE) Linux OS for being equipped with test software in the end carry server;Test software is run according to test script, automatically generates after the completion of test and saves corresponding Log Directory.Therefore, the present invention can be improved the testing efficiency of CPU by tested operating system of the server based on the end IB network carry server to carry out automatic test.

Description

A kind of method, apparatus and system without looping test CPU based on IB network
Technical field
The present invention relates to cpu test technical field, in particular to a kind of method without looping test CPU based on IB network, Apparatus and system.
Background technique
With the high speed development of IT industry, the development of information-based, big data and cloud computing is swift and violent, thus to server CPU Calculated performance and stability requirement it is also higher and higher.In order to guarantee the reliable in quality of CPU, need to carry out the performance of CPU Test.
At present to the performance test of CPU, tested server is needed to have the storage equipment such as hard disk or disk array, tested After server completes the installation and configuration of relevant operation system and test software, according to pre-set test script pair CPU is tested.Since the time-consuming for being tested server configuration installation operating system and test software is longer, especially in the short time When interior needs are tested for the property a large amount of CPU respectively, a large amount of test waiting time to a certain extent can be to the test of CPU Efficiency impacts.
Summary of the invention
In view of this, the present invention provides a kind of method, apparatus and system without looping test CPU based on IB network, energy Enough improve the testing efficiency of CPU.
In order to achieve the above object, the present invention is achieved through the following technical solutions:
On the one hand, the present invention provides a kind of method without looping test CPU based on IB network, this method is applied to tested Server first passes through be connected by the IB network that the IB card being mounted on tested server provides with the end server in advance, further includes:
Operation is corresponding with the IB network to be booted up item;
According to the dynamic host configuration protocol DHCP that the end server provides, the end Xiang Suoshu server sends request distribution The notification message of IP address, so that the IP address is fed back according to the notification message in the end server;
Receive the IP address that the end server is fed back according to the notification message;
The Simple File Transfer Protocol TFTP and Network File System provided according to the IP address, the end server NFS, the (SuSE) Linux OS for being equipped with test software in the end server described in carry;
According to the test script in the end server, the test software is run.
Further, after the operation test software, further includes:
Log Directory corresponding with the test software is generated, and saves the day corresponding with the test software Will catalogue.
Further, the (SuSE) Linux OS for being equipped with test software in the end server described in the carry, comprising:
It is corresponding with tested server for the (SuSE) Linux OS for being equipped with test software in the end server Log Directory carry be read-write mode, other operating system catalogue carries be read-only mode.
On the other hand, the present invention provides a kind of method without looping test CPU based on IB network, this method is applied to (SuSE) Linux OS and test software are installed in the end server for the first time in advance, and configuration DHCP, TFTP and NFS, are arranged for the first time for the first time Test script, and the IB network by being provided by the IB card being mounted on the end server is connected with tested server, further includes:
Receive the notification message for the request distribution IP address that tested server is sent;
According to the notification message for the request distribution IP address that the tested server is sent, with generating IP corresponding thereto Location;
To IP address described in the tested server feedback, so that the tested server is according to the IP address, described The TFTP and NFS that the end server provides, the (SuSE) Linux OS for being equipped with test software in the end server described in carry, and According to the test script in the end server, the test software is run.
Further, the test software, including linpack test software.
On the other hand, the present invention provides a kind of tested servers, comprising:
Transfer unit passes through the IB by being mounted on tested server for receiving the notification message of transmission unit output The IB network that card provides is connected with the end server, to transmit the transmission to the end server by the IB network The notification message of unit output, and respectively to the transmission unit, receiving unit, first processing units, the second running unit Export IB network signal;
First running unit, for run it is corresponding with the IB network be booted up item, and singly to the transmission The signal of member output start completion;
The transmission unit, for when receiving the signal of start completion of first running unit output, according to The IB network signal of the transfer unit output, reads the information for the DHCP that the end server provides, and according to described The DHCP that the end server provides, the end Xiang Suoshu server sends the notification message of request distribution IP address, so that the server The IP address is fed back according to the notification message in end, and exports the notification message to the transfer unit;
The receiving unit, for the IB network signal according to the transfer unit output received, described in reading The IP address corresponding with the notification message that the end server provides, it is anti-according to the notification message to receive the end server The IP address of feedback, and the IP address is exported to the first processing units;
The first processing units, the IB network signal for being exported according to the transfer unit, described in reading Information, the information of the TFTP and NFS of the (SuSE) Linux OS and test software that the end server provides, described in reception The IP address of receiving unit output, according to TFTP and NFS that the IP address, the end server provide, described in carry The (SuSE) Linux OS for being equipped with test software in the end server, and completed to second running unit output carry Signal;
Second running unit, when signal for being completed in the carry for receiving first processing units output, According to the IB network signal of the transfer unit output received, to read the Linux behaviour that the end server provides Make the information of system and test software, the information of the test script, reads in the end server and test software is installed The carry information of (SuSE) Linux OS the test software is run according to the test script in the end server.
Further, the tested server further include:
The second processing unit, for what is completed in the test software test for receiving the second running unit output When signal, the signal that the test software test of the second running unit output is completed is inputted, is generated soft with the test The corresponding Log Directory of part, and save the Log Directory corresponding with the test software.
Further, the first processing units, specifically for for being equipped with test software in the end server (SuSE) Linux OS, Log Directory carry corresponding with tested server be read-write mode, other operating system catalogues Carry is read-only mode.
On the other hand, the present invention provides a kind of ends server, comprising:
Installation unit exports the Linux for installing (SuSE) Linux OS and test software, and to transfer unit The information of operating system and test software;
Configuration unit is used for configuration DHCP, TFTP and NFS, and exports described DHCP, TFTP and NFS to transfer unit Information;
Setting unit for test script to be arranged, and exports the information of the test script to transfer unit;
Transfer unit, for receiving the (SuSE) Linux OS of the installation unit output and the information of test software, The information for receiving described DHCP, TFTP and NFS of the configuration unit output receives the test of the setting unit output The information of script receives the IP address of transmission unit output, passes through the IB network provided by the IB card being mounted on the end server It is connected with tested server, to provide the (SuSE) Linux OS and survey to the tested server by the IB network What information, the information of described DHCP, TFTP and NFS, the information of the test script and the transmission unit of examination software exported IP address, and IB network signal is exported to receiving unit;
The receiving unit, the IB network signal for being exported according to receiving unit read asking for tested server transmission The notification message of distribution IP address is sought, the notification message for the request distribution IP address that the tested server is sent is received, and The notification message for the request distribution IP address that the tested server is sent is exported to generation unit;
The generation unit, the request that the tested server for receiving the receiving unit output is sent distribute IP The notification message of address generates corresponding thereto according to the notification message for the request distribution IP address that the tested server is sent The IP address answered, and the IP address is exported to transmission unit;
The transmission unit, the IP address for being exported according to the generation unit are anti-to the tested server The IP address is presented, so that TFTP and NFS that the tested server is provided according to the IP address, the end server, hang The (SuSE) Linux OS for being equipped with test software in the end server is carried, and according to the test foot in the end server This, runs the test software, and export the IP address to the transfer unit.
On the other hand, the present invention provides a kind of system without looping test CPU based on IB network, on which includes: Any tested server is stated, and, the above-mentioned end server.
The method, apparatus and system without looping test CPU based on IB network that the present invention provides a kind of, the end server are preparatory (SuSE) Linux OS and test software are installed for the first time, configuration DHCP, TFTP and NFS, are arranged test script, and lead to for the first time for the first time It crosses and is connected by the IB network that the IB card being mounted on the end server provides with tested server;After tested server booting, fortune Row is corresponding with the IB network to be booted up item;According to the DHCP that the end server provides, it is tested server and obtains by described The IP address of the end server distribution, further according to TFTP and NFS that the IP address and the end server provide, described in carry The (SuSE) Linux OS for being equipped with test software in the end server;According to the test script in the end server, institute is run State test software;It automatically generates after the completion of test and saves corresponding Log Directory.Therefore, the present invention is by being tested server base (SuSE) Linux OS in the end IB network carry server can be improved the test effect of CPU to carry out automatic test to CPU Rate.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is the present invention Some embodiments for those of ordinary skill in the art without creative efforts, can also basis These attached drawings obtain other attached drawings.
Fig. 1 is a kind of flow chart for method without looping test CPU based on IB network that one embodiment of the invention provides;
Fig. 2 is the flow chart for another method without looping test CPU based on IB network that one embodiment of the invention provides;
Fig. 3 is the flow chart for another method without looping test CPU based on IB network that one embodiment of the invention provides;
Fig. 4 is a kind of schematic diagram for tested server that one embodiment of the invention provides;
Fig. 5 is the schematic diagram that the another kind that one embodiment of the invention provides is tested server;
Fig. 6 is a kind of schematic diagram at end server that one embodiment of the invention provides;
Fig. 7 is a kind of schematic diagram for system without looping test CPU based on IB network that one embodiment of the invention provides.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is A part of the embodiment of the present invention, instead of all the embodiments, based on the embodiments of the present invention, those of ordinary skill in the art Every other embodiment obtained without making creative work, shall fall within the protection scope of the present invention.
As shown in Figure 1, the embodiment of the invention provides a kind of method without looping test CPU based on IB network, this method Applied to tested server, may comprise steps of:
Step 101: in advance first pass through by be mounted on tested server IB (InfiniBand) card provide IB network with The end server is connected;
Step 102: operation is corresponding with the IB network to be booted up item;
Step 103: DHCP (the Dynamic Host Configuration provided according to the end server Protocol, dynamic host configuration protocol), the end Xiang Suoshu server sends the notification message of request distribution IP address, so that institute It states the end server and the IP address is fed back according to the notification message;
Step 104: receiving the IP address that the end server is fed back according to the notification message;
Step 105: TFTP (the Trivial File Transfer provided according to the IP address, the end server Protocol, Simple File Transfer Protocol) and NFS (Network File System, Network File System), described in carry The (SuSE) Linux OS for being equipped with test software in the end server;
Step 106: according to the test script in the end server, running the test software.
The embodiment of the invention provides a kind of methods without looping test CPU based on IB network, are applied to tested server, It first passes through and is connected by the IB network that the IB card being mounted on tested server provides with the end server in advance;Tested server is opened Machine, operation is corresponding with the IB network to be booted up item;According to the DHCP that the end server provides, obtain by the server The IP address for holding distribution, further according to TFTP and NFS that the IP address and the end server provide, the end server described in carry In the (SuSE) Linux OS for being equipped with test software;According to the test script in the end server, test software is run; It automatically generates after the completion of test and saves corresponding Log Directory.Therefore, the embodiment of the present invention is based on IB by tested server The (SuSE) Linux OS at the end network carry server can be improved the testing efficiency of CPU to carry out automatic test to CPU.
In one possible implementation, test result is checked in order to facilitate relevant staff, data point The operations such as analysis, statistics, need to save test result, so, after the operation test software, further wrap It includes:
Log Directory corresponding with the test software is generated, and saves the day corresponding with the test software Will catalogue.
In one possible implementation, in order to avoid (SuSE) Linux OS is modified, and facilitate related work people The operations such as member checks test result, data are analyzed, statistics, while integrated testability efficiency, institute are improved to a certain extent With the (SuSE) Linux OS for being equipped with test software in the end server described in the carry, comprising:
It is corresponding with tested server for the (SuSE) Linux OS for being equipped with test software in the end server Log Directory carry be read-write mode, other operating system catalogue carries be read-only mode.
As shown in Fig. 2, the method without looping test CPU the embodiment of the invention provides another kind based on IB network, the party Method is applied to the end server, may comprise steps of:
Step 201: (SuSE) Linux OS and test software are installed for the first time in advance, for the first time configuration DHCP, TFTP and NFS, it is first Secondary setting test script, and the IB network by being provided by the IB card being mounted on the end server is connected with tested server;
Step 202: receiving the notification message for the request distribution IP address that tested server is sent;
Step 203: according to the notification message for the request distribution IP address that the tested server is sent, generating corresponding thereto The IP address answered;
Step 204: to IP address described in the tested server feedback, so that the tested server is according to the IP The TFTP and NFS that location, the end server provide, the Linux operation for being equipped with test software in the end server described in carry System, and according to the test script in the end server, run the test software.
The embodiment of the invention provides a kind of methods without looping test CPU based on IB network, are applied to the end server, in advance (SuSE) Linux OS and test software are first installed for the first time, configuration DHCP, TFTP and NFS, are arranged test script for the first time for the first time, and It is connected by the IB network provided by the IB card being mounted on the end server with tested server;Receiving tested server When the notification message of the request distribution IP address of transmission, IP address corresponding thereto is generated according to the notification message;To described Tested server feedback IP address, so that tested server executes corresponding operating according to the IP address.Therefore, the present invention is implemented Example is by being tested (SuSE) Linux OS of the server based on the end IB network carry server, to carry out automatic test to CPU, It can be improved the testing efficiency of CPU.
In one possible implementation, in order to pass through the floating-point performance of testing service device system, to realize to CPU The testing requirement of calculated performance and stability, so, the test software, including linpack test software.
To make the object, technical solutions and advantages of the present invention clearer, with reference to the accompanying drawing and specific embodiment to this Invention is described in further detail.
As shown in figure 3, the method without looping test CPU the embodiment of the invention provides another kind based on IB network, the party Method may comprise steps of:
Step 301:server end A installs (SuSE) Linux OS and test software for the first time, for the first time configuration DHCP, TFTP and Test script is arranged in NFS for the first time.
Wherein, test software can be any one in the test softwares such as linpack, SPECCPU.In order to CPU's Calculated performance and stability are tested, it is preferred that the embodiment of the present invention uses linpack test software.In addition, for difference Testing requirement need to write different test scripts in advance, so as to carry out linpack survey automatically according to the test script Examination.The end server A configuration DHCP, TFTP and NFS configure a non-disk startup ring that can completely run that is, in the A of the end server Border.
As an example it is assumed that an existing end server A, a tested server B, 1 CPUX to be measured, and needs pair The test of CPUX progress CPU calculated performance and stability.Wherein, as tested server B, the end server A is also possible to one A server, but the server is used as the end Server to use in embodiments of the present invention.
Specifically, at the end server, A installs (SuSE) Linux OS and linpack test software for the first time, configures for the first time DHCP, TFTP and NFS, and be arranged after test script for the first time, as long as being used for the test of CPU using the end server A, it is not necessarily to These operations are executed again.By this implementation, it is possible to prevente effectively from repeating installation (SuSE) Linux OS and linpack Test software avoids repeating configuration DHCP, TFTP and NFS, and avoids repeating that test script is arranged, thus before reducing test Preparation, improves the integrated testability efficiency of cpu test at the waiting time before saving test to a certain extent.
Step 302: IB card, and the IB net provided by the IB card are installed on the end server A and tested server B respectively Network makes the end server A be connected with tested server B.
In detail, it in order to which the IB network provided by IB card makes the end server A be connected with tested server B, needs One IB card of each self installation in the end server A and tested server B, and two IB cards are connected by route, in server IB network is established between end A and tested server B, to pass through the information exchange of IB network implementations between the two.
Wherein, the IB card needs support IPoIB (Internet Protocol over InfiniBand) agreement.It is false Such as IB card fails to support IPoIB agreement, which can be installed on the server, then FW (Firmware, firmware) is brushed The content copies such as new file, tool and script to bootable DOS (Disk Operating System, disc operating system) or In the USB flash disk of UEFI (Unified Extensible Firmware Interface, unified Extensible Firmware Interface) starting, and It is booted up from the USB flash disk into DOS or UEFI, executes and refresh script, so that the IB card be made to need support IPoIB association View.
In one possible implementation, it can be based on common network interface card, such as Ethernet card, CPU survey without disk Examination, but, since the bandwidth rates of common network interface card are lower, this implementation is generally rarely employed.It is different from common network interface card, IB Apparent advantage is shown in terms of being stuck in bandwidth rates, can make to provide between the end server A and tested server B by IB card IB network carry out the quick transmitting of message file etc., to effectively improve the testing efficiency of CPU.For example, common Ethernet Bandwidth rates are commonly used for 1Gbps and 10Gbps, and the minimum 40Gbps of the bandwidth rates of IB network is commonly 56Gbps even 100Gbps。
Step 303: tested server B booting, operation is corresponding with the IB network to be booted up item.
It specifically, can be by the guidance in BIOS (Basic Input Output System, basic input output system) Startup item is directly disposed as starting from IB netboot in advance, thus automatically from IB netboot after making tested server B booting Starting;In addition it is also possible to by some operations during tested server B is switched on POST, such as click F11 key, del key etc. Shortcut key, the selection in option that is booted up in BIOS starts from IB netboot, and runs this and be booted up item.In this hair In bright embodiment, start automatically from IB netboot after being tested server B booting.
Step 304: the DHCP provided according to the end server A is tested server B to the end server A and sends request distribution IP The notification message of address.
In order to facilitate the information transmitting between the end server A and tested server B, need to obtain the IP of tested server B Address, therefore tested server B can request distribution IP address to the end server A first.
Step 305:server end A, which is received, is tested the notification message that the request that server B is sent distributes IP address, and according to The notification message generates IP address corresponding thereto.
The end server A can generate the IP address of tested server B after the request for receiving tested server B.
Step 306:server end A feeds back the IP address to tested server B.
After the IP address for generating tested server B, the end server A sends the IP address to tested server B.
Step 307: tested server B receives the IP address that the end server A is fed back according to the notification message.
Step 308: the TFTP and NFS that tested server B is provided according to the IP address, the end server A, carry server Hold the (SuSE) Linux OS for being equipped with linpack test software in A.
Specifically, for the (SuSE) Linux OS for being equipped with linpack test software in the A of the end server, with tested clothes The corresponding Log Directory carry of business device B is read-write mode, and other operating system carries are read-only mode.
It is of course also possible to be read-write mode by the equal carry of all catalogue files, or it is actually needed according to the difference of user, It is read-write mode by the necessary catalogue file carry in part, other catalogue file carries are read-only.In embodiments of the present invention, System file is modified in order to prevent, is only read-write mode by Log Directory carry corresponding with tested server B, other The equal carry of operating system is read-only mode.
In embodiments of the present invention, server B is tested without installing (SuSE) Linux OS and linpack test software, nothing Need configuration DHCP, TFTP and NFS, it is only necessary to according to DHCP, TFTP and NFS that the end server A is provided, in carry server end A The (SuSE) Linux OS for being equipped with linpack test software, the automatic test to CPU can be realized, thus improving While cpu test efficiency and test quality, the error rate of artificial installation system and configuration service is effectively reduced, is also saved The human input of professional test personnel reduces the testing cost of CPU on the whole.
Step 309: tested server B runs linpack test software according to the test script.
Specifically, the test script can be previously written in system, is made in tested server B carry server end A The (SuSE) Linux OS of linpack test software is installed after, the automatic linpack test for carrying out CPUX.In addition, when needing When using different test scripts to carry out linpack test to CPUX, can also taking human as clicking corresponding test script, thus into Row linpack test.
Step 310: generating Log Directory corresponding with the test software, and save the Log Directory.
After the completion of carrying out linpack test to CPUX, the log document comprising test result can be automatically generated, and will The log document storing is to carry in read-write Log Directory corresponding with tested server B in the A of the end server.So Afterwards, relevant operation personnel can read the log document, to be checked, analyzed, counted to the linpack test result of CPUX Equal operation according to statistics.
After the completion of Linpack test, analysis test result can be checked, and test result and linpack test are marked Quasi- theoretical value compares.Wherein, Linpack test mainly test floating-point performance, floating-point is higher, indicates the performance phase of CPU To better.Theoretical value=cpu frequency × CPU number of CPU calculated performance × calculation times of per clock cycle × CPU core number.
In the present embodiment, by can directly evaluate the calculated performance of CPUX to CPUX progress linpack test, this Outside, since the number of test floating-point performance is adjustable, and press process is gradual change, so, testing the calculated performance of CPUX On basis, it can also be run repeatedly, for a long time to simulate the stability test of CPUX, be carried out by Linpack software The screening of CPUX long-play stability, and then the stability of CPUX is evaluated.
In this embodiment, is tested by server B and is based on IB net without storage systems such as hard disk or RAID cards for the test of CPU Network, DHCP, TFTP and NFS provided according to the end server A, it is only necessary to which the operating system in carry server end A can carry out CPU Test largely saved tested server installation when looping test CPU to realize the mode of operation of no looping test CPU The time of system and configuration service, while the use for the storage equipment such as also avoid hard disk, be effectively saved cpu test at This investment.
As shown in figure 4, the embodiment of the invention provides a kind of tested servers 40, comprising:
Transfer unit 401, for receiving the notification message of the output of transmission unit 403, by by being mounted on tested server On IB card provide IB network be connected with the end server, with by the IB network to the end server transmitting institute The notification message of the output of transmission unit 403 is stated, and single to the transmission unit 403, the processing of receiving unit 404, first respectively First 405, second running unit 406 exports IB network signal;
First running unit 402, for run it is corresponding with the IB network be booted up item, and to the transmission The signal of the output start completion of unit 403;
The transmission unit 403, in the signal for receiving the start completion that first running unit 402 exports When, according to the IB network signal that the transfer unit 401 exports, read the information for the DHCP that the end server provides, and root According to the DHCP that the end server provides, the end Xiang Suoshu server sends the notification message of request distribution IP address, so that described The IP address is fed back according to the notification message in the end server, and exports the notification message to the transfer unit 401;
The receiving unit 404, the IB network signal for being exported according to the transfer unit 401 received, to read The IP address corresponding with the notification message for taking the end server to provide, receives the end server according to the notice The IP address of message feedback, and the IP address is exported to the first processing units 405;
The first processing units 405, the IB network signal for being exported according to the transfer unit 401, to read The (SuSE) Linux OS of the end server offer and information, the information of the TFTP and NFS of test software are provided, institute is received The IP address for stating the output of receiving unit 404, according to TFTP and NFS that the IP address, the end server provide, carry The (SuSE) Linux OS for being equipped with test software in the end server, and carry is exported to second running unit 406 The signal of completion;
Second running unit 406, in the letter for receiving the carry completion that the first processing units 405 export Number when, according to the IB network signal that the transfer unit 401 that receives exports, to read described in the end server provides The information of the information of (SuSE) Linux OS and test software, the test script reads in the end server and is equipped with survey It is soft to run the test according to the test script in the end server for the carry information for trying the (SuSE) Linux OS of software Part.
In one possible implementation, referring to FIG. 5, the tested server 40 can also include:
The second processing unit 501, in the test software test for receiving the output of the second running unit 406 When the signal of completion, Log Directory corresponding with the test software is generated, and is saved described opposite with the test software The Log Directory answered.
In one possible implementation, the first processing units 405 are specifically used for in the end server The (SuSE) Linux OS for being equipped with test software, Log Directory carry corresponding with tested server be read-write mode, His operating system catalogue carry is read-only mode.
As shown in fig. 6, the embodiment of the invention provides a kind of ends server 60, comprising:
Installation unit 601 for installing (SuSE) Linux OS and test software, and is exported to transfer unit 604 described The information of (SuSE) Linux OS and test software;
Configuration unit 602 is used for configuration DHCP, TFTP and NFS, and exports described DHCP, TFTP to transfer unit 604 With the information of NFS;
Setting unit 603 for test script to be arranged, and exports the information of the test script to transfer unit 604;
Transfer unit 604, for receiving the (SuSE) Linux OS and test software that the installation unit 601 exports Information, receive the information of described DHCP, TFTP and NFS that the configuration unit 602 exports, receive the setting unit 603 The information of the test script of output receives the IP address that transmission unit 607 exports, by by being mounted on the end server The IB network that IB card provides is connected with tested server, to pass through the IB network to described in the tested server offer The information of (SuSE) Linux OS and test software, the information of described DHCP, TFTP and NFS, the information of the test script and institute The IP address of the output of transmission unit 607 is stated, and exports IB network signal to receiving unit 605;
The receiving unit 605, the IB network signal for being exported according to receiving unit 604 read tested server hair The notification message for the request distribution IP address sent, the notice for receiving the request distribution IP address that the tested server is sent disappear Breath, and the notification message that the request that the tested server is sent distributes IP address is exported to generation unit 606;
The generation unit 606, the request sent for receiving the tested server that the receiving unit 605 exports The notification message for distributing IP address, according to the notification message for the request distribution IP address that the tested server is sent, generate with Its corresponding IP address, and the IP address is exported to transmission unit 607;
The transmission unit 607, the IP address for being exported according to the generation unit 606, to the tested clothes Device of being engaged in feeds back the IP address so that TFTP that the tested server is provided according to the IP address, the end server and NFS, the (SuSE) Linux OS for being equipped with test software in the end server described in carry, and according in the end server Test script runs the test software, and exports the IP address to the transfer unit 604.
As shown in fig. 7, the embodiment of the invention provides a kind of systems without looping test CPU based on IB network, comprising: quilt Survey server 40 and the end server 60.
Specifically, the system without looping test CPU based on IB network includes any of the above-described tested server and above-mentioned The end server, and the IB network that the tested server and the end server are provided by IB card is attached, to carry out The mutual transmitting of relevant information.
As an example it is assumed that existing need CPU to be measured to a batch to carry out linpack test, by detect this crowd of CPU it is respective in terms of Calculation ability and stability.It is possible to which a CPU to be measured is fitted into a server, and the server is passed through into IB network It is connected with the above-mentioned end server A, DHCP, TFTP and the NFS then provided also according to the end server A, carry server end A In the (SuSE) Linux OS for being equipped with linpack test software, to carry out linpack test to the CPU to be measured.Then, Using same operating procedure, successively this crowd of CPU is tested.Certainly, when CPU quantity to be measured is more, to each CPU according to It is secondary to be tested relatively time-consuming.
In the present embodiment, on the basis for carrying out cpu test using an end server and a tested server, An IB interchanger can be reused, which can also connect more simultaneously while being connected with the above-mentioned end server A A tested server, and this multiple tested server can be by being equipped with linpack in IB network carry server end A The (SuSE) Linux OS of test software, to carry out linpack test simultaneously to multiple CPU.This implementation can be to more A CPU is tested for the property simultaneously, to largely save the testing time in the case where cpu test task is heavy, effectively mention High testing efficiency.
The contents such as the information exchange between each unit, implementation procedure in above-mentioned apparatus, due to implementing with the method for the present invention Example is based on same design, and for details, please refer to the description in the embodiment of the method for the present invention, and details are not described herein again.
In conclusion the method, apparatus that the embodiment of the invention provides a kind of based on IB network without looping test CPU and being System, the embodiment of the present invention can have the following beneficial effects:
1, the method, apparatus and system without looping test CPU based on IB network that the embodiment of the invention provides a kind of, (SuSE) Linux OS and test software are installed in the end server for the first time in advance, for the first time configuration DHCP, TFTP and NFS, and setting is surveyed for the first time Training sheet, and the IB network by being provided by the IB card being mounted on the end server is connected with tested server;Tested service After device booting, operation is corresponding with the IB network to be booted up item;According to the DHCP that the end server provides, it is tested server IP address distribute by the end server is obtained, further according to the IP address and the TFTP and NFS of the end server offer, The (SuSE) Linux OS for being equipped with test software in the end server described in carry;According to the test foot in the end server This, runs the test software;It automatically generates after the completion of test and saves corresponding Log Directory.Therefore, the present invention pass through by (SuSE) Linux OS of the server based on the end IB network carry server is surveyed, to carry out automatic test to CPU, can be improved The testing efficiency of CPU.
2, the method, apparatus and system without looping test CPU based on IB network that the embodiment of the invention provides a kind of, The end server only needs to install (SuSE) Linux OS and test software for the first time, for the first time configuration DHCP, TFTP and NFS, and setting is surveyed for the first time Training sheet, when reusing test of the end server for CPU later, without repeating installation (SuSE) Linux OS and survey Software is tried, without repetition configuration DHCP, TFTP and NFS, and without repeating setting test script, to reduce the standard before test Standby work, improves the integrated testability efficiency of cpu test at the waiting time before saving test to a certain extent.
3, the method, apparatus and system without looping test CPU based on IB network that the embodiment of the invention provides a kind of, and it is general Logical network interface card is different, and IB shows apparent advantage in terms of being stuck in bandwidth rates, can make between the end server and tested server The quick transmitting that message file etc. is carried out by the IB network that IB card provides, to effectively improve the testing efficiency of CPU.
4, the method, apparatus and system without looping test CPU based on IB network that the embodiment of the invention provides a kind of are tested Server is not necessarily to configuration DHCP, TFTP and NFS, it is only necessary to according to server without installing (SuSE) Linux OS and test software DHCP, TFTP and the NFS provided is held, the (SuSE) Linux OS for being equipped with test software in the end carry server can be realized To the automatic test of CPU, to effectively reduce artificial installation system while improving cpu test efficiency and test quality The error rate of system and configuration service, also saves the human input of professional test personnel, reduce on the whole the test of CPU at This.
5, the method, apparatus and system without looping test CPU based on IB network that the embodiment of the invention provides a kind of are right The test of CPU is tested server B and is based on IB network, provided according to the end server A without storage systems such as hard disk or RAID cards DHCP, TFTP and NFS, it is only necessary to which the operating system in carry server end A can carry out the test of CPU, to realize no disk The mode of operation for testing CPU largely saves the time of tested server installation system and configuration service when looping test CPU, The use for also avoiding the storage equipment such as hard disk simultaneously, has been effectively saved the cost input of cpu test.
6, the method, apparatus and system without looping test CPU based on IB network that the embodiment of the invention provides a kind of, make It is carried out on the basis of cpu test with an end server and a tested server, an IB interchanger can be reused, it should IB interchanger can connect multiple tested servers, and this multiple tested service while being connected with the end server simultaneously Device can be by the (SuSE) Linux OS for being equipped with test software in the end IB network carry server, thus to multiple CPU Linpack test is carried out simultaneously.Due to that can be tested for the property simultaneously to multiple CPU, thus heavy in cpu test task In the case of, the testing time is largely saved, testing efficiency is effectively increased.
The contents such as the information exchange between each unit, implementation procedure in above-mentioned apparatus, due to implementing with the method for the present invention Example is based on same design, and for details, please refer to the description in the embodiment of the method for the present invention, and details are not described herein again.
Finally, it should be noted that the foregoing is merely presently preferred embodiments of the present invention, it is merely to illustrate skill of the invention Art scheme, is not intended to limit the scope of the present invention.Any modification for being made all within the spirits and principles of the present invention, Equivalent replacement, improvement etc., are included within the scope of protection of the present invention.

Claims (2)

1. a kind of method without looping test CPU based on IB network, which is characterized in that be applied to tested server, first pass through in advance It is connected by the IB network that the IB card being mounted on tested server provides with the end server, this method comprises:
Operation is corresponding with the IB network to be booted up item;
According to the dynamic host configuration protocol DHCP that the end server provides, the end Xiang Suoshu server sends request distribution IP address Notification message, so that the IP address is fed back according to the notification message in the end server;
Receive the IP address that the end server is fed back according to the notification message;According to the IP address, described The Simple File Transfer Protocol TFTP and Network File System NFS that the end server provides, the installation in the end server described in carry There is the (SuSE) Linux OS of test software;
According to the test script in the end server, the test software is run;After the operation test software, Further comprise: generating Log Directory corresponding with the test software, and saves described corresponding with the test software Log Directory;
The (SuSE) Linux OS for being equipped with test software in the end server described in the carry, comprising:
For the (SuSE) Linux OS for being equipped with test software in the end server, day corresponding with tested server Will catalogue carry is read-write mode, and other operating system catalogue carries are read-only mode;
Applied to the end server, (SuSE) Linux OS and test software are installed for the first time in advance, for the first time configuration DHCP, TFTP and Test script, and the IB network by being provided by the IB card being mounted on the end server and tested server phase is arranged in NFS for the first time Connection, this method comprises:
Receive the notification message for the request distribution IP address that tested server is sent;The request sent according to the tested server The notification message for distributing IP address, generates IP address corresponding thereto;
To IP address described in the tested server feedback, so that the tested server is according to the IP address, described The TFTP and NFS that the end server provides, the (SuSE) Linux OS for being equipped with test software in the end server described in carry, and According to the test script in the end server, the test software is run;
The test software, including linpack test software.
2. a kind of tested server characterized by comprising transfer unit, for receiving the notification message of transmission unit output, Be connected by the IB network provided by the IB card that is mounted on tested server with the end server, with pass through the IB network to The notification message of transmission unit output is transmitted at the end server, and respectively to the transmission unit, receiving unit, the One processing unit, the second running unit export IB network signal;
First running unit, for run it is corresponding with the IB network be booted up item, and it is defeated to the transmission unit The signal of start completion out;
The transmission unit, for when receiving the signal of start completion of first running unit output, according to described The IB network signal of transfer unit output, reads the information for the DHCP that the end server provides, and according to the end server The end the DHCP of offer, Xiang Suoshu server sends the notification message of request distribution IP address, so that the end server is according to institute It states notification message and feeds back the IP address, and export the notification message to the transfer unit;
The receiving unit, for the IB network signal according to the transfer unit output received, described in reading The IP address corresponding with the notification message that the end server provides, it is anti-according to the notification message to receive the end server The IP address of feedback, and the IP address is exported to the first processing units;
The first processing units, the IB network signal for being exported according to the transfer unit, to read the offer of the end server (SuSE) Linux OS and test software information, the information of TFTP and NFS, receive the IP of receiving unit output Address is equipped with survey in the end server described in carry according to TFTP and NFS that the IP address, the end server provide Try the (SuSE) Linux OS of software, and the signal completed to second running unit output carry;
Second running unit, when signal for being completed in the carry for receiving first processing units output, according to The IB network signal of the transfer unit output received, to read the Linux operation system that the end server provides Information, the information of test script of system and test software read the Linux behaviour for being equipped with test software in the end server The carry information for making system runs the test software according to the test script in the end server;
Further comprise: the second processing unit, for being surveyed in the test software for receiving the second running unit output When trying the signal completed, generate corresponding with test software Log Directory, and described in saving with the test software phase Corresponding Log Directory;The first processing units, specifically for for the test software that is equipped in the end server (SuSE) Linux OS, Log Directory carry corresponding with tested server are read-write mode, and other operating system catalogues are hung Carrying is read-only mode;
A kind of end server, comprising:
Installation unit exports the Linux operation for installing (SuSE) Linux OS and test software, and to transfer unit The information of system and test software;
Configuration unit is used for configuration DHCP, TFTP and NFS, and the letter of described DHCP, TFTP and NFS are exported to transfer unit Breath;
Setting unit for test script to be arranged, and exports the information of the test script to transfer unit;
Transfer unit is received for receiving the (SuSE) Linux OS of the installation unit output and the information of test software The information of described DHCP, TFTP and NFS of the configuration unit output receive the test script of the setting unit output Information, receive transmission unit output IP address, pass through by be mounted on the end server IB card offer IB network and quilt It surveys server to be connected, to provide the (SuSE) Linux OS to the tested server by the IB network and test soft The information of part, the information of described DHCP, TFTP and NFS, the information of the test script and the IP of transmission unit output Location, and IB network signal is exported to receiving unit;
The receiving unit, the IB network signal for being exported according to receiving unit read the request point that tested server is sent Notification message with IP address receives the notification message and Xiang Sheng of the request distribution IP address that the tested server is sent The notification message for the request distribution IP address that the tested server is sent is exported at unit;The generation unit, for receiving The notification message for the request distribution IP address that the tested server of the receiving unit output is sent, according to the tested clothes The notification message for the request distribution IP address that business device is sent, generates IP address corresponding thereto, and export to transmission unit The IP address;
The transmission unit, the IP address for being exported according to the generation unit, to the tested server feedback institute IP address is stated, so that TFTP and NFS that the tested server is provided according to the IP address, the end server, carry institute The (SuSE) Linux OS for being equipped with test software in the end server is stated, and according to the test script in the end server, fortune The row test software, and the IP address is exported to the transfer unit.
CN201510893800.5A 2015-11-30 2015-11-30 A kind of method, apparatus and system without looping test CPU based on IB network Active CN105468488B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510893800.5A CN105468488B (en) 2015-11-30 2015-11-30 A kind of method, apparatus and system without looping test CPU based on IB network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510893800.5A CN105468488B (en) 2015-11-30 2015-11-30 A kind of method, apparatus and system without looping test CPU based on IB network

Publications (2)

Publication Number Publication Date
CN105468488A CN105468488A (en) 2016-04-06
CN105468488B true CN105468488B (en) 2019-08-02

Family

ID=55606220

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510893800.5A Active CN105468488B (en) 2015-11-30 2015-11-30 A kind of method, apparatus and system without looping test CPU based on IB network

Country Status (1)

Country Link
CN (1) CN105468488B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107957901A (en) * 2017-11-24 2018-04-24 郑州云海信息技术有限公司 A kind of method for capturing test node start daily record
CN109032869B (en) * 2018-07-26 2021-11-05 郑州云海信息技术有限公司 Portable server hardware test terminal
CN109257186A (en) * 2018-08-23 2019-01-22 郑州云海信息技术有限公司 A kind of method and system making server automatically from PXE network startup
CN111061602A (en) * 2019-12-27 2020-04-24 长城超云(北京)科技有限公司 Server pressure testing system and method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1760833A (en) * 2005-11-09 2006-04-19 浪潮电子信息产业股份有限公司 Method for testing synchronous automatic installation for system including multiple complete computers
CN102262546A (en) * 2010-05-28 2011-11-30 鸿富锦精密工业(深圳)有限公司 Method for booting operating system in diskless way, electronic device and server
CN104021056A (en) * 2014-06-23 2014-09-03 浪潮电子信息产业股份有限公司 Diskless automatic testing method based on DRBL tool
CN104461804A (en) * 2014-12-29 2015-03-25 浪潮电子信息产业股份有限公司 Server stability test method based on VSphere test software

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090307763A1 (en) * 2008-06-05 2009-12-10 Fiberlink Communications Corporation Automated Test Management System and Method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1760833A (en) * 2005-11-09 2006-04-19 浪潮电子信息产业股份有限公司 Method for testing synchronous automatic installation for system including multiple complete computers
CN102262546A (en) * 2010-05-28 2011-11-30 鸿富锦精密工业(深圳)有限公司 Method for booting operating system in diskless way, electronic device and server
CN104021056A (en) * 2014-06-23 2014-09-03 浪潮电子信息产业股份有限公司 Diskless automatic testing method based on DRBL tool
CN104461804A (en) * 2014-12-29 2015-03-25 浪潮电子信息产业股份有限公司 Server stability test method based on VSphere test software

Also Published As

Publication number Publication date
CN105468488A (en) 2016-04-06

Similar Documents

Publication Publication Date Title
US11307967B2 (en) Test orchestration platform
US9386079B2 (en) Method and system of virtual desktop infrastructure deployment studio
US10680921B2 (en) Virtual intelligent platform management interface for hardware components
US9442876B2 (en) System and method for providing network access for a processing node
US9262231B2 (en) System and method for modifying a hardware configuration of a cloud computing system
CN105468488B (en) A kind of method, apparatus and system without looping test CPU based on IB network
US8887056B2 (en) System and method for configuring cloud computing systems
US9658895B2 (en) System and method for configuring boot-time parameters of nodes of a cloud computing system
Wolf et al. Virtualization: from the desktop to the enterprise
US20140047272A1 (en) System and method for configuring a cloud computing system with a synthetic test workload
US20140047095A1 (en) System and method for tuning a cloud computing system
US20140047079A1 (en) System and method for emulating a desired network configuration in a cloud computing system
US10303458B2 (en) Multi-platform installer
US20170031694A1 (en) System and method for remote system configuration managment
WO2014025584A1 (en) System and method for tuning a cloud computing system
CN110162435B (en) Method, system, terminal and storage medium for starting and testing PXE of server
CN104394223A (en) Automatic rapid deployment method of large-scale computer cluster system nodes
US11843674B2 (en) Virtual workspace experience visualization and optimization
CN108959097A (en) A kind of method of quick testing service device OS
CN110266540A (en) A method of realizing that automation installation is configured with cloud computing platform
WO2014000299A1 (en) Serial port redirection processing method, device, and system
US11113088B2 (en) Generating and managing groups of physical hosts associated with virtual machine managers in an information handling system
CN116112412A (en) Virtual network card binding redundancy function test method, system, device and medium
JP4208493B2 (en) Load test system for network server
US20030074407A1 (en) Remote system controller for use in a distributed processing framework system and methods for implementing the same

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant