Summary of the invention
In view of this, fundamental purpose of the present invention is the collocation method providing a kind of memory device test environment, and the method effectively can improve the allocative efficiency of memory device test environment.
In order to achieve the above object, the technical scheme that the present invention proposes is:
A collocation method for memory device test environment, comprising:
In advance the environment configurations result of the first test file system is kept in the logical volume of default first local disk; The environment configurations result of the second test file system is kept in the logical volume of the second default local disk;
Two logics mapping memory device to be certified are rolled onto in testing server, and install Virtual Service applicator platform respectively in described logical volume in the mapped, obtain two virtual servers for certification;
Two logical volumes are selected in other logical volumes from described memory device except described two logical volumes, according to the mode of publicly-owned mapping, two logics selected described in mapping are rolled onto in described virtual server, obtain the logical volume a after mapping and logical volume b;
Environment configurations result in described first local disk is stored in the described logical volume a in described testing server, the environment configurations result in described second local disk is stored in the described logical volume b in described testing server.
In sum, the collocation method of the memory device test environment that the present invention proposes, when carrying out the configuration of sharp test environment, the environment configurations result backed up in advance is utilized to carry out the configuration of test environment, effectively can realize the recycling of test environment, save the environment configurations time in early stage of certification, improve testing efficiency.
Embodiment
For making the object, technical solutions and advantages of the present invention clearly, the present invention is described in further detail below in conjunction with the accompanying drawings and the specific embodiments.
Core concept of the present invention is: preserve the environment configurations result obtained after test environment configuration, it can be used as Backup Data, when configuration testing environment, directly this Backup Data is copied in corresponding logical volume, effectively can reduce and repeatedly repeat the required configuration operation performed of test environment configuration, thus the environment configurations time in early stage of certification can be saved, improve testing efficiency.
Fig. 1 is the schematic flow sheet of the embodiment of the present invention one, and as shown in Figure 1, this embodiment mainly comprises:
Step 101, in advance the environment configurations result of the first test file system is kept in the logical volume of default first local disk; The environment configurations result of the second test file system is kept in the logical volume of the second default local disk.
In actual applications, when adopting VMware authentication test method, version 3 virtual machine file system (vmfs3) is specifically as follows for the described first test file system of testing certification; Described second test file system is specifically as follows version 5 virtual machine file system (vmfs5); Correspondingly, described environment configurations result is specially data and stores (datastore) data.Selectively can preserve datastore data in actual applications, only preserve the result of the configuration of operation more complicated, also all can preserve, specifically can be selected according to actual needs by those skilled in the art.
In this step, be common to the result after by environment configurations when carrying out authentication test and be kept in local disk, so that before after this carrying out authentication test, directly import the process that this environment configurations result completes test environment configuration.So just can realize the recycling of test environment, the environment configurations repeated when avoiding at every turn testing operates, and to save the environment configurations time in early stage of certification, improves testing efficiency.
Step 102, two logics mapping memory device to be certified are rolled onto in testing server, and install Virtual Service applicator platform respectively in described logical volume in the mapped, obtain two virtual servers for certification.
Mapping concrete in this step and installation method are that those skilled in the art are known, do not repeat them here.
Particularly, when adopting VMware authentication test method, described Virtual Service applicator platform is VMwareESX server.
Two logical volumes are selected in step 103, other logical volumes from described memory device except described two logical volumes, according to the mode of publicly-owned mapping, two logics selected described in mapping are rolled onto in described virtual server, obtain the logical volume a after mapping and logical volume b.
In this step, the logical volume a obtained and logical volume b will be used for Conservation environment configuration result.The concrete mode according to publicly-owned mapping carries out the method for described mapping, by those skilled in the art are grasped, does not repeat them here.
Step 104, be stored in the environment configurations result in described first local disk in described testing server described logical volume a, the environment configurations result in described second local disk be stored in the described logical volume b in described testing server.
This step, the environment configurations result backed up in advance is directly imported from local disk the logical volume a and the logical volume b that are mapped to server, the layoutprocedure of authentication test environment can be completed, thus avoid the repeated configuration operation of each environment configurations, reach the object of the environment configurations time in early stage saving certification.
In sum, these are only preferred embodiment of the present invention, be not intended to limit protection scope of the present invention.Within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.