CN107133084A - A kind of method of testing that XenServer virtualization system certifications are carried out to storage product - Google Patents
A kind of method of testing that XenServer virtualization system certifications are carried out to storage product Download PDFInfo
- Publication number
- CN107133084A CN107133084A CN201710398362.4A CN201710398362A CN107133084A CN 107133084 A CN107133084 A CN 107133084A CN 201710398362 A CN201710398362 A CN 201710398362A CN 107133084 A CN107133084 A CN 107133084A
- Authority
- CN
- China
- Prior art keywords
- xenserver
- test
- storage product
- storage
- carried out
- 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.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/455—Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
- G06F9/45533—Hypervisors; Virtual machine monitors
- G06F9/45558—Hypervisor-specific management and integration aspects
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/455—Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
- G06F9/45533—Hypervisors; Virtual machine monitors
- G06F9/45558—Hypervisor-specific management and integration aspects
- G06F2009/45591—Monitoring or debugging support
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Debugging And Monitoring (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention discloses a kind of method of testing that XenServer virtualization system certifications are carried out to storage product, the method comprising the steps of:S1, XenServer virtualization test environments are built for storage product;S2, sets test environment configuration information, performs protos test suite PROTOS;S3, collects test result, forms the test report of storage product XenServer virtualization certifications.Compared with prior art, the present invention can disposably complete to carry out storage product on XenServer the demand of authentication test, save the time, improve operating efficiency.
Description
Technical field
It is specifically a kind of that storage product is carried out the present invention relates to virtualization system authentication techniques field
The method of testing of XenServer virtualization system certifications.
Background technology
XenServer is a complete server virtualization platform, for Windows and Linux virtual server
It is optimized, possesses and create and manage the repertoire needed for virtual infrastructure.XenServer is directly in server hardware
On operate without underlying operating system, thus be a kind of efficient and expansible system.XenServer working method is
Element (such as hard disk drive, resource and port) is extracted from physical machine, run in physical machine virtual is then allocated to
Machine (VM, Virtual Machine).XenServer can be used for creating VM, generation VM disk snapshots and managing VM working negative
Carry.
XenCenter is a kind of graphic user interface based on Windows.XenCenter allows from windows desktop meter
Calculation machine management XenServer main frames, pond and shared storage, and deployment, management and monitoring VM.
Product is stored when carrying out XenServer virtualization system certifications, the authentication test method without complete set is led
Cause during XenServer authentication tests to occur the problem of due to demand indefinite, authentication test module that cause is lacked,
Test result be unable to reach complete certification needed for condition, it is necessary to carry out supplement test, certification percent of pass is low, extend certification survey
The examination time.
The content of the invention
To overcome the shortcomings of that above-mentioned prior art is present, storage product is carried out it is an object of the invention to provide one kind
The method of testing of XenServer virtualization system certifications, this method can be completed disposably to storage product on XenServer
The demand of test is authenticated, the time is saved, operating efficiency is improved.
The technical solution adopted for the present invention to solve the technical problems is:It is a kind of that XenServer void is carried out to storage product
The method of testing of planization system authentication, it is characterized in that:Comprise the following steps,
S1, XenServer virtualization test environments are built for storage product;
S2, sets test environment configuration information, performs protos test suite PROTOS;
S3, collects test result, forms the test report of storage product XenServer virtualization certifications.
Further, the test environment includes at least two main frames, Ethernet switch, fibre channel media, deposited
Product and PC are stored up, the main frame by IP link connection Ethernet switches, passes through optical-fibre channel described in FC link connections
Interchanger, the Ethernet switch also connects PC, storage product and fibre channel media respectively by IP links, described
Fibre channel media described in FC link connections also by storing product.
Further, the pure installation XenServer of the main frame, is exclusively used in running hosts virtual machine;On the PC
XenCenter is installed, for running XenCenter application programs.
Further, the test environment configuration information includes storage class, the IP of storage, No. IQN, interchanger of storage
Port numbers.
Further, the protos test suite PROTOS includes the test script of 5 test modules.
Further, the test module includes functional test module, control path pressure test module, multipath configuration
Authentication module, storage pool module and multipath start test module.
Further, the parsing to the functional test module is believed by capturing LUN SCSI ID, LUN space size
Cease to test whether all virtual machines obtain identical LUN and LUN quantity.
Further, to the parsing of the control path pressure test module by control virtual machine creating thesaurus plus
Carry and unload common physics block device, delete the mode of thesaurus to verify that Xen API control the path of various storage classes.
Further, the parsing for starting test module to multipath configuration verification module and multipath is virtual by creating
Block device, while writing data to block device, cuts off paths of Virtual Block Device, is write according to data behind cut-out path
Enter situation to judge whether to be configured with multipath.
Further, the parsing to storage pool module shares thesaurus by establishment and verifies that physics block device is recorded, and looks into
See the whether identical number of paths to judge shared storage of number of paths of each main frame in pond in pond between each main frame whether
Unanimously.
The beneficial effects of the invention are as follows:
The present invention has built complete test environment for the XenServer virtualization certifications of storage product, and to test wrapper
Border has carried out the configuration of corresponding demand, provides hardware and software support for the operation of follow-up test external member script, it is ensured that certification
That tests is smoothed out;
Demand of the invention from certification, the XenServer virtualization certifications for storage product analyze 5 task moulds
Block, and the test script of 5 task modules is merged into protos test suite PROTOS, only need to be to protos test suite PROTOS when being authenticated test
Send perform script order, you can the result of authentication test is obtained from PC, the demand of all authentication tests is disposably completed,
Shorten test period, save the time, improve operating efficiency.
Brief description of the drawings
Fig. 1 is the schematic flow sheet of the method for the invention;
Fig. 2 is the structural representation of virtualization test environment in a kind of embodiment of the invention.
Embodiment
For the technical characterstic for illustrating this programme can be understood, below by embodiment, and its accompanying drawing is combined, to this hair
It is bright to be described in detail.Present invention omits the description to known assemblies and treatment technology and process to avoid being unnecessarily limiting
The present invention.
In order to carry out XenServer certifications to storage product, reach that once certification meets the purpose of all demands, the present invention
There is provided the authentication test method of complete set.
As shown in figure 1, the method for the invention comprises the following steps,
S1, XenServer virtualization test environments are built for storage product;
S2, sets test environment configuration information, performs protos test suite PROTOS;
S3, collects test result, forms the test report of storage product XenServer virtualization certifications.
Wherein, building for test environment is virtualized in step S1 including at least two main frames, Ethernet switch, optical fiber to lead to
Road interchanger, storage product and PC, as shown in Fig. 2 having used two main frames in embodiment, are respectively designated as main frame 1 and main frame
2, the main frame is described by fibre channel media described in FC link connections by IP link connection Ethernet switches
Ethernet switch also connects PC, storage product and fibre channel media respectively by IP links, and the optical-fibre channel is handed over
Change planes also by storing product described in FC link connections.
On the basis of the said equipment, virtualization test environment to build success, in addition it is also necessary to carry out XenServer configurations,
Configuration storage and Configuration network.Wherein XenServer is configured, and at least needs two single physical computers:One conduct
XenServer main frames, another is used to run XenCenter application programs.XenServer master computers are to be exclusively used in operation support
Pipe VM XenServer, rather than operation other applications.The computer for running XenCenter can meet hardware
It is required that any general Windows computers, it can also be used to run other applications.
In embodiments of the invention, as shown in Fig. 2 installing XenCenter application programs on PC, XenCenter is
A kind of graphic user interface based on Windows.XenCenter allows from windows desktop computer management XenServer master
Machine, pond and shared storage, and deployment, management and monitoring VM.
Authentication test is completed, to set up and 2 is utilized in the host groups containing 2 or multiple host, embodiments of the invention
Platform main frame, every main frame is all pure to be mounted with XenServer.
In storage configuration, all storage targets must be that the All hosts in main frame pond are equally visible, and the test will
Each target is verified, identical LUN should be visible addressable for each physical link.
All visible LUN sizes are at least 1GB sizes, and the average 10GB of preferably each LUN are big.
In network configuration, it is impossible to extra IP address is configured on main frame, cut with tamper-proof iSCSI storages multipath failure
Change test.For multipath fail-over test, at least two paths must be available all visible.
Test environment configuration information includes in step S2:Setting storage class, such as lvmoiscsi, lvmohba, nfs,
It is lvmoiscsi to be preferably provided with storage class in isl, the present invention;Storage target is set, the IP of storage to be measured is inputted;Mesh is set
No. IQN of mark storage;Call the script of open and close switch ports themselves;The number of times of open and close switch ports themselves is set.
Protos test suite PROTOS is to include the test script of 5 test modules.Wherein test module includes functional test module, control
Path pressure test module, multipath configuration verification module, storage pool module and multipath start test module.
Protos test suite PROTOS is arranged on the process that protos test suite PROTOS is performed on the main frame equipped with XenServer virtualization systems i.e. to 5
The validation test process of individual test module, specific resolving is as follows:
Functional test module:Protos test suite PROTOS captures the information such as lun SCSI ID, lun space size automatically, and will obtain
The information taken is shown on PC, it is ensured that all virtual machines have got identical lun and lun quantity.
Control path pressure test module:By creating thesaurus, loading and unloading thing altogether on Xenserver virtual machines
Manage block device, delete the mode of thesaurus to verify that Xen API (Xen tool interface) control the path of various storage classes.
Multipath configuration verification module:Protos test suite PROTOS creates Virtual Block Device on XenServer and loaded to virtual machine
Use, while writing data to block device, cutting off data behind a paths of Virtual Block Device, cut-out path can be normally written
Complete.Multipath whether is correctly configured with checking system in this way, whether failure transfer and recovery behavior, which meet, is propped up
The standard held.
Storage pool module:Test script automatically creates shared thesaurus and verifies that physics block device is recorded, and checks every in pond
Whether the whether identical number of paths to judge shared storage of the number of paths of individual main frame is consistent between each main frame in pond.
Multipath starts test module:Identical with the analytic method of multipath configuration verification module, i.e., protos test suite PROTOS exists
Virtual Block Device is created on XenServer and is loaded and is used to virtual machine, while writing data to block device, dummy block is cut off
Data can be normally written completion behind one paths of equipment, cut-out path.Whether correctly configured in checking system in this way
Whether multipath, failure transfer and recovery behavior meet supported standard.
Above to the authentication test of 5 test modules after the completion of, as a result can be collected by XenServer application programs, and
Shown on PC screen, and log files can be automatically generated, printing authentication test by PC reports.
Simply the preferred embodiment of the present invention described above, for those skilled in the art,
Without departing from the principles of the invention, some improvements and modifications can also be made, these improvements and modifications are also regarded as this hair
Bright protection domain.
Claims (10)
1. a kind of method of testing that XenServer virtualization system certifications are carried out to storage product, it is characterized in that:Including following step
Suddenly,
S1, XenServer virtualization test environments are built for storage product;
S2, sets test environment configuration information, performs protos test suite PROTOS;
S3, collects test result, forms the test report of storage product XenServer virtualization certifications.
2. a kind of method of testing that XenServer virtualization system certifications are carried out to storage product according to claim 1,
It is characterized in that:The test environment include at least two main frames, Ethernet switch, fibre channel media, storage product and
PC, the main frame by IP link connection Ethernet switches, passes through fibre channel media described in FC link connections, institute
State Ethernet switch and PC, storage product and fibre channel media, the optical-fibre channel are also connected by IP links respectively
Interchanger described in FC link connections also by storing product.
3. a kind of method of testing that XenServer virtualization system certifications are carried out to storage product according to claim 2,
It is characterized in that:The pure installation XenServer of the main frame, is exclusively used in running hosts virtual machine;Installed on the PC
XenCenter, for running XenCenter application programs.
4. a kind of method of testing that XenServer virtualization system certifications are carried out to storage product according to claim 1,
It is characterized in that:The test environment configuration information includes storage class, the IP of storage, No. IQN, the port of interchanger of storage
Number.
5. a kind of method of testing that XenServer virtualization system certifications are carried out to storage product according to claim 1,
It is characterized in that:The protos test suite PROTOS includes the test script of 5 test modules.
6. a kind of method of testing that XenServer virtualization system certifications are carried out to storage product according to claim 5,
It is characterized in that:The test module includes functional test module, control path pressure test module, multipath configuration verification mould
Block, storage pool module and multipath start test module.
7. a kind of method of testing that XenServer virtualization system certifications are carried out to storage product according to claim 6,
It is characterized in that:The parsing of the functional test module is tested by capturing LUN SCSI ID, LUN space size information
Whether all virtual machines obtain identical LUN and LUN quantity.
8. a kind of method of testing that XenServer virtualization system certifications are carried out to storage product according to claim 6,
It is characterized in that:To the parsing of the control path pressure test module by controlling virtual machine creating thesaurus, loading and unloading
It is total to physics block device, deletes the mode of thesaurus to verify that Xen API control the path of various storage classes.
9. a kind of method of testing that XenServer virtualization system certifications are carried out to storage product according to claim 6,
It is characterized in that:Start the parsing of test module to multipath configuration verification module and multipath by creating Virtual Block Device,
While writing data to block device, a paths of Virtual Block Device are cut off, according to the write-in situation of data behind cut-out path
Judge whether to be configured with multipath.
10. a kind of test side that XenServer virtualization system certifications are carried out to storage product according to claim 6
Method, it is characterized in that:Parsing to storage pool module shares thesaurus by establishment and verifies that physics block device is recorded, and checks in pond
Whether the whether identical number of paths to judge shared storage of number of paths of each main frame is consistent between each main frame in pond.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710398362.4A CN107133084B (en) | 2017-05-31 | 2017-05-31 | Test method for XenServer virtualization system authentication of storage product |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710398362.4A CN107133084B (en) | 2017-05-31 | 2017-05-31 | Test method for XenServer virtualization system authentication of storage product |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107133084A true CN107133084A (en) | 2017-09-05 |
CN107133084B CN107133084B (en) | 2020-06-02 |
Family
ID=59733559
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710398362.4A Active CN107133084B (en) | 2017-05-31 | 2017-05-31 | Test method for XenServer virtualization system authentication of storage product |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107133084B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107645428A (en) * | 2017-10-10 | 2018-01-30 | 郑州云海信息技术有限公司 | A kind of automatic test approach and device |
CN109213649A (en) * | 2018-09-18 | 2019-01-15 | 郑州云海信息技术有限公司 | GTX video card deep learning optimal inspection method, apparatus, terminal and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8132058B1 (en) * | 2001-09-07 | 2012-03-06 | Netapp, Inc. | Auto regression tester for network-based storage virtualization system |
CN102571474A (en) * | 2010-12-30 | 2012-07-11 | 北京首信科技股份有限公司 | Virtualized Radius testing system and method |
CN104270290A (en) * | 2014-10-21 | 2015-01-07 | 浪潮电子信息产业股份有限公司 | Multi-network-interface performance testing method |
CN104618196A (en) * | 2015-02-25 | 2015-05-13 | 浪潮电子信息产业股份有限公司 | Method for identifying compatibility of server and Citrix system |
-
2017
- 2017-05-31 CN CN201710398362.4A patent/CN107133084B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8132058B1 (en) * | 2001-09-07 | 2012-03-06 | Netapp, Inc. | Auto regression tester for network-based storage virtualization system |
CN102571474A (en) * | 2010-12-30 | 2012-07-11 | 北京首信科技股份有限公司 | Virtualized Radius testing system and method |
CN104270290A (en) * | 2014-10-21 | 2015-01-07 | 浪潮电子信息产业股份有限公司 | Multi-network-interface performance testing method |
CN104618196A (en) * | 2015-02-25 | 2015-05-13 | 浪潮电子信息产业股份有限公司 | Method for identifying compatibility of server and Citrix system |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107645428A (en) * | 2017-10-10 | 2018-01-30 | 郑州云海信息技术有限公司 | A kind of automatic test approach and device |
CN109213649A (en) * | 2018-09-18 | 2019-01-15 | 郑州云海信息技术有限公司 | GTX video card deep learning optimal inspection method, apparatus, terminal and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN107133084B (en) | 2020-06-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101398770B (en) | System for and method of migrating one or more virtual machines | |
CN104407938B (en) | A kind of a variety of granularity restoration methods after virtual machine image level backup | |
US9588856B2 (en) | Restoring redundancy in a storage group when a storage device in the storage group fails | |
US10001929B2 (en) | Method and systems for simulating a workload of a storage system | |
JP5615698B2 (en) | Virtual machine migration | |
US8122212B2 (en) | Method and apparatus for logical volume management for virtual machine environment | |
EP2178268A2 (en) | Method and apparatus for resource provisioning | |
US20070250302A1 (en) | Simulated storage area network | |
US20110197011A1 (en) | Storage apparatus and interface expansion authentication method therefor | |
US9329653B2 (en) | Server systems having segregated power circuits for high availability applications | |
CN104239166A (en) | Method for realizing file backup for running virtual machine | |
US9792056B1 (en) | Managing system drive integrity in data storage systems | |
CN106534373B (en) | IO performance test method and device for SAN storage equipment | |
CN205792734U (en) | The disaster recovery drilling system that a kind of facing cloud calculates | |
JP2001337792A (en) | Disk array device | |
CN103795742B (en) | Isomery storage and disaster tolerance management system and method | |
CN107133084A (en) | A kind of method of testing that XenServer virtualization system certifications are carried out to storage product | |
US8132058B1 (en) | Auto regression tester for network-based storage virtualization system | |
US10430121B2 (en) | Efficient asynchronous mirror copy of fully provisioned volumes to thin-provisioned volumes | |
CN110543385A (en) | Virtual backup method and virtual backup restoration method | |
CN102520880A (en) | System raid management module design method | |
US20100312982A1 (en) | Storage management command control in virtualized environment | |
US10229014B1 (en) | Systems, methods and devices for performing fast RAID re-synchronization using a RAID sandwich architecture | |
CN114416501A (en) | Storage double-activity and test system and method | |
US9672146B2 (en) | Retrieveing data from data storage systems |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |