CN109408314A - A kind of catalogue quota automated testing method based on mass memory - Google Patents

A kind of catalogue quota automated testing method based on mass memory Download PDF

Info

Publication number
CN109408314A
CN109408314A CN201811331901.3A CN201811331901A CN109408314A CN 109408314 A CN109408314 A CN 109408314A CN 201811331901 A CN201811331901 A CN 201811331901A CN 109408314 A CN109408314 A CN 109408314A
Authority
CN
China
Prior art keywords
node
test
automatic test
server
memory
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
CN201811331901.3A
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.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai Information Technology 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 Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201811331901.3A priority Critical patent/CN109408314A/en
Publication of CN109408314A publication Critical patent/CN109408314A/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/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/2221Detection 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 input/output devices or peripheral units
    • 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/2289Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing by configuration test

Abstract

The present invention provides a kind of catalogue quota automated testing method based on mass memory, it is characterized in that include the following steps: 1) creation test end node memory resource pool, configure each memory node without cryptographic acess;2) idle node is called to set up automatic test cluster;3) test cluster that catalogue quota module foot library is uploaded to establishment is executed into automatic test;4) log and result information are committed to the catalogue of server-side management node setting.This method tests end node by server-side management node United Dispatching, and execute automatic test by the way that using memory node as test lead, management node sets up automatic test platform as server-side.Continual automatic test for a long time is carried out to memory node, catalogue quota module automatic test is not limited solely to, can effectively promote automatic test dynamics.

Description

A kind of catalogue quota automated testing method based on mass memory
Technical field
The present invention relates to a kind of catalogue quota automated testing method based on mass memory.
Background technique
Mass memory: the capacity growth in data storage is to tend to be unlimited, and without the upper limit, mass memory management system is a kind of Distributed memory system can meet cloud computing, and big data is based on software definition and hardware reconstruction theory, for file storage, object Storage, block storage provide unified software definition solution.Catalogue quota: the limitation of linux system particular category is writable Data volume, limit catalogue storage size, the catalogue quota characteristic technology important as one in mass memory, in video It monitors, constant code stream, is all played an important role in multiple delivery to customer scenes such as big data analysis, therefore, needing one kind can With the test method to target quota.
Summary of the invention
The purpose of the present invention is to deficiencies of the prior art, and provide a kind of catalogue based on mass memory Quota automated testing method, this method is by the way that using memory node as test lead, management node is set up automatic as server-side Change test platform, end node is tested by server-side management node United Dispatching, and execute automatic test.Memory node is carried out Continual automatic test for a long time is not limited solely to catalogue quota module automatic test, can effectively promote automation Test dynamics.
This programme is achieved by the following technical measures: a kind of catalogue quota automatic test based on mass memory Method, include the following steps: 1) creation test end node memory resource pool, configure each memory node without cryptographic acess;2) Idle node is called to set up automatic test cluster;3) the automatized script library of catalogue quota is uploaded to the test cluster of establishment Execute automatic test;4) log and result information are committed to the catalogue of server-side management node setting.In step 1), it will deposit Node is stored up as test lead, management node sets up automatic test platform as server-side, is adjusted by server-side management node is unified Degree test end node, executes automatic test, builds cluster according to the deployment of the scheduler task of server-side management node issues in this way, Execute automation task, and feedback automation test result.It can be carried out simultaneously according to test lead node number simultaneously multiple automatic Change scheduler task concurrently to execute.Automatic test result generates the correspondence catalogue in server-side management node, not tested person end segment Point initialization cluster influences, and conveniently checks and positions when abnormal conditions occurs in test assignment.
Server admin node is accessed by ssh remote protocol and carries out control access to test end node.Test frame base Control access is carried out to test end node in the access of ssh remote protocol, in this way convenient for establishment.
Before setting up automatic test cluster, in server-side management node establishing resource cell monitoring module, monitor in resource pool Node status information and scheduling configuration, according to testing requirement create directory quota automation test module, include scheduler task Configuration, test cluster configuration, script bank configuration.It prepares in this way for subsequent test, is convenient for automatic test.
Server-side checks storage pool interior nodes idle state according to monitoring module, dispatches idle memory node and sets up test set Group.It will not influence the normal work of other nodes in this way.
When carrying out automatic test, b, a, starting test module automatic test entrance script are obtained according to entrance script Module automatized script library, automatized script in c, perform script library, and record log information.
After log and result information are committed to server-side management node, memory node is initialized, empties environment for node It is set to idle state.In this way be convenient for multitask queue scheduling, can after each test assignment initialization test end segment point set Group's information, facilitates follow-up work queue to execute.
The present invention mainly passes through server-side management node manage and dispatch, and mesh is realized in the test of memory node automatically dispose Record the automatic test of quota module.The invention can in finite time a set of automated test frame of rapid deployment, realize mould The automatic test of block, while by the monitoring module of server-side management node and task module scheduling, it is right in the ideal situation Memory node carries out continual automatic test for a long time, is not limited solely to catalogue quota module automatic test, Ke Yiyou Effect promotes automatic test dynamics.It can be seen that compared with prior art, the present invention with substantive distinguishing features outstanding and significantly Progress, beneficial effects of its implementation are also obvious.
Detailed description of the invention
Fig. 1 is the structural schematic diagram of the specific embodiment of the invention.
Specific embodiment
In order to clarify the technical characteristics of the invention, below by a specific embodiment, and its attached drawing is combined, it is right This programme is illustrated.
By attached drawing as can be seen that the catalogue quota automated testing method based on mass memory of this programme, including such as Lower step: 1) creation test end node memory resource pool, configure each memory node without cryptographic acess;Using memory node as Test lead, management node set up automatic test platform as server-side, test end segment by server-side management node United Dispatching Point executes automatic test;2) idle node is called to set up automatic test cluster;3) by the automatized script library of catalogue quota The test cluster for being uploaded to establishment executes automatic test;4) log and result information are committed to the setting of server-side management node Catalogue, initialize memory node, empty environment for node and be set to idle state.
Server admin node is accessed by ssh remote protocol and carries out control access, test frame base to test end node Control access is carried out to test end node in the access of ssh remote protocol, according to the scheduler task portion of server-side management node issues Cluster is built by administration, executes automation task, and feedback automation test result.Simultaneously according to test lead node number can simultaneously into The multiple automatic dispatching tasks of row concurrently execute.
In step 2, before setting up automatic test cluster, in server-side management node establishing resource cell monitoring module, monitoring Resource pool internal segment three-point state information and scheduling configuration, according to testing requirement create directory quota automation test module, include Scheduler task configuration, test cluster configuration, script bank configuration.Server-side checks storage pool interior nodes free time shape according to monitoring module State dispatches idle memory node and sets up test cluster.
In step 3), when carrying out automatic test, a, starting test module automatic test entrance script, b, according to entrance Script obtains module automatized script library, automatized script in c, perform script library, and record log information.
When being tested, first creation test node memory resource pool, configure each memory node without cryptographic acess.So It is main to monitor resource pool internal segment three-point state information and scheduling configuration afterwards in server-side management node establishing resource cell monitoring module. According to testing requirement create directory quota automation test module, comprising scheduler task configure, test cluster configuration, script bank Configuration.Automatic test personnel can submit automation task in server-side management node after the completion, and server-side is according to monitoring module It checks storage pool interior nodes idle state, dispatches idle memory node and set up test cluster, then by catalogue quota module foot library The test cluster for being uploaded to establishment executes automatic test, and correlation log and result information are committed to service end pipe after the completion of test Reason node corresponds to catalogue;Embodiment is specific as follows: 1. install operating system to be tested in storage memory node deployment;2. each section Ssh is without cryptographic acess for point setting;3. configuring server-side management node monitoring module;4. config directory quota test module;5. depositing Node and management node is stored up to access without password ssh;6. submitting test assignment;7. obtaining task result;Wherein test module executes Specific step is as follows for task: 1. set up automatic test cluster environment according to test module task call idle node;2. starting Test module automatic test entrance script;3. obtaining module automatized script library according to entrance script;4. in perform script library Automatized script, and record log information;5. script execution completes to upload log information to management node server end;6. initial Change memory node, empties environment for node and be set to idle state.
The present invention is not limited in above-mentioned specific embodiment, and those of ordinary skill in the art are in essential scope of the invention The variations, modifications, additions or substitutions inside made, also should belong to protection scope of the present invention.

Claims (8)

1. a kind of catalogue quota automated testing method based on mass memory, it is characterized in that including the following steps:
1) creation test end node memory resource pool, configure each memory node without cryptographic acess;
2) idle node is called to set up automatic test cluster;
3) test cluster that the automatized script library of catalogue quota is uploaded to establishment is executed into automatic test;
4) log and result information are committed to the catalogue of server-side management node setting.
2. the catalogue quota automated testing method according to claim 1 based on mass memory, it is characterized in that: step 1) In, using memory node as test lead, management node is set up automatic test platform, is saved by server-side management as server-side Point United Dispatching tests end node, executes automatic test.
3. the catalogue quota automated testing method according to claim 1 or 2 based on mass memory, it is characterized in that: step It is rapid 1) in server admin node by ssh remote protocol access to test end node carry out control access.
4. the catalogue quota automated testing method according to claim 2 based on mass memory, it is characterized in that: step 2 In, before setting up automatic test cluster, in server-side management node establishing resource cell monitoring module, it is dotted to monitor resource pool internal segment State information and scheduling configuration.
5. the catalogue quota automated testing method according to claim 4 based on mass memory, it is characterized in that: step 2 In, set up automatic test cluster before, according to testing requirement server-side management node create directory quota automation test Module is configured comprising scheduler task, test cluster configuration, script bank configuration.
6. the catalogue quota automated testing method according to claim 5 based on mass memory, it is characterized in that: server-side Storage pool interior nodes idle state is checked according to monitoring module, is dispatched idle memory node and is set up test cluster.
7. the catalogue quota automated testing method according to claim 5 based on mass memory, it is characterized in that: step 3) In, when carrying out automatic test, b, a, starting test module automatic test entrance script obtain module certainly according to entrance script Dynamicization script bank, automatized script in c, perform script library, and record log information.
8. the catalogue quota automated testing method according to claim 7 based on mass memory, it is characterized in that: step 4) In, after log and result information are committed to server-side management node, memory node is initialized, environment is emptied by node and is set to sky Not busy state.
CN201811331901.3A 2018-11-09 2018-11-09 A kind of catalogue quota automated testing method based on mass memory Pending CN109408314A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811331901.3A CN109408314A (en) 2018-11-09 2018-11-09 A kind of catalogue quota automated testing method based on mass memory

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811331901.3A CN109408314A (en) 2018-11-09 2018-11-09 A kind of catalogue quota automated testing method based on mass memory

Publications (1)

Publication Number Publication Date
CN109408314A true CN109408314A (en) 2019-03-01

Family

ID=65472556

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811331901.3A Pending CN109408314A (en) 2018-11-09 2018-11-09 A kind of catalogue quota automated testing method based on mass memory

Country Status (1)

Country Link
CN (1) CN109408314A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109995617A (en) * 2019-04-11 2019-07-09 苏州浪潮智能科技有限公司 Automated testing method, device, equipment and the storage medium of Host Administration characteristic
CN111240911A (en) * 2020-01-02 2020-06-05 苏州浪潮智能科技有限公司 Storage system metadata cluster test method, system, terminal and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107302475A (en) * 2017-07-06 2017-10-27 郑州云海信息技术有限公司 The method of testing and device of a kind of Based on Distributed storage cluster
US20180121340A1 (en) * 2015-05-12 2018-05-03 Mineus S.R.O. Method and System for Automating the Process of Testing of Software Applications

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180121340A1 (en) * 2015-05-12 2018-05-03 Mineus S.R.O. Method and System for Automating the Process of Testing of Software Applications
CN107302475A (en) * 2017-07-06 2017-10-27 郑州云海信息技术有限公司 The method of testing and device of a kind of Based on Distributed storage cluster

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109995617A (en) * 2019-04-11 2019-07-09 苏州浪潮智能科技有限公司 Automated testing method, device, equipment and the storage medium of Host Administration characteristic
CN111240911A (en) * 2020-01-02 2020-06-05 苏州浪潮智能科技有限公司 Storage system metadata cluster test method, system, terminal and storage medium

Similar Documents

Publication Publication Date Title
CN105049268B (en) Distributed computing resource distribution system and task processing method
CN106844198B (en) Distributed dispatching automation test platform and method
CN109582301A (en) Method for processing business, device, equipment and the medium of task based access control scheduling system
US9396031B2 (en) Distributed UIMA cluster computing (DUCC) facility
CN110689223B (en) Robot batch management system based on RPA control
CN109981419A (en) Test method, device, system, equipment and the storage medium of load balancing characteristic
CN110471831A (en) A kind of automatic method and device of compatibility test
CN109597764A (en) A kind of test method and relevant apparatus of catalogue quota
CN111026602A (en) Health inspection scheduling management method and device of cloud platform and electronic equipment
CN109743192A (en) A kind of container cluster configuration management method and device
CN109408314A (en) A kind of catalogue quota automated testing method based on mass memory
CN110673938A (en) Task processing method, system, server and storage medium
CN109951320A (en) A kind of expansible multi layer monitoing frame and its monitoring method of facing cloud platform
CN109902028A (en) Automated testing method, device, equipment and the storage medium of ACL characteristic
CN113127343A (en) Power grid code test analysis system based on micro-service architecture
CN115102877B (en) Virtual network card network detection method, device, equipment and medium
CN106708573A (en) System and method used for automatic installation of Hadoop cluster
CN111984505A (en) Operation and maintenance data acquisition engine and acquisition method
CN105490849B (en) The automatic deployment method and system of application system
CN106462459A (en) Managing metadata for distributed processing system
US10452519B2 (en) Integrated resource scheduler, configurator, and visualizer
US20110214116A1 (en) Systems and methods for managing software package updates using communication pipes
CN111708677B (en) Cloud hard disk usage amount acquisition method in cloud computing environment
CN109995617A (en) Automated testing method, device, equipment and the storage medium of Host Administration characteristic
CN112134950B (en) Method and device for maintaining Linux cluster, maintenance server and medium

Legal Events

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

Application publication date: 20190301