CN104618190A - Shell-based network bandwidth testing method under cluster environment - Google Patents

Shell-based network bandwidth testing method under cluster environment Download PDF

Info

Publication number
CN104618190A
CN104618190A CN201510060912.2A CN201510060912A CN104618190A CN 104618190 A CN104618190 A CN 104618190A CN 201510060912 A CN201510060912 A CN 201510060912A CN 104618190 A CN104618190 A CN 104618190A
Authority
CN
China
Prior art keywords
test
nodes
environment
node
network bandwidth
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
CN201510060912.2A
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.)
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 CN201510060912.2A priority Critical patent/CN104618190A/en
Publication of CN104618190A publication Critical patent/CN104618190A/en
Pending legal-status Critical Current

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a shell-based network bandwidth testing method under a cluster environment, and belongs to the field of testing of cluster networks. The method comprises the steps of (1) examining the environment; (2) copying the testing program, iperf and netperf to the next folder of an operation system under the cluster environment, configuring all nodes to be ssh to login the environment without password, wherein all nodes can be operated and managed from any node; sequencing all nodes and all network ports; (3) presetting the parameters of all nodes; (4) examining the preset parameters; (5) operating and testing; (6) processing the result, namely, further concluding and processing the test results according to the node sequence; removing the test files created in program operation, and then finishing the test. According to the method, the functions of presetting the parameters, automatically testing, and concluding and recording the test results are achieved; the miscellaneous result processing is avoided; the operation and running are simple and easy; the whole process is out of people on duty, and therefore, the testing efficiency is greatly increased.

Description

A kind of method based on test network bandwidth under the cluster environment of shell
Technical field
The present invention discloses a kind of method of test network bandwidth, belongs to cluster network field tests, specifically a kind of method based on test network bandwidth under the cluster environment of shell.
Background technology
The network bandwidth refers within a regular time (1 second), by maximum number of digits certificate.Current operation one or more computer in a local network and database management system software together constitute data server, data server provides service for Client application, along with the generation of large data age, it has certain difference on data pressure and network bandwidth requirements, along with the change of time, also will there is certain change in data pressure and network bandwidth requirements.And the network bandwidth is as the important indicator weighing Internet Use, be day by day subject to the common concern of people.It is not only the important evidence of government or unit formulation network service development tactics, is also that one of principal element of Internet access service business is selected by Internet user and unit.During the network bandwidth under current test computer cluster environment, because node is numerous, the factors such as the network port enormous amount that need test, disposes difficulty, unified operation inconvenience, affect testing efficiency greatly.In order to make up the disappearance of this respect testing tool and method of testing, realize special under cluster environment, a unified remote control terminal deployed environment, accurately test, the invention provides a kind of method based on test network bandwidth under the cluster environment of shell, by the parameter preset of test, automatically perform test, function such as conclusion logging test results etc., without the need to lengthy and jumbled result treatment, realization operates, it is simple and easy to run, omnidistance unattended operation; Can predefined parameter before test, apply unrestricted; The data of record are detailed, grasp test machine situation by data; Solve at present under cluster environment because node is numerous, dispose difficulty, the problem of the disappearance of the testing method and tool that the factors such as unified operation inconvenience cause, possesses very strong applicability, be applicable to the type be generalized to widely under various cluster environment, greatly improve testing efficiency.
Summary of the invention
When the present invention is directed to the network bandwidth under current test computer cluster environment, because node is numerous, the network port enormous amount that need test, dispose difficulty, the factors such as unified operation inconvenience, affect the problem of testing efficiency greatly, a kind of method based on test network bandwidth under the cluster environment of shell is provided, be applicable to current linux operating system, realize operation, run simple and easy, omnidistance unattended operation; Can predefined parameter before test, apply unrestricted; The data of record are detailed, grasp test machine situation, possess very strong applicability by data, are applicable to being generalized to widely the type under various cluster environment, greatly improve testing efficiency.
The concrete scheme that the present invention proposes is:
Based on a method for test network bandwidth under the cluster environment of shell, concrete steps are:
1. environmental test: ensure that all nodes are in a cluster environment, and all nodes are based on the operating system of linux kernel; The network port for all nodes carries out checking that whether state in place is normal, and to effective port distributing IP address, checking is connective;
2. under cluster environment, under test program and iperf, netperf being copied to any file of operating system; All Joint Enterprise are that ssh exempts from code entry environment, all can carry out operational administrative to all nodes from any node, then to all nodes and the sequence of overall network port;
3. the parameter of all nodes is pre-seted;
4. the parameter pre-seted is checked whether be satisfactory parameter preset, test run environment checked, with or without the test environment met the demands;
By an all node of node remote operation when 5. running, according to the parameter pre-seted satisfied condition, different node, heterogeneous networks port are carried out respectively to the test of the network bandwidth, each test result according to sequence of event in test record; As the situation that Internet Transmission interrupts detected, timely output display, marks according to node sequence and network port sequence;
6. result treatment: concluding process further according to node sequence, the test file created in clear program running to testing the result drawn, terminating test.
Described step 3. in pre-set all nodes parameter comprise the overall network port IP address of all nodes, the transport block size needed for test network bandwidth, test required time, host-host protocol.
Described step 3. in the host-host protocol that pre-sets be TCP, UDP two kinds of host-host protocols, carry out loop test.
Usefulness of the present invention is: this method of testing is mainly realized by test program, has parameter preset, automatically performs test, concludes the functions such as logging test results.Without the need to lengthy and jumbled result treatment, greatly save the testing time, improve testing efficiency.Make up at present under cluster environment because node is numerous, dispose difficulty, the defects such as the disappearance of the testing method and tool that the factors such as unified operation inconvenience cause; Operation, run simple and easy, omnidistance unattended operation, possesses very strong applicability, is applicable to being generalized to widely the type under various cluster environment.
Embodiment
The test machine setup test of some the network switchs and some installation linux operating systems, software test is surrounded by: iperf, netperf Wireless Test Toolset, can test under general room temperature.
Based on a method for test network bandwidth under the cluster environment of shell, concrete steps are:
1. environmental test: ensure that all nodes are in a cluster environment, and all nodes are based on the operating system of linux kernel; The network port for all nodes carries out checking that whether state in place is normal, and to effective port distributing IP address, checking is connective;
2. under cluster environment, under test program and iperf, netperf being copied to any file of operating system; All Joint Enterprise are that ssh exempts from code entry environment, all can carry out operational administrative to all nodes from any node, then to all nodes and the sequence of overall network port;
3. the parameter of all nodes is pre-seted; Comprise the overall network port IP address of all nodes, the transport block size needed for test network bandwidth, test required time, host-host protocol; The host-host protocol pre-seted is TCP or UDP two kinds of host-host protocols, carries out loop test;
4. the parameter pre-seted is checked whether be satisfactory parameter preset, test run environment checked, with or without the test environment met the demands;
By an all node of node remote operation when 5. running, according to the parameter pre-seted satisfied condition, different node, heterogeneous networks port are carried out respectively to the test of the network bandwidth, each test result according to sequence of event in test record; As the situation that Internet Transmission interrupts detected, timely output display, marks according to node sequence and network port sequence;
6. result treatment: concluding process further according to node sequence, the test file created in clear program running to testing the result drawn, terminating test.
Test the data obtained is as follows:
[ 3] local 192.168.1.2 port 39873 connected with 192.168.1.1 port 5001
[ ID] Interval Transfer Bandwidth
[ 3] 0.0- 2.0 sec 111 MBytes 465 Mbits/sec
[ ID] Interval Transfer Bandwidth
[ 3] 2.0- 4.0 sec 91.9 MBytes 386 Mbits/sec
[ ID] Interval Transfer Bandwidth
[ 3] 4.0- 6.0 sec 91.9 MBytes 385 Mbits/sec
[ ID] Interval Transfer Bandwidth
[ 3] 6.0- 8.0 sec 91.8 MBytes 385 Mbits/sec
[ ID] Interval Transfer Bandwidth
[ 3] 8.0-10.0 sec 91.5 MBytes 384 Mbits/sec
[ ID] Interval Transfer Bandwidth
[ 3] 249960.0-249962.0 sec 83.0 MBytes 348 Mbits/sec
[ ID] Interval Transfer Bandwidth
[ 3] 249962.0-249964.0 sec 82.5 MBytes 346 Mbits/sec
[ ID] Interval Transfer Bandwidth
[ 3] 0.0-249964.1 sec 10842837180416 bits 347 Mbits/sec
Data after completing according to test, check test result file under controller, and record testing time, transmission result in file record, the anomalies such as deadlock, power down or blue screen, do not appear in test machine stable operation in whole test process.

Claims (3)

1., based on a method for test network bandwidth under the cluster environment of shell, it is characterized in that concrete steps are:
1. environmental test: ensure that all nodes are in a cluster environment, and all nodes are based on the operating system of linux kernel; The network port for all nodes carries out checking that whether state in place is normal, and to effective port distributing IP address, checking is connective;
2. under cluster environment, under test program and iperf, netperf being copied to any file of operating system; All Joint Enterprise are that ssh exempts from code entry environment, all can carry out operational administrative to all nodes from any node, then to all nodes and the sequence of overall network port;
3. the parameter of all nodes is pre-seted;
4. the parameter pre-seted is checked whether be satisfactory parameter preset, test run environment checked, with or without the test environment met the demands;
By an all node of node remote operation when 5. running, according to the parameter pre-seted satisfied condition, different node, heterogeneous networks port are carried out respectively to the test of the network bandwidth, each test result according to sequence of event in test record; As the situation that Internet Transmission interrupts detected, timely output display, marks according to node sequence and network port sequence;
6. result treatment: concluding process further according to node sequence, the test file created in clear program running to testing the result drawn, terminating test.
2. a kind of method based on test network bandwidth under the cluster environment of shell according to claim 1, the parameter that it is characterized in that pre-seting during described step 3. all nodes comprises the overall network port IP address of all nodes, the transport block size needed for test network bandwidth, test required time, host-host protocol.
3. a kind of method based on test network bandwidth under the cluster environment of shell according to claim 2, is characterized in that the host-host protocol pre-seted during described step is 3. TCP, UDP two kinds of host-host protocols, carries out loop test.
CN201510060912.2A 2015-02-04 2015-02-04 Shell-based network bandwidth testing method under cluster environment Pending CN104618190A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510060912.2A CN104618190A (en) 2015-02-04 2015-02-04 Shell-based network bandwidth testing method under cluster environment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510060912.2A CN104618190A (en) 2015-02-04 2015-02-04 Shell-based network bandwidth testing method under cluster environment

Publications (1)

Publication Number Publication Date
CN104618190A true CN104618190A (en) 2015-05-13

Family

ID=53152481

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510060912.2A Pending CN104618190A (en) 2015-02-04 2015-02-04 Shell-based network bandwidth testing method under cluster environment

Country Status (1)

Country Link
CN (1) CN104618190A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106161144A (en) * 2016-07-26 2016-11-23 浪潮电子信息产业股份有限公司 The method of test Smart Rack equipment cabinet server network performance
CN107181626A (en) * 2017-07-18 2017-09-19 郑州云海信息技术有限公司 Distributed storage group system network bandwidth monitoring method and system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103294579A (en) * 2013-06-09 2013-09-11 浪潮电子信息产业股份有限公司 Method for testing high-performance computing cluster application performance
CN103581289A (en) * 2012-08-09 2014-02-12 国际商业机器公司 Method and system conducive to service provision and coordination of distributed computing system
CN104182288A (en) * 2014-08-18 2014-12-03 浪潮电子信息产业股份有限公司 Method for automatically testing power consumption of server cluster system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103581289A (en) * 2012-08-09 2014-02-12 国际商业机器公司 Method and system conducive to service provision and coordination of distributed computing system
CN103294579A (en) * 2013-06-09 2013-09-11 浪潮电子信息产业股份有限公司 Method for testing high-performance computing cluster application performance
CN104182288A (en) * 2014-08-18 2014-12-03 浪潮电子信息产业股份有限公司 Method for automatically testing power consumption of server cluster system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
张治军: ""网络管理连通性检测技术研究与实现"", 《中国优秀硕士学位论文全文数据库信息科技辑》 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106161144A (en) * 2016-07-26 2016-11-23 浪潮电子信息产业股份有限公司 The method of test Smart Rack equipment cabinet server network performance
CN107181626A (en) * 2017-07-18 2017-09-19 郑州云海信息技术有限公司 Distributed storage group system network bandwidth monitoring method and system
CN107181626B (en) * 2017-07-18 2020-05-26 苏州浪潮智能科技有限公司 Method and system for monitoring network bandwidth of distributed storage cluster system

Similar Documents

Publication Publication Date Title
CN108600029B (en) Configuration file updating method and device, terminal equipment and storage medium
US20210194932A1 (en) Network asset characterization, classification, grouping and control
US8464219B1 (en) Scalable control system for test execution and monitoring utilizing multiple processors
JP2018014104A (en) Process control communication between asset management system and portable field maintenance tools
CN107800565B (en) Inspection method, inspection device, inspection system, computer equipment and storage medium
CN116472592A (en) System and method for remote monitoring and control of electrochromic glazing
WO2019075773A1 (en) Data processing method and apparatus, computer device and storage medium
CN102104500A (en) Automatic network management equipment abnormity restoring method
CN109361585A (en) A kind of method that child node baud rate and address is arranged in host node automatically
CN104468201A (en) Automatic deleting method and device for offline network equipment
US20220345371A1 (en) Control configuration for a plurality of endpoint devices
CN102970376A (en) Cluster configuration method and device
CN104618190A (en) Shell-based network bandwidth testing method under cluster environment
CN104378231A (en) Control system and control method for enterprise wireless router
CN105337781A (en) Network management system and method and network system
CN111026662A (en) Remote debugging method, system and medium for terminal equipment of Internet of things
CN114089711B (en) Industrial equipment control management method, electronic equipment and storage medium
CN106603624B (en) Data mining system and implementation method thereof
CN106034036B (en) Server state detecting real-time method and system, terminal installation
KR20180046615A (en) Apparatus and method for collecting data of field device in industrial control system
CN114679472A (en) Communication system, method, apparatus, storage medium, and electronic device
CN113886665A (en) Automatic operation and maintenance method, device, equipment and storage medium
CN110768855B (en) Method and device for testing linkmzation performance
CN113315830A (en) Data transmission method of data engineering machine for industrial internet
CN116015804B (en) Trusted connector, industrial flow control system and method based on zero trust

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into 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: 20150513