CN104765668A - Method for verifying stability of NFS server - Google Patents

Method for verifying stability of NFS server Download PDF

Info

Publication number
CN104765668A
CN104765668A CN201510193337.3A CN201510193337A CN104765668A CN 104765668 A CN104765668 A CN 104765668A CN 201510193337 A CN201510193337 A CN 201510193337A CN 104765668 A CN104765668 A CN 104765668A
Authority
CN
China
Prior art keywords
test
server
nfs server
nfs
stability
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
Application number
CN201510193337.3A
Other languages
Chinese (zh)
Other versions
CN104765668B (en
Inventor
刘士雄
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Inspur Electronic Information Industry Co Ltd
Original Assignee
Inspur Electronic Information Industry Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Inspur Electronic Information Industry Co Ltd filed Critical Inspur Electronic Information Industry Co Ltd
Priority to CN201510193337.3A priority Critical patent/CN104765668B/en
Publication of CN104765668A publication Critical patent/CN104765668A/en
Application granted granted Critical
Publication of CN104765668B publication Critical patent/CN104765668B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a method for verifying the stability of an NFS server. The method specifically comprises the steps that three servers are arranged, two of the three servers are testing management servers, the other one is the NFS server, and the testing servers and the NFS server are connected through an Ethernet switch; the migration test is started, in other words, in the virtual machine migration testing process, whether zone reading and writing and single-time migration time are normal or not is judged, and meanwhile monitoring and problem processing are carried out at the testing management server ends through a UI interface; after the test is finished, whether the NFS server can stably work in the using process or not is verified through a display result. Compared with the prior art, by means of the method for verifying the stability of the NFS server, the problem related to the stability of the NFS server can be rapidly and effectively judged, testing standards and technical support are provided for the later similar application, and the working efficiency can be greatly improved.

Description

A kind of method verifying nfs server stability
Technical field
The present invention relates to field of computer technology, specifically a kind of method of practical, checking nfs server stability.
Background technology
NFS(Network File System) be developed at first by Sun Microsystems, its target allows different machines can the identical Archive Resource of cross-platform sharing.In simple terms, a kind of archives economy of far-end can be regarded as.Also because cross-platform target, so nearly all Unix Like platform all supports NFS, as IBM AIX, Oracle Solaris, HP Unix, GNU/Linux and FreeBSD etc., shared filing container resource of catalog can be carried out through NFS.Meanwhile, NFS is well more a lot of than traditional Samba in usefulness, so, usually on the super computer or business large scale system of parallel calculation, dispose use NFS Server and be absolutely necessary.
The stability test of nfs server, not by the method for testing of a standard, is also have numerous method to carry out pressure test to nfs server at present, verifies whether nfs server can be competent at routine use with this.Based on this, the invention provides a kind of method verifying nfs server stability, the method is based on VMware vMotion function, as everyone knows, vMotion is the important function of ESXi, plays a very important role in the cluster of ESXi, therefore, VMware, for the supplier-be no matter store or nfs server of backend file system, have very harsh requirement, and the data traffic when carrying out vMotion test will be much higher than the flow of every day use.Therefore can say, vMotion test, for nfs server, is an ideal stability test method already.
Summary of the invention
Technical assignment of the present invention is for above weak point, provides a kind of method of practical, checking nfs server stability.
Verify a method for nfs server stability, its specific implementation process is:
Arrange three station servers, wherein two is test and management server, and one is nfs server, is connected between testing server with nfs server by Ethernet switch;
Start migration test, namely test in virtual machine (vm) migration process, whether the time of moving read-write and the single of subregion is normal, undertaken monitoring and issue handling at test and management server end by UI interface simultaneously;
After test terminates, by the work whether display product test nfs server in use can be stable.
Described two test and management servers are the server installing VMwre ESXi system, wherein a test and management server installation testing assembly workbench is as testing software, DNS is installed as domain name resolution server, vCenter is installed and manages whole test environment, the whole access network based on ethernet switch of management network port of two machines.
Described Ethernet switch is gigabit switch.
Nfs server provides NFS file partition for two test and management servers, four virtual machines are created in subregion, be mounted in ESXi system as storage system, simultaneously, open the vMotion function of two ESXi systems, create virtual machine in the file system of test and management server after, start in two-server, carry out migration test.
Described migration test adopts uninterrupted test, and the data that test process produces are kept in test and management server automatically; After test terminates, carried out the stability of labor nfs server by the test data of automatically preserving.
A kind of method verifying nfs server stability of the present invention, has the following advantages:
A kind of method verifying nfs server stability that the present invention proposes, by the mode adopting Ethernet switch to connect between two supervisor TM and tested machine nfs server, creates the freestanding environment of test, investigation external interference; In test process, carry out I/O and bandwidth performance test to the file system that nfs server provides, no longer need manual intervention after whole test starts, the test duration is 4 hours, can obtain a result the stability foundation judging nfs server after having tested; The method has that configuration is simple, the cycle is short, be convenient to the advantages such as monitoring investigation, practical, is easy to popularization.
Accompanying drawing explanation
Accompanying drawing 1 is test structure figure of the present invention.
Embodiment
Below in conjunction with the drawings and specific embodiments, the invention will be further described.
A kind of method verifying nfs server stability is now provided, is intended to the problem fast and effeciently judging that nfs server stability is relevant, and for providing testing standard under later similar application and providing technical support, greatly can promotes work efficiency.
In actual verification process, its verification msg analyzes the sole indicator of nfs server stability.How fast and effeciently to obtain a result is the emphasis of whole test process: the rapidity configuration of environment is the network of simplifying, and rejects unnecessary equipment and configuration; The validity of method of testing is that the integration of read-write operations a large amount of to NFS subregion in test process and test item is uninterruptedly tested; Go wrong simultaneously and significantly can judge whether there is relation with stability.
Based on this, as shown in Figure 1, its specific implementation process is:
Arrange three station servers, wherein two is test and management server TM, and one is nfs server, is connected between testing server with nfs server by Ethernet switch;
Start migration test, namely test in virtual machine (vm) migration process, whether the time of moving read-write and the single of subregion is normal, undertaken monitoring and issue handling at test and management server end by UI interface simultaneously;
After test terminates, by the work whether display product test nfs server in use can be stable.
Described two test and management servers are the server installing VMwre ESXi system, wherein a test and management server installation testing assembly workbench is as testing software, DNS is installed as domain name resolution server, vCenter is installed and manages whole test environment, the whole access network based on ethernet switch of management network port of two machines.
Described Ethernet switch is gigabit switch.
Nfs server provides NFS file partition for two, front end test and management server, creates four virtual machines, mainly test in virtual machine (vm) migration process in subregion, and whether the time of moving read-write and the single of subregion is normal.
In testing, according to actual experiment experience, nfs server is divided the file system of 1T, be mounted in ESXi system respectively as storage system, meanwhile, the vMotion function of two ESXi systems is opened, like this, create virtual machine in the file system of test and management server after, just can carry out migration in two-server and test.
Whole operating process is carried out in the workbench of TM, and patterned operation interface is convenient to progress and the derivation result of checking checking; After test completes, can verify by the result of test the operation whether nfs server is stable intuitively, for individual and enterprise provide Data support when deployment nfs server.
Described migration test adopts uninterrupted test, and the process of thus this test is controlled, and the data that test process produces are kept in test and management server automatically; After test terminates, carried out the stability of labor nfs server by the test data of automatically preserving.
Above-mentioned embodiment is only concrete case of the present invention; scope of patent protection of the present invention includes but not limited to above-mentioned embodiment; any according to the invention a kind of verify claims of the method for nfs server stability and the those of ordinary skill of any described technical field to its suitable change done or replacement, all should fall into scope of patent protection of the present invention.

Claims (5)

1. verify a method for nfs server stability, it is characterized in that, its specific implementation process is:
Arrange three station servers, wherein two is test and management server, and one is nfs server, is connected between testing server with nfs server by Ethernet switch;
Start migration test, namely test in virtual machine (vm) migration process, whether the time of moving read-write and the single of subregion is normal, undertaken monitoring and issue handling at test and management server end by UI interface simultaneously;
After test terminates, by the work whether display product test nfs server in use can be stable.
2. a kind of method verifying nfs server stability according to claim 1, it is characterized in that, described two test and management servers are the server installing VMwre ESXi system, wherein a test and management server installation testing assembly workbench is as testing software, DNS is installed as domain name resolution server, vCenter is installed and manages whole test environment, the whole access network based on ethernet switch of management network port of two machines.
3. a kind of method verifying nfs server stability according to claim 1 and 2, is characterized in that, described Ethernet switch is gigabit switch.
4. a kind of method verifying nfs server stability according to claim 2, it is characterized in that, nfs server provides NFS file partition for two test and management servers, four virtual machines are created in subregion, be mounted in ESXi system as storage system, meanwhile, open the vMotion function of two ESXi systems, create virtual machine in the file system of test and management server after, start in two-server, carry out migration test.
5. a kind of method verifying nfs server stability according to claim 4, is characterized in that, described migration test adopts uninterrupted test, and the data that test process produces are kept in test and management server automatically; After test terminates, carried out the stability of labor nfs server by the test data of automatically preserving.
CN201510193337.3A 2015-04-22 2015-04-22 A kind of method for verifying nfs server stability Active CN104765668B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510193337.3A CN104765668B (en) 2015-04-22 2015-04-22 A kind of method for verifying nfs server stability

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510193337.3A CN104765668B (en) 2015-04-22 2015-04-22 A kind of method for verifying nfs server stability

Publications (2)

Publication Number Publication Date
CN104765668A true CN104765668A (en) 2015-07-08
CN104765668B CN104765668B (en) 2017-10-13

Family

ID=53647513

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510193337.3A Active CN104765668B (en) 2015-04-22 2015-04-22 A kind of method for verifying nfs server stability

Country Status (1)

Country Link
CN (1) CN104765668B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105530126A (en) * 2015-12-11 2016-04-27 浪潮电子信息产业股份有限公司 Redhat system series based nfs service establishment method
CN107835106A (en) * 2017-11-03 2018-03-23 郑州云海信息技术有限公司 A kind of method and system of checking ISCSI storage server stability
CN108920936A (en) * 2018-06-26 2018-11-30 郑州云海信息技术有限公司 A kind of method and apparatus that vmware certification is realized based on Purley platform
CN108959044A (en) * 2018-06-08 2018-12-07 郑州云海信息技术有限公司 A kind of method and system of the verifying MCS last volume migration validity based on perl

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100082922A1 (en) * 2008-09-30 2010-04-01 Vmware, Inc. Virtual machine migration using local storage
CN101883028A (en) * 2010-06-30 2010-11-10 中兴通讯股份有限公司 Method and device for detecting network file system server
CN103605562A (en) * 2013-12-10 2014-02-26 浪潮电子信息产业股份有限公司 Method for migrating kernel-based virtual machine (KVM) between physical hosts

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100082922A1 (en) * 2008-09-30 2010-04-01 Vmware, Inc. Virtual machine migration using local storage
CN101883028A (en) * 2010-06-30 2010-11-10 中兴通讯股份有限公司 Method and device for detecting network file system server
CN103605562A (en) * 2013-12-10 2014-02-26 浪潮电子信息产业股份有限公司 Method for migrating kernel-based virtual machine (KVM) between physical hosts

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105530126A (en) * 2015-12-11 2016-04-27 浪潮电子信息产业股份有限公司 Redhat system series based nfs service establishment method
CN107835106A (en) * 2017-11-03 2018-03-23 郑州云海信息技术有限公司 A kind of method and system of checking ISCSI storage server stability
CN108959044A (en) * 2018-06-08 2018-12-07 郑州云海信息技术有限公司 A kind of method and system of the verifying MCS last volume migration validity based on perl
CN108920936A (en) * 2018-06-26 2018-11-30 郑州云海信息技术有限公司 A kind of method and apparatus that vmware certification is realized based on Purley platform

Also Published As

Publication number Publication date
CN104765668B (en) 2017-10-13

Similar Documents

Publication Publication Date Title
US9218197B2 (en) Virtual machine image migration
CN101593249B (en) Suspicious file analyzing method and suspicious file analyzing system
CN104765668A (en) Method for verifying stability of NFS server
US20120311111A1 (en) Dynamic reconfiguration of cloud resources
CN102413010B (en) Testing environment deployment method and device
CN111367615B (en) Method, device, equipment and storage medium for facilitating container instance scheduling
CN102866950B (en) A kind of performance test methods of virtual server and testing tool
CN103970908A (en) Virtual machine template IVF storage method
CN105843707B (en) Database quick recovery method and equipment
CN102937909B (en) A kind of method of disposing and upgrading linux system
CN103973515A (en) Network card stability testing method
CN103530162A (en) Automatic online virtual machine software installing method and system
CN103425511A (en) System and method of installing and deploying application software in cloud computing environment
CN106406980B (en) A kind of dispositions method and device of virtual machine
US9772926B2 (en) System and method for determining relevance of application software maintenance
CN105243013A (en) Software testing method and system
CN104572467A (en) Method for testing performance of virtual platform database of server
CN102750203A (en) Linux-based rapid deploying method
CN104517067A (en) Method, device and system for data access
CN104158905A (en) Creation method of web containers
CN105426243A (en) Openstack based physical machine remote maintenance method
Gupta et al. Deployment of Multi-Tier Application on Cloud and Continuous Monitoring using Kubernetes
CN104717091B (en) Server quality verification method and system
CN110389856B (en) Method, apparatus and computer readable medium for migrating data
CN102682078A (en) Method for automatically and rapidly deploying NFS (network file system) sharing

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant