CN105607975A - Method, device and system for testing disk arrays - Google Patents

Method, device and system for testing disk arrays Download PDF

Info

Publication number
CN105607975A
CN105607975A CN201510946563.4A CN201510946563A CN105607975A CN 105607975 A CN105607975 A CN 105607975A CN 201510946563 A CN201510946563 A CN 201510946563A CN 105607975 A CN105607975 A CN 105607975A
Authority
CN
China
Prior art keywords
test
forcing press
client
disk
module
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
Application number
CN201510946563.4A
Other languages
Chinese (zh)
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.)
SHENZHEN DATA FAULT TOLERANCE SYSTEM CO Ltd
Original Assignee
SHENZHEN DATA FAULT TOLERANCE SYSTEM 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 SHENZHEN DATA FAULT TOLERANCE SYSTEM CO Ltd filed Critical SHENZHEN DATA FAULT TOLERANCE SYSTEM CO Ltd
Priority to CN201510946563.4A priority Critical patent/CN105607975A/en
Publication of CN105607975A publication Critical patent/CN105607975A/en
Pending legal-status Critical Current

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/2273Test methods
    • 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/2268Logging of test results
    • 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/26Functional testing
    • G06F11/263Generation of test inputs, e.g. test vectors, patterns or sequences ; with adaptation of the tested hardware for testability with external testers

Abstract

The invention discloses a method, device and system for testing disk arrays. The method comprises the following steps: receiving a starting instruction of a test client of a control end by an execution client of presses; obtaining name identifiers of disks to be tested and host numbers of the presses; establishing a corresponding test relation between the presses and the disks to be tested; receiving a test instruction and test parameters of the test client; executing test operations of the disks to be tested; and sending the test result to the test client, wherein the test parameters comprise the parameters of an online transaction processing model and the parameters of an online analysis processing model. According to the method, device and system disclosed in the invention, the test client of the control end controls the execution client of the presses to execute the test of the disk array, so that the disk array is really simulated under a multi-operation system environment so as to test the online transaction processing ability and the online analysis processing ability, and then the disk array test correctness can be improved.

Description

A kind of method of testing magnetic disc array, Apparatus and system
Technical field
The invention belongs to technical field of memory, relate in particular to a kind of disk array method of testing, install and beSystem.
Background technology
Along with the arriving in " internet+" epoch, people land achievement to cloud computing, the pass of large data technique innovationNote reaches unprecedented height, and traditional industries also face the opportunities and challenges of transition one after another. With internet, silverThe industry that row, telecommunications are representative is more and more higher to call data storage, and storage demand is also explosive growth.So huge data processing is acid test very to rear end storage. Fibre channel sansThe birth of (FCSAN, FiberChannelstroageAreaNetwrok) is filled memory space moreThe utilization dividing and efficiently management. SAN is a kind of storage area network, and it is by memory device, connection deviceIn an express network, bear data store tasks with Interface integration. Memory device refers to one or manyPlatform, in order to the disk unit of storing computer data, is often referred to disk array.
The use feelings in actual environment that often cannot analog storage to the test of disk array in prior artCondition, causes equipment to pay rear memory device and cannot meet current business.
Summary of the invention
The invention provides a kind of method and device of testing magnetic disc array, in order to true under multiple operating system environmentReal mock disc array test Transaction Processing (OLTP, on-linetransactionprocessing) andOn-line analytical processing (OLAP, On-LineAnalyticalProcessing) ability, can improve disk battle arrayThe accuracy rate of row test.
The method of testing magnetic disc array provided by the invention, comprising:
The enabled instruction of the test client of the execution client control end of forcing press; Obtain magnetic to be testedThe name identification of dish is also kept in name list file; The host number of each described forcing press is kept to main frameIn listing file; According to the name identification of the host number of each described forcing press and described disk to be tested, buildThe corresponding test relation of vertical each described forcing press and each described disk to be tested; Receive described test clientTest instruction and test parameter, carry out the test operation to described disk to be tested, and test result sentGive described test client, described test parameter comprises Transaction Processing model and on-line analytical processing mouldThe parameter of type.
The method of testing magnetic disc array provided by the invention, comprising:
The test client of control end sends enabled instruction to the execution client of forcing press; Setting comprises testModel is at interior test parameter, and described test model comprises Transaction Processing model and on-line analytical processing mouldType; Execution client to described forcing press sends test instruction and institute that disk to be tested is testedState test parameter; Receive the test result that the execution client of described forcing press is returned; Show described test knotFruit is also saved in described test result in specified file.
The device of testing magnetic disc array provided by the invention, comprising:
Receiver module, for receiving the enabled instruction of test client of control end; Acquisition module, for obtainingGet the name identification of disk to be tested; Preserve module, for the name identification of described disk to be tested is preservedIn name list file; Described preservation module, also for being kept at master by the host number of each described forcing pressIn machine listing file; Set up module, for according to the host number of each described forcing press and described magnetic to be testedThe name identification of dish, sets up the corresponding test relation of each described forcing press and each described disk to be tested; DescribedReceiver module, also for receiving test instruction and the test parameter of described test client, described test parameterComprise the parameter of Transaction Processing model and on-line analytical processing model; Test module, right for carrying outThe test operation of described disk to be tested, and test result is sent to described test client.
The device of testing magnetic disc array provided by the invention, comprising:
Sending module, sends enabled instruction for the execution client to forcing press; Module is set, for establishingPut the test parameter including test model, described test model comprises Transaction Processing model and onlineAnalyzing and processing model; Described sending module, also sends to be measured for the execution client to described forcing pressTest instruction and described test parameter that examination disk is tested; Receiver module, for receiving described pressureThe test result that the execution client of machine is returned; Display module, for showing described test result; Preserve mouldPiece, for being saved in specified file by described test result.
The system of testing magnetic disc array provided by the invention, comprising:
Forcing press, control end and disk to be tested; Wherein, in described forcing press, client, institute are carried out in operationState the enabled instruction of the test client of carrying out client control end; Obtain the title mark of disk to be testedKnow and be kept in name list file; The host number of each described forcing press is kept in Host List file;According to the name identification of the host number of each described forcing press and described disk to be tested, set up each described pressureThe corresponding test relation of machine and each described disk to be tested; Receive test instruction and the survey of described test clientExamination parameter, carries out the test operation to described disk to be tested, and test result is sent to described test visitorFamily end, described test parameter comprises the parameter of Transaction Processing model and on-line analytical processing model; InstituteState in control end and move test client, described test client sends and starts to the execution client of forcing pressInstruction; The test parameter of setting including test model, described test model comprises Transaction Processing mouldType and on-line analytical processing model; Send disk to be tested is surveyed to the execution client of described forcing pressTest instruction and the described test parameter of examination; Receive the test knot that the execution client of described forcing press is returnedReally; Show described test result and described test result is saved in specified file.
From the invention described above embodiment, the present invention passes through, and compared to prior art, the present invention can pass throughWhether during according to Data Update, have model object deleted, difference arranges the model object group that Data Update occursRenewal flag bit, and difference arranges the model object of Data Update and place model object group thereof occursCurrent time stamp value, determines that with this data of which model object need to send client to and upgrade, fromAnd the transmission of minimizing hash, raising speed, reduces network and takies. And owing to having filtered out major partUseless redundant data, transmission be all critical data, increased convenient that exploitation and engineering staff debugProperty.
Brief description of the drawings
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, below will be to implementingIn example or description of the Prior Art, the accompanying drawing of required use is briefly described, and apparently, the following describesIn accompanying drawing be only some embodiments of the present invention, for those of ordinary skill in the art, do not payingGo out under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is the structural representation of the system of the testing magnetic disc array that provides of first embodiment of the invention;
Fig. 2 is the realization flow schematic diagram of the method for the testing magnetic disc array that provides of second embodiment of the invention;
Fig. 3 is the realization flow schematic diagram of the method for the testing magnetic disc array that provides of third embodiment of the invention;
Fig. 4 is the display interface signal when test client of control end is tested in the embodiment of the present inventionFigure;
Fig. 5 is the structural representation of the device of the testing magnetic disc array that provides of fourth embodiment of the invention;
Fig. 6 is the structural representation of the device of the testing magnetic disc array that provides of fifth embodiment of the invention;
Fig. 7 is the structural representation of the device of the testing magnetic disc array that provides of sixth embodiment of the invention;
Fig. 8 is the structural representation of the device of the testing magnetic disc array that provides of seventh embodiment of the invention.
Detailed description of the invention
For making goal of the invention of the present invention, feature, advantage can be more obvious and understandable, will tie belowClose the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is retouched clearly and completelyState, obviously, described embodiment is only the present invention's part embodiment, but not whole embodiment. BaseEmbodiment in the present invention, those of ordinary skill in the art obtain not making under creative work prerequisiteThe every other embodiment obtaining, belongs to the scope of protection of the invention.
Refer to Fig. 1, the topology of the system of the testing magnetic disc array that Fig. 1 provides for first embodiment of the inventionStructural representation. This system comprises: multiple forcing presses 10, control end 20 and multiple disk to be measured 30.
Wherein, in order to give the enough pressure of control end 20, use multiple forcing presses, i.e. the client of simulation.The plurality of forcing press decomposition pressure unit, the plurality of disk composition disk array to be tested. In this system, also wrapDraw together client 40. Pressure unit, control end, client connect by netting twine, pressure unit and to be testedDisk array connects by fiber optic network.
Particularly, in each forcing press 10, client is carried out in operation, this execution client control, in 20The enabled instruction of test client, starts to start, and obtains the name identification of disk to be tested and is kept at titleIn listing file, the host number of each forcing press is kept in Host List file, according to the master of each forcing pressThe name identification of plane No. and disk to be tested 30, sets up the right of each forcing press 10 and each disk 30 to be testedShould test relation, receive test instruction and the test parameter of this test client, carry out disk 30 to be testedTest operation, and test result is sent to this test client, this test parameter comprises online transactionThe parameter of transaction module and on-line analytical processing model.
In control end 20, move test client, this test client is sent out to the execution client of forcing press 10Send enabled instruction, and the test parameter including test model is set, this test model comprises online transactionTransaction module and on-line analytical processing model. Execution client to forcing press 10 sends disk to be tested20 test instructions of testing and this test parameter, the execution client of reception forcing press 10 is returnedTest result, shows this test result and this test result is saved in specified file.
Before testing, first installation testing client IOMeter and execution client Dynamo.
Particularly, control end 20 is Windows system, the performing a programme of built-in IOMeter testing tool,Move IOMeter testing tool, double-click performing a programme Iometer.exe, the user interface of IOMeterJust there will be, Iometer has also started a copy of Dynamo on same machine simultaneously. IOMeterUse graphic user interface (GUI, GraphicalUserInterface), configurable load, setting operationParameter, starts and stops test. IOMeter controls the operation of equally loaded device Dynamo, controls DynamoCollect and analyze data, analysis data are outputed in specified file. At a time, can only there is an IOMeterCopy operation. (OMeter controls thread that Dynamo generates multiple IO (Input/Output) testWorker), for example, worker1 is used for testing disk I/O, the IO of worker2 user test network.
Pressure unit 10 is linux system, and also built-in IOMeter therein produces Dynamo after starting,Dynamo does not have user interface, and when receiving the order of Iometer transmission, Dynamo carries out corresponding I/OOperation and record performance information, then return to Iometer by data. Dynamo can have multiple copiesMove simultaneously, the control of the Dynamo copy of all operations all pointed to the IOMeter of control end 20,Like this, in the Windows interface of control end 20, can see test result.
Further, Dynamo is multithreading. Each copy can be simulated the work of many CLIENT PROGRAMsDo load. The copy of each operation in Dynamo is called a manager (Manager), oneCopy can have multiple threads, and each thread is called worker (Worker).
IOmeter under linux system does not have User Interface, so need be by Windows systemUnder User Interface. First download the IOmeter under (SuSE) Linux OS, in IOmeter catalogueSrc catalogue in have a Dynamo performing a programme, carry out to issue orders:
./dynamo-i (windows main frame ip)-m (linux main frame ip).
Then download the IOmeter under Windows operating system, after installation, grasp at WindowsDo to start IOmeter under system, just can see the disk under (SuSE) Linux OS, can be at IOmeterThe performance of middle this disk of test. Meanwhile, in the IOmeter user interface on Windows main frame, seeThe Manager of linux system place main frame. Wherein, windows main frame ip refers under Windows systemHost IP address; Linux main frame ip refers to the host IP address under linux system.
For example, windows main frame ip is 172.20.16.140, and linux main frame ip is 172.20.19.199,This order is specially:
./dynamo-i172.20.16.140-m172.20.19.199
After operation, on the main frame of 172.20.16.140, see that IP address is by IP address being172.20.19.199 Manager, and see the disk of 172.20.19.199.
Complete after above-mentioned installation process, start disk 30 to be tested to carry out Transaction Processing ability and onlineThe test of analyzing and processing ability, test process particularly, refer to following Fig. 2 and embodiment illustrated in fig. 3 inDetailed description.
In the embodiment of the present invention, by the test client control Linux system of control end in Windows systemThe truth of the execution client simulation storage networking of forcing press in system, to the online business of disk arrayReason and on-line analytical processing ability are tested, and realized under the complicated test environment of multisystem storage is establishedStandby test, improves the accuracy of test, and test result is concentrated on to being somebody's turn to do of Windows operating systemOn the interface of test client, and in test process, show in real time test related data, test performance is stableProperty higher, test data output is more directly perceived.
Refer to Fig. 2, the realization of the method for the testing magnetic disc array that Fig. 2 provides for second embodiment of the inventionSchematic flow sheet, mainly comprises the following steps S201 to step S205:
The enabled instruction of the test client of the execution client control end of S201, forcing press;
In the (SuSE) Linux OS Windows of forcing press and control end operating system, disk array is installedAfter testing tool IOmeter, start test process, installation process refers to aforementioned embodiment illustrated in fig. 1Describe, repeat no more herein.
This execution client refers to Dynamo, and this test client refers to IOmeter, in every forcing pressUnder controlling, carry out disk battle array to be tested the IOmeter of Dynamo in control end Windows operating systemOLAP ability and the OLTP ability of row are tested, and disk array is made up of multiple disks to be tested. PressThe Dynamo of power machine receives the enabled instruction of the IOmeter of control end.
It should be noted that, OLTP is the main application model of traditional relevant database, mainly facesBasic, daily issued transaction, the increasing of such as data-base recording, deletes, changes, looks into etc. OLAP is severalAccording to the main application of warehouse system, support complicated analysis operation, stress decision support, and provide directly perceived,Understandable Query Result.
S202, obtain the name identification of disk to be tested and be kept in name list file;
Receive after this enabled instruction, Dynamo1 can check that whether disk to be tested is whole by viewing commandFind, this viewing command is: Fdisk-l|grepsd|wc-l obtains the name identification of disk to be tested, this titleMark is generally the form of sd*, such as sdm, sdn, sdo, sdq etc. By the disk to be tested obtainingName identification is kept in name list file, and this name list file can be specifically disklist.txt.
S203, the host number of each forcing press is kept in Host List file;
Net association's (IP, InternetProtocol) address packet includes network number and host number. Dynamo is by forcing pressThe host number of IP address be kept in Host List file, this Host List file can be specificallyhostlist.txt。
S204, according to the name identification of the host number of each forcing press and disk to be tested, set up each forcing pressCorresponding test relation with each disk to be tested;
The corresponding test relation of setting up each forcing press and each disk to be tested is the test assignment of clear and definite forcing pressDistribution. Can set up this kind of survey according to the name identification of the host number of each forcing press and disk to be testedExamination relation.
As another embodiment, according to the name identification of the host number of each forcing press and disk to be tested,The corresponding test relation of setting up each forcing press and each disk to be tested, can be specially:
Dynamo receives instruction is set, and this arranges instruction can be that user inputs, and Dynamo is for buildingIn the appointment script file of vertical this correspondence test relation, using the host number in forcing press IP address as this pressureThe name identification of machine, for example, the IP address of a forcing press is 192.168.102.11, its host number is11, the name identification of this forcing press is 11 so. Or, this host number is added to character is as this pressureThe name identification of machine, for example, host number is 11, the name identification of this forcing press is S11, and keepsThe host number of the forcing press IP address in this appointment script file is identical with the name identification of forcing press, at thisSpecify in script file and will keep the consistent of the host number of forcing press IP address and the name identification of forcing press. ShouldSpecifying script file can be specifically d.sh script file.
Further, move this appointment script file, user is according to the prompting input after this script file of operationThe host number of forcing press IP address, Dynamo obtains this host number of user's input and carries out and determine operation,Under current directory, generate icf file, this icf file obtains for the test client for this control end.Particularly, operation d.sh script file, receives the testname for inputting according to prompting, i.e. the pressure of inputThe host number of power machine IP address, and carry out and determine operation according to user's carriage return instruction, under current directoryCan generate an icf file, this icf file is by the IOmeter for controller end.
Further, operation is through the above-mentioned Dynamo compiling that remodifies, when it receives IOmeterThe order sending, carries out corresponding IO model manipulation record performance information, and sends it back to IOmeterAnswer information, so that related data is returned to IOmeter. Show sub-boundary at the Topology at IOmeter interfaceIn face, show the name identification of ever-increasing forcing press. After the Dynamo in forcing press is complete,Forcing press in IOmeter interface no longer increases.
S205, the test instruction that receives this test client and test parameter, carry out the survey to disk to be testedExamination operation, and test result is sent to this test client, this test parameter comprises Transaction ProcessingThe parameter of model and on-line analytical processing model.
This test parameter also comprises the testing time.
The parameter of Transaction Processing model and on-line analytical processing model in IOmeter interface according in advanceSelected Transaction Processing model and on-line analytical processing model arrange.
Dynamo, according to the test instruction of IOmeter and test parameter, carries out the test behaviour to disk to be testedDo, for example, IOmeter can specify the Dynamo test of one or several forcing press in each forcing press to specifyDisk to be tested, appointed Dynamo carries out test assignment according to instruction. Dynamo will test knotFruit sends to IOmeter, can see intuitively test result like this in the interface of IOmeter.
The embodiment of the present invention, by the test client control linux system of control end in Windows systemThe truth of the execution client simulation storage networking of middle forcing press, to the Transaction Processing of disk arrayTest with on-line analytical processing ability, realized under the complicated test environment of multisystem memory deviceTest, improve the accuracy of test, and test result concentrated on to this survey of Windows operating systemOn the interface of examination client, and in test process, show in real time test related data, test performance stabilityHigher, test data output is more directly perceived.
Refer to Fig. 3, the realization of the method for the testing magnetic disc array that Fig. 3 provides for third embodiment of the inventionSchematic flow sheet, mainly comprises the following steps S301 to step S305:
The test client of S301, control end sends enabled instruction to the execution client of forcing press;
After IOmeter starts, interface as shown in Figure 4, mainly comprises toolbar 50, and Topoloyg shows boundaryFace 60, and main display interface 60. Wherein in toolbar 50, show multiple tool button, can be logical for userCross tool button operation IOmeter. Topoloyg display interface 60 shows each Dynamo's (Manager)Title and hierarchical structure. Main display interface 60 shows when the execution parameter of IOmeter arranges interface and operationShow test execution situation.
The Dynamo that IOmeter controls in each forcing press starts, and after this Dynamo will carry out magnetic to be testedObtaining and the operation such as the corresponding relation of definite forcing press and disk to be tested of the name identification of dish.
S302, the test parameter of setting including test model, this test model comprises Transaction ProcessingModel and on-line analytical processing model;
According to preset OLTP model and OLAP model, the test model parameter in test parameter is set.
The parameter of preset OLTP model arranges as follows:
IO profile Block size Ratio
Hit with machine-readable 8k 20%
With machine-readable 4k 40%
Write at random 8k 10%
Order is read 64k 15%
Sequential write 64k 15%
The parameter of preset OLTP model arranges as follows:
IO profile Block size Ratio
Hit with machine-readable 4k 10%
With machine-readable 4k 13%
Sequential write 4k 7%
Order is read 64k 60%
Sequential write 64k 20%
Test parameter also comprises the parameters such as the disk to be tested, testing time, results page refreshing frequency of appointment.
As an alternative embodiment of the invention, the method also comprises: obtain and load each forcing press and respectively treatThe correspondence test relation of test disk like this, shows this correspondence test relation in IOmeter interface, canThe selective disk to be tested which forcing press to measure appointment by, and in test result, also comprise each pressureThe corresponding test relation information of power machine and each disk to be tested, the convenient analysis to test result.
S303, send to this execution client of forcing press test instruction that disk to be tested is tested withAnd test parameter;
Complete after the arranging of forcing press test assignment, send disk to be tested to the Dynamo of forcing pressThe test instruction of testing and test parameter, can send to the Dynamo of whole forcing presses, also canTo be that the Dynamo of a part of forcing press of specifying wherein sends, make to receive the Dynamo of instructionCarry out the test to disk to be tested according to test instruction and test parameter.
The test result that this execution client of S304, reception forcing press is returned;
S305, show this test result this test result is saved in specified file.
IOmeter shows intuitively this test result on interface, and this test result is saved in and specifies literary compositionIn part, this specified file can be result.csv file, can be by the file of .csv form while checking test resultChanging into Excel form checks.
The embodiment of the present invention, by the test client control linux system of control end in Windows systemThe truth of the execution client simulation storage networking of middle forcing press, to the Transaction Processing of disk arrayTest with on-line analytical processing ability, realized under the complicated test environment of multisystem memory deviceTest, improve the accuracy of test, and test result concentrated on to this survey of Windows operating systemOn the interface of examination client, and in test process, show in real time test related data, test performance stabilityHigher, test data output is more directly perceived.
Refer to Fig. 5, Fig. 5 is the structure of the device of the testing magnetic disc array that provides of fourth embodiment of the inventionSchematic diagram, for convenience of explanation, only shows the part relevant to the embodiment of the present invention. The friendship of Fig. 5 exampleChanging device can be the executive agent of the method for the aforementioned testing magnetic disc array providing embodiment illustrated in fig. 1. ShouldTesting arrangement, mainly comprises:
Receiver module 501, acquisition module 502, preserve module 503, set up module 504 and test module 505。
Each functional module is described in detail as follows above:
Wherein, receiver module 501, for receiving the enabled instruction of test client of control end;
Acquisition module 502, for obtaining the name identification of disk to be tested;
Preserve module 503, for the name identification of this disk to be tested is kept to name list file;
Preserve module 503, also for the host number of each forcing press is kept to Host List file;
Set up module 504, for according to the name identification of the host number of each forcing press and disk to be tested,Set up the corresponding test relation of each forcing press and each disk to be tested;
Receiver module 501, also for receiving test instruction and the test parameter of this test client, this testParameter comprises the parameter of Transaction Processing model and on-line analytical processing model;
Test module 505, for carrying out the test operation to this disk to be tested, and sends test resultGive this test client.
In the present embodiment, each module realizes the mode of its function, refers to earlier figures 1 to embodiment illustrated in fig. 2Description, repeat no more herein.
It should be noted that, in the embodiment of the device of the testing magnetic disc array of above Fig. 5 example, each meritThe division of energy module only illustrates, can be as required in practical application, and the configuration of for example corresponding hardwareThe facility of the realization of requirement or software is considered, and being distributed, above-mentioned functions completed by different functional modules,Internal structure by the device of testing magnetic disc array is divided into different functional modules, to complete above descriptionAll or part of function. And in practical application, the corresponding functional module in the present embodiment is passableBe to be realized by corresponding hardware, also can be completed by the corresponding software of corresponding hardware implement; This description is carriedEach embodiment of confession can apply foregoing description principle.
In the embodiment of the present invention, by the test client control Linux system of control end in Windows systemThe truth of the execution client simulation storage networking of forcing press in system, to the online business of disk arrayReason and on-line analytical processing ability are tested, and realized under the complicated test environment of multisystem storage is establishedStandby test, improves the accuracy of test, and test result is concentrated on to being somebody's turn to do of Windows operating systemOn the interface of test client, and in test process, show in real time test related data, test performance is stableProperty higher, test data output is more directly perceived.
Refer to Fig. 6, the device of the testing magnetic disc array that fifth embodiment of the invention provides, mainly comprises:
Receiver module 601, acquisition module 602, preserve module 603, set up module 604, receive submodule6041, module 6042, test module 605, operation module 606 and generation module 607 are set.
Each functional module is described in detail as follows above:
Wherein, receiver module 601, for receiving the enabled instruction of test client of control end;
Acquisition module 602, for obtaining the name identification of disk to be tested;
Preserve module 603, for the name identification of this disk to be tested is kept to name list file;
Preserve module 603, also for the host number of each forcing press is kept to Host List file;
Set up module 604, for according to the name identification of the host number of each forcing press and disk to be tested,Set up the corresponding test relation of each forcing press and each disk to be tested;
Receiver module 601, also for receiving test instruction and the test parameter of this test client, this testParameter comprises the parameter of Transaction Processing model and on-line analytical processing model;
Test module 605, for carrying out the test operation to this disk to be tested, and sends test resultGive this test client.
Further, setting up module 604 comprises:
Receive submodule 6041, for receiving, instruction is set;
Module 6042 is set, for the appointment script file for setting up this correspondence test relation, shouldHost number in forcing press net association address is as the name identification of this forcing press, or, this host number is addedCharacter is as the name identification of this forcing press, and keeps this forcing press net association address in this appointment script fileHost number identical with the name identification of this forcing press.
This device can further include: operation module 606, and after module 6042 be set arrange for operationThis appointment script file.
Receiver module 601, for receiving user according to the host number of the forcing press net association address of prompting input;
Generation module 607, determines operation for carrying out, and under current directory, generates icf file, this icfFile obtains for the test client for this control end.
In the present embodiment, each module realizes the mode of its function, refers to earlier figures 1 to embodiment illustrated in fig. 5Description, repeat no more herein.
The embodiment of the present invention, by the test client control linux system of control end in Windows systemThe truth of the execution client simulation storage networking of middle forcing press, to the Transaction Processing of disk arrayTest with on-line analytical processing ability, realized under the complicated test environment of multisystem memory deviceTest, improve the accuracy of test, and test result concentrated on to this survey of Windows operating systemOn the interface of examination client, and in test process, show in real time test related data, test performance stabilityHigher, test data output is more directly perceived.
Refer to Fig. 7, Fig. 7 is the structure of the device of the testing magnetic disc array that provides of sixth embodiment of the inventionSchematic diagram, for convenience of explanation, only shows the part relevant to the embodiment of the present invention. The friendship of Fig. 7 exampleChanging device can be the executive agent of the method for the aforementioned testing magnetic disc array providing embodiment illustrated in fig. 4. FigureThe device of the testing magnetic disc array of 7 examples, mainly comprises:
Sending module 701, module 702, receiver module 703, display module 704 are set and preserve module705。
Each functional module is described in detail as follows above:
Wherein, sending module 701, sends enabled instruction for the execution client to forcing press;
Module 702 is set, and for the test parameter including test model is set, this test model comprisesTransaction Processing model and on-line analytical processing model;
Sending module 701, also sends disk to be tested is surveyed for the execution client to this forcing pressTest instruction and this test parameter of examination;
Receiver module 703, the test result of returning for receiving the execution client of this forcing press;
Display module 704, for showing this test result;
Preserve module 705, for this test result is saved in to specified file.
In the present embodiment, each module realizes the mode of its function, refers to earlier figures 1 to embodiment illustrated in fig. 6Description, repeat no more herein.
In the embodiment of the present invention, by the test client control Linux system of control end in Windows systemThe truth of the execution client simulation storage networking of forcing press in system, to the online business of disk arrayReason and on-line analytical processing ability are tested, and realized under the complicated test environment of multisystem storage is establishedStandby test, improves the accuracy of test, and test result is concentrated on to being somebody's turn to do of Windows operating systemOn the interface of test client, and in test process, show in real time test related data, test performance is stableProperty higher, test data output is more directly perceived.
Refer to Fig. 8, Fig. 8 is the test dress of the disk array that provides of seventh embodiment of the invention and databaseThe structural representation of putting, for convenience of explanation, only shows the part relevant to the embodiment of the present invention. Fig. 8The device of the testing magnetic disc array of example, mainly comprises:
Sending module 801, module 802, receiver module 803, display module 804 are set, preserve module 805.And load-on module 806.
Each functional module is described in detail as follows above:
Wherein, sending module 801, sends enabled instruction for the execution client to forcing press;
Module 802 is set, and for the test parameter including test model is set, this test model comprisesTransaction Processing model and on-line analytical processing model;
Sending module 801, also sends disk to be tested is surveyed for the execution client to this forcing pressTest instruction and this test parameter of examination;
Receiver module 803, the test result of returning for receiving the execution client of this forcing press;
Display module 804, for showing this test result;
Preserve module 805, for this test result is saved in to specified file.
This device can further include:
Load-on module 806, for obtaining and load the corresponding test relation of each forcing press and each disk to be tested.
In the present embodiment, each module realizes the mode of its function, refers to earlier figures 1 to embodiment illustrated in fig. 7Description, repeat no more herein.
The embodiment of the present invention, by the test client control linux system of control end in Windows systemThe truth of the execution client simulation storage networking of middle forcing press, to the Transaction Processing of disk arrayTest with on-line analytical processing ability, realized under the complicated test environment of multisystem memory deviceTest, improve the accuracy of test, and test result concentrated on to this survey of Windows operating systemOn the interface of examination client, and in test process, show in real time test related data, test performance stabilityHigher, test data output is more directly perceived.
In the several embodiment that provide in the application, should be understood that, disclosed apparatus and method, canTo realize by another way. For example, device embodiment described above is only schematically, exampleAs, the division of described module, is only that a kind of logic function is divided, and can have other drawing when actual realizationPoint mode, for example multiple modules or assembly can in conjunction with or can be integrated into another system, or some spiesLevy and can ignore, or do not carry out. Another point, shown or discussed coupling each other or direct-couplingOr communication connection can be by some interfaces, device or INDIRECT COUPLING or the communication connection of module, Ke YishiElectrically, machinery or other form.
The described module as separating component explanation can or can not be also physically to separate, asThe parts that module shows can be or can not be also physical modules, can be positioned at a place, orAlso can be distributed on multiple mixed-media network modules mixed-medias. Can select according to the actual needs wherein some or all ofModule realizes the object of the present embodiment scheme.
In addition, the each functional module in each embodiment of the present invention can be integrated in a processing module,Also can be that the independent physics of modules exists, also can two or more module integrations a moduleIn. Above-mentioned integrated module both can adopt the form of hardware to realize, and also can adopt software function moduleForm realizes.
If described integrated module using the form of software function module realize and as production marketing independently orWhen use, can be stored in a computer read/write memory medium. Based on such understanding, the present inventionThe part that in other words prior art contributed in essence of technical scheme or this technical scheme whole orPart can embody with the form of software product, and this computer software product is stored in a storage mediumIn, comprise some instructions in order to make a computer equipment (can be personal computer, server, orPerson's network equipment etc.) carry out all or part of step of method described in the present invention each embodiment. And it is aforesaidStorage medium comprises: USB flash disk, portable hard drive, read-only storage (ROM, Read-OnlyMemory),Random access memory (RAM, RandomAccessMemory), magnetic disc or CD etc. are various passableProgram code stored medium.
It should be noted that, for aforesaid each embodiment of the method, for easy description, therefore it is all explainedFor a series of combination of actions, but those skilled in the art should know, the present invention is not subject to describedThe restriction of sequence of movement, because according to the present invention, some step can adopt other order or carry out simultaneously.Secondly, those skilled in the art also should know, the embodiment described in description all belongs to preferred enforcementExample, related action and module might not be all that the present invention is necessary.
In the above-described embodiments, the description of each embodiment is all emphasized particularly on different fields, not detailed in certain embodimentThe part of stating, can be referring to the associated description of other embodiment.
Be more than the method to a kind of testing magnetic disc array provided by the present invention, the description of Apparatus and system,For one of ordinary skill in the art, according to the thought of the embodiment of the present invention, detailed description of the invention and shouldWith all will change in scope, to sum up, this description should not be construed as limitation of the present invention.

Claims (11)

1. a method for testing magnetic disc array, is characterized in that, described method comprises:
The enabled instruction of the test client of the execution client control end of forcing press;
Obtain the name identification of disk to be tested and be kept in name list file;
The host number of each described forcing press is kept in Host List file;
According to the name identification of the host number of each described forcing press and described disk to be tested, set up each described inThe corresponding test relation of forcing press and each described disk to be tested;
Receive test instruction and the test parameter of described test client, carry out the survey to described disk to be testedExamination operation, and test result is sent to described test client, described test parameter comprises online transactionThe parameter of transaction module and on-line analytical processing model.
2. method according to claim 1, is characterized in that, described according to the master of each described forcing pressThe name identification of plane No. and described disk to be tested, sets up each described forcing press and each described disk to be testedCorrespondence test relation comprise:
Reception arranges instruction;
At the appointment script file for setting up described corresponding test relation, by described forcing press net association addressIn host number as the name identification of described forcing press, or, described host number is added to character is as instituteState the name identification of forcing press, and keep the master of the described forcing press net association address in described appointment script filePlane No. is identical with the name identification of described forcing press.
3. method according to claim 2, is characterized in that, described method also comprises:
Move described appointment script file;
Receive user according to the host number of the forcing press net association address of prompting input and carry out and determine operation, existingUnder current directory, generate icf file, described icf file obtains for the test client for described control end.
4. a method for testing magnetic disc array, is characterized in that, described method comprises:
The test client of control end sends enabled instruction to the execution client of forcing press;
The test parameter of setting including test model, described test model comprises Transaction Processing modelWith on-line analytical processing model;
Execution client to described forcing press sends test instruction and institute that disk to be tested is testedState test parameter;
Receive the test result that the execution client of described forcing press is returned;
Show described test result and described test result is saved in specified file.
5. method according to claim 4, is characterized in that, described method also comprises:
Obtain and load the corresponding test relation of each described forcing press and each disk to be tested.
6. a device for testing magnetic disc array, is characterized in that, described device comprises:
Receiver module, for receiving the enabled instruction of test client of control end;
Acquisition module, for obtaining the name identification of disk to be tested;
Preserve module, for the name identification of described disk to be tested is kept to name list file;
Described preservation module, also for being kept at Host List file by the host number of each described forcing press;
Set up module, for according to the title mark of the host number of each described forcing press and described disk to be testedKnow, set up the corresponding test relation of each described forcing press and each described disk to be tested;
Described receiver module, also for receiving test instruction and the test parameter of described test client, described inTest parameter comprises the parameter of Transaction Processing model and on-line analytical processing model;
Test module, for carrying out the test operation to described disk to be tested, and sends to test resultDescribed test client.
7. device according to claim 6, is characterized in that, the described module of setting up comprises:
Receive submodule, for receiving, instruction is set;
Module is set, for the appointment script file for setting up described corresponding test relation, described in inciting somebody to actionHost number in forcing press net association address is as the name identification of described forcing press, or, by described host numberAdd the name identification of character as described forcing press, and keep the described pressure in described appointment script fileThe machine net association host number of address is identical with the name identification of described forcing press.
8. according to the device described in claim 6 or 7, it is characterized in that,
Described device also comprises: operation module, for moving described appointment script file;
Described receiver module, also for receiving user according to the host number of the forcing press net association address of prompting input;
Described device also comprises: generation module, determine operation for carrying out, and under current directory, generate icfFile, described icf file obtains for the test client for described control end.
9. a device for testing magnetic disc array, is characterized in that, described device comprises:
Sending module, sends enabled instruction for the execution client to forcing press;
Module is set, and for the test parameter including test model is set, described test model comprises connectionMachine transaction model and on-line analytical processing model;
Described sending module, also sends disk to be tested is carried out for the execution client to described forcing pressTest instruction and the described test parameter of test;
Receiver module, the test result of returning for receiving the execution client of described forcing press;
Display module, for showing described test result;
Preserve module, for described test result is saved in to specified file.
10. device according to claim 9, is characterized in that, described device also comprises:
Load-on module, for obtaining and load the corresponding test relation of each described forcing press and each disk to be tested.
The system of 11. 1 kinds of testing magnetic disc arrays, is characterized in that, described system comprises:
Forcing press, control end and disk to be tested;
Wherein, in described forcing press, client, the test of described execution client control end are carried out in operationThe enabled instruction of client; Obtain the name identification of disk to be tested and be kept in name list file; WillThe host number of each described forcing press is kept in Host List file; According to the host number of each described forcing press withAnd the name identification of described disk to be tested, set up the corresponding of each described forcing press and each described disk to be testedTest relation; Receive test instruction and the test parameter of described test client, carry out described magnetic to be testedThe test operation of dish, and test result is sent to described test client, described test parameter comprises connectionThe parameter of machine transaction model and on-line analytical processing model;
In described control end, move test client, described test client is sent out to the execution client of forcing pressSend enabled instruction; The test parameter of setting including test model, described test model comprises online transactionTransaction module and on-line analytical processing model; Execution client to described forcing press sends disk to be testedThe test instruction of testing and described test parameter; Receive that the execution client of described forcing press returnsTest result; Show described test result and described test result is saved in specified file.
CN201510946563.4A 2015-12-16 2015-12-16 Method, device and system for testing disk arrays Pending CN105607975A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510946563.4A CN105607975A (en) 2015-12-16 2015-12-16 Method, device and system for testing disk arrays

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510946563.4A CN105607975A (en) 2015-12-16 2015-12-16 Method, device and system for testing disk arrays

Publications (1)

Publication Number Publication Date
CN105607975A true CN105607975A (en) 2016-05-25

Family

ID=55987928

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510946563.4A Pending CN105607975A (en) 2015-12-16 2015-12-16 Method, device and system for testing disk arrays

Country Status (1)

Country Link
CN (1) CN105607975A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107832176A (en) * 2017-11-16 2018-03-23 郑州云海信息技术有限公司 Hard disk pressure automatic test approach and system under a kind of Windows
CN108989153A (en) * 2018-08-15 2018-12-11 郑州云海信息技术有限公司 A kind of performance test methods and device
CN110335637A (en) * 2019-04-18 2019-10-15 深圳市德名利电子有限公司 The method and apparatus and equipment that a kind of pair of storage equipment is tested
CN111190778A (en) * 2019-12-26 2020-05-22 曙光信息产业股份有限公司 Disk array test system for distributed storage system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1988043A (en) * 2005-12-23 2007-06-27 中兴通讯股份有限公司 Method for detecting electronic magnetic disc
CN102033796A (en) * 2009-09-25 2011-04-27 中国移动通信集团公司 Testing system and method
US20130124932A1 (en) * 2011-11-14 2013-05-16 Lsi Corporation Solid-State Disk Manufacturing Self Test
CN104317726A (en) * 2014-11-19 2015-01-28 浪潮电子信息产业股份有限公司 Testing method for storage IO performance
CN104484254A (en) * 2014-12-30 2015-04-01 浪潮电子信息产业股份有限公司 Method for testing influence of internal vibration of high-density cabinet on I/O (Input/Output) performance
CN104536861A (en) * 2015-01-26 2015-04-22 浪潮电子信息产业股份有限公司 Multi-operation system based FC SAN (Fiber Channel Storage Area Network) memory testing method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1988043A (en) * 2005-12-23 2007-06-27 中兴通讯股份有限公司 Method for detecting electronic magnetic disc
CN102033796A (en) * 2009-09-25 2011-04-27 中国移动通信集团公司 Testing system and method
US20130124932A1 (en) * 2011-11-14 2013-05-16 Lsi Corporation Solid-State Disk Manufacturing Self Test
CN104317726A (en) * 2014-11-19 2015-01-28 浪潮电子信息产业股份有限公司 Testing method for storage IO performance
CN104484254A (en) * 2014-12-30 2015-04-01 浪潮电子信息产业股份有限公司 Method for testing influence of internal vibration of high-density cabinet on I/O (Input/Output) performance
CN104536861A (en) * 2015-01-26 2015-04-22 浪潮电子信息产业股份有限公司 Multi-operation system based FC SAN (Fiber Channel Storage Area Network) memory testing method

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107832176A (en) * 2017-11-16 2018-03-23 郑州云海信息技术有限公司 Hard disk pressure automatic test approach and system under a kind of Windows
CN108989153A (en) * 2018-08-15 2018-12-11 郑州云海信息技术有限公司 A kind of performance test methods and device
CN110335637A (en) * 2019-04-18 2019-10-15 深圳市德名利电子有限公司 The method and apparatus and equipment that a kind of pair of storage equipment is tested
CN111190778A (en) * 2019-12-26 2020-05-22 曙光信息产业股份有限公司 Disk array test system for distributed storage system

Similar Documents

Publication Publication Date Title
CN110309071B (en) Test code generation method and module, and test method and system
CN107844837B (en) Method and system for adjusting and optimizing algorithm parameters aiming at machine learning algorithm
CN105094707B (en) A kind of data storage, read method and device
CN111124850A (en) MQTT server performance testing method, system, computer equipment and storage medium
CN105607975A (en) Method, device and system for testing disk arrays
CN105319455A (en) Automatic test system and method
CN107423181A (en) The automated testing method and device of a kind of uniform storage device
CN102270173A (en) Fault injection tool based on SCSI (small computer system interface) driver layer
CN105095059A (en) Method and device for automated testing
CN107423404B (en) Flow instance data synchronous processing method and device
CN107547261A (en) Cloud platform performance test methods and device
CN103761189A (en) Test case management method and system
CN107798120B (en) Data conversion method and device
KR102635847B1 (en) Apparatus and method for application test automation
CN103019931A (en) Method and device for detecting and treating Asn.1 interfaces
CN115169578A (en) AI model production method and system based on meta-space data markers
US11709763B2 (en) Systems and method for testing computing environments
CN108984504A (en) A kind of model parameter storage method, device and equipment
CN112445660B (en) Test method for performance balance problem of shared storage array
CN111290942A (en) Pressure testing method, device and computer readable medium
CN115328736A (en) Probe deployment method, device, equipment and storage medium
US10671442B2 (en) Dynamic preparation of a new network environment, and subsequent monitoring thereof
CN103106273B (en) The data management system of civil big airplane airborne network and method
CN110399296A (en) The method, system and medium of interactive interface between test client and server-side
CN106354625A (en) Test range determination method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20160525

RJ01 Rejection of invention patent application after publication