CN104765668B - A kind of method for verifying nfs server stability - Google Patents

A kind of method for verifying nfs server stability Download PDF

Info

Publication number
CN104765668B
CN104765668B CN201510193337.3A CN201510193337A CN104765668B CN 104765668 B CN104765668 B CN 104765668B CN 201510193337 A CN201510193337 A CN 201510193337A CN 104765668 B CN104765668 B CN 104765668B
Authority
CN
China
Prior art keywords
test
server
nfs
nfs server
verifying
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.)
Active
Application number
CN201510193337.3A
Other languages
Chinese (zh)
Other versions
CN104765668A (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 kind of method for verifying nfs server stability, it implements process and is:Three servers are set, wherein two are test and management server, one is nfs server, is attached between test server and nfs server by Ethernet switch;Start migration test, that is, test during virtual machine (vm) migration, whether the time of read-write and single migration to subregion is normal, while being monitored in test and management server end by UI interfaces and issue handling;Test terminate after, by show product test nfs server in use whether can stablize work.A kind of method for verifying nfs server stability compared with prior art, fast and effeciently judges the problem of nfs server stability is related, and is that later similar application is lower to provide testing standard and provide technical support, can greatly promote operating efficiency.

Description

A kind of method for verifying nfs server stability
Technical field
It is specifically a kind of practical, checking nfs server stability the present invention relates to field of computer technology Method.
Background technology
NFS(Network File System)It is to be developed at first by Sun Microsystems, its target is to allow different machines can Cross-platform sharing identical Archive Resource.In simple terms, a kind of archives economy of distal end can be regarded as.Also because cross-platform Target, so almost all of Unix Like platforms all support NFS, such as IBM AIX, Oracle Solaris, HP Unix, GNU/Linux and FreeBSD etc., can share filing container resource of catalog through NFS.Meanwhile, NFS in efficiency than Traditional Samba is well a lot, so, usually on the super computer or business large scale system of parallel calculation, deployment uses one Platform NFS Server are essential.
The stability test of nfs server, not by the method for testing of a standard, is also to have numerous methods to NFS at present Server carries out pressure test, verifies whether nfs server can be competent at routine use with this.Based on this, the present invention is provided A kind of method for verifying nfs server stability, this method is based on VMware vMotion functions, it is well known that vMotion is Function important ESXi, is played a very important role in ESXi cluster, therefore, and VMware is for backend file system The storage of supplier-either or nfs server, suffer from very harsh requirement, and when carrying out vMotion tests Data traffic to be much higher than the flow usually used.Accordingly, it can be said that vMotion tests are for nfs server, It is so an ideal stability test method.
The content of the invention
The technical assignment of the present invention is that there is provided a kind of practical, checking nfs server is stable for above weak point The method of property.
A kind of method for verifying nfs server stability, it implements process and is:
Set three servers, wherein two be test and management server, one be nfs server, test server with It is attached between nfs server by Ethernet switch;
Start migration test, that is, test during virtual machine (vm) migration, the time of read-write and single migration to subregion It is whether normal, while being monitored in test and management server end by UI interfaces and issue handling;
Test terminate after, by show product test nfs server in use whether can stablize work.
Two test and management servers are the server for installing VMware ESXi systems, wherein a testing tube Manage server and test suite workbench is installed as test software, DNS is installed as domain name resolution server, installed VCenter manages whole test environment, the whole access network based on ethernet interchangers of management network port of two machines.
The Ethernet switch is gigabit switch.
Nfs server provides NFS file system subregion for two test and management servers, and four are created in subregion virtually Machine, is mounted in ESXi systems as storage system, meanwhile, the vMotion functions of two ESXi systems are opened, work as test and management Created in the file system of server after virtual machine, start to carry out migration test in two-server.
The migration test uses uninterrupted test, and the data that test process is produced are automatically saved in test and management server In;After test terminates, by the test data that automatically saves come the stability of labor nfs server.
The method of a kind of checking nfs server stability of the present invention, with advantages below:
A kind of method for verifying nfs server stability proposed by the present invention, by two supervisor TM and tested machine Between nfs server by the way of Ethernet switch connection, the freestanding environment of test is created, external interference is investigated;Test During, I/O is carried out to the file system that nfs server is provided and bandwidth performance is tested, whole test no longer needs after starting Manual intervention, the testing time is 4 hours, can obtain a result to judge the stability foundation of nfs server after the completion of test; This method has the advantages that configuration is simple, the cycle is short, is easy to monitoring to investigate, practical, it is easy to promote.
Brief description of the drawings
Accompanying drawing 1 is test structure figure of the invention.
Embodiment
The invention will be further described with specific embodiment below in conjunction with the accompanying drawings.
Now provide a kind of method for verifying nfs server stability, it is intended to fast and effeciently judge nfs server stability Related the problem of, and for the later similar lower offer testing standard of application and technical support is provided, work can be greatly promoted Efficiency.
During actual verification, it verifies that data are to analyze the sole indicator of nfs server stability.How quickly to have It is the emphasis of whole test process to obtain a result to effect:The rapidity configuration of environment is the network simplified, and it is unnecessary to reject Equipment and configuration;The validity of method of testing is in test process to the substantial amounts of read-write operation of NFS subregions and test item Integrated uninterrupted test;Go wrong simultaneously and can significantly judge whether there is relation with stability.
Based on this, as shown in Figure 1, it implements process and is:
Three servers are set, wherein two are test and management server TM, one is nfs server, test server It is attached between nfs server by Ethernet switch;
Start migration test, that is, test during virtual machine (vm) migration, the time of read-write and single migration to subregion It is whether normal, while being monitored in test and management server end by UI interfaces and issue handling;
Test terminate after, by show product test nfs server in use whether can stablize work.
Two test and management servers are the server for installing VMware ESXi systems, wherein a testing tube Manage server and test suite workbench is installed as test software, DNS is installed as domain name resolution server, installed VCenter manages whole test environment, the whole access network based on ethernet interchangers of management network port of two machines.
The Ethernet switch is gigabit switch.
Nfs server provides NFS file system subregion for the test and management server of front end two, and four are created in subregion Virtual machine, is mainly tested during virtual machine (vm) migration, and whether the time of read-write and single migration to subregion is normal.
In testing, according to actual experiment experience, nfs server is divided to 1T file system, is respectively as storage System is mounted in ESXi systems, meanwhile, the vMotion functions of two ESXi systems are opened, so, when test and management server Created in file system after virtual machine, it is possible to migration is carried out in two-server and is tested.
Whole operation process is carried out in TM workbench, and patterned operation interface is easy to check the progress of checking And export result;After the completion of test, the operation whether nfs server is stablized can intuitively be verified by the result of test, Data are provided for personal and enterprise when nfs server is disposed to support.
The migration test uses uninterrupted test, thus the process of the test is controllable, the number that test process is produced According to being automatically saved in test and management server;After test terminates, by the test data that automatically saves come labor NFS The stability of server.
Above-mentioned embodiment is only the specific case of the present invention, and scope of patent protection of the invention includes but is not limited to Above-mentioned embodiment, a kind of claims of the method for any checking nfs server stability for meeting the present invention And the appropriate change or replacement that the those of ordinary skill of any technical field is done to it, it should all fall into the patent of the present invention Protection domain.

Claims (5)

1. a kind of method for verifying nfs server stability, it is characterised in that it implements process and is:
Set three servers, wherein two be test and management server, one be nfs server, test and management server with It is attached between nfs server by Ethernet switch, and two test and management servers are to install VMware ESXi The server of system;
Start migration test, i.e. vMotion tests are tested during virtual machine (vm) migration, read-write and single to subregion are moved Whether the time of shifting is normal, while being monitored in test and management server end by UI interfaces and issue handling;
Test terminate after, by show product test nfs server in use whether can stablize work.
2. a kind of method for verifying nfs server stability according to claim 1, it is characterised in that two surveys Try in management server, a test and management server installs test suite workbench as test software, DNS is installed and made For domain name resolution server, vCenter is installed to manage whole test environment, the management network port of two machines all accesses ether Network switch.
3. a kind of method for verifying nfs server stability according to claim 1 or 2, it is characterised in that the ether Network switch is gigabit switch.
4. a kind of method for verifying nfs server stability according to claim 2, it is characterised in that nfs server is Two test and management servers provide NFS file system subregion, and four virtual machines are created in subregion, storage system carry is used as Into ESXi systems, meanwhile, the vMotion functions of two ESXi systems are opened, when in the file system of test and management server Create after virtual machine, start to carry out migration test in two test and management servers.
5. a kind of method for verifying nfs server stability according to claim 4, it is characterised in that the migration is surveyed Pilot production uninterrupted test, the data that test process is produced are automatically saved in test and management server;After test terminates, lead to Cross the stability that the test data automatically saved carrys out labor nfs server.
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 CN104765668A (en) 2015-07-08
CN104765668B true 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)

Families Citing this family (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
CN108920936B (en) * 2018-06-26 2021-11-26 郑州云海信息技术有限公司 Method and device for achieving vmware authentication based on Purley platform

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Family Cites Families (1)

* 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

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Also Published As

Publication number Publication date
CN104765668A (en) 2015-07-08

Similar Documents

Publication Publication Date Title
CN104765668B (en) A kind of method for verifying nfs server stability
EP3149591B1 (en) Tracking application deployment errors via cloud logs
US9218197B2 (en) Virtual machine image migration
CN103530162B (en) The method and system that the on-line automatic software of a kind of virtual machine is installed
CN102413010B (en) Testing environment deployment method and device
CN102866950B (en) A kind of performance test methods of virtual server and testing tool
CN103514023A (en) Method and system for off-line and automatically installing software of virtual machine
CN103502942A (en) Virtual machine administration device, virtual machine administration method, and program thereof
EP3230865B1 (en) Recovery execution system using programatic generation of actionable workflows
US20120197624A1 (en) System and method for managing a storage array using simulation
CN105589928A (en) Simulation testing method for distributed data processing system
CN104572467A (en) Method for testing performance of virtual platform database of server
CN105183641A (en) Data consistency check method and system for kernel module
CN102750203A (en) Linux-based rapid deploying method
US9619154B2 (en) Computer system, data management method, and host computer
CN104052632B (en) Equipment automatization method of testing and device based on virtual serial port server
CN101968765B (en) Software version detection method of large sized weaponry informatization system
CN104717091B (en) Server quality verification method and system
CN108170588A (en) A kind of test environment building method and device
CN106383773A (en) Method and device for monitoring redis database
CN102682038A (en) Database change method and device
CN110618884A (en) Fault monitoring method, virtualized network function module manager and storage medium
CN104572376A (en) Method for verifying server in compliance with vSAN standard
Maenhaut et al. Efficient resource management in the cloud: From simulation to experimental validation using a low‐cost Raspberry Pi testbed
CN107835106A (en) A kind of method and system of checking ISCSI storage server stability

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