CN103152215A - Testing system and testing method of data center - Google Patents

Testing system and testing method of data center Download PDF

Info

Publication number
CN103152215A
CN103152215A CN 201110401186 CN201110401186A CN103152215A CN 103152215 A CN103152215 A CN 103152215A CN 201110401186 CN201110401186 CN 201110401186 CN 201110401186 A CN201110401186 A CN 201110401186A CN 103152215 A CN103152215 A CN 103152215A
Authority
CN
China
Prior art keywords
test
server
test file
data center
testing
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
CN 201110401186
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.)
Hongfujin Precision Industry Shenzhen Co Ltd
Hon Hai Precision Industry Co Ltd
Original Assignee
Hongfujin Precision Industry Shenzhen Co Ltd
Hon Hai Precision 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 Hongfujin Precision Industry Shenzhen Co Ltd, Hon Hai Precision Industry Co Ltd filed Critical Hongfujin Precision Industry Shenzhen Co Ltd
Priority to CN 201110401186 priority Critical patent/CN103152215A/en
Publication of CN103152215A publication Critical patent/CN103152215A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

The invention provides a data testing system and a testing method of a data center. The testing method comprises the steps: testing servers; obtaining a unique identifier which corresponds to each server; generating testing files according to testing results, and naming the testing files according to the obtained unique identifier which corresponds to each server; recognizing the testing files which correspond to the different servers through the file names of the testing files, analyzing content of the testing files, obtaining the testing results, corresponding to the servers, of the testing files, and monitoring the multiple servers in the data center according to the testing results.

Description

Data center's test macro and method of testing
Technical field
The present invention relates to a kind of data center test macro and method of testing.
Background technology
Along with the development of information technology, for the demand rapid growth of the disposal ability of data center, data security etc.Data center generally includes a large amount of servers, and the stability of these servers is the important leverage of a data centre data safety.Therefore, usually need to test stability of those servers etc.At present some mode is for to be connected communication with those servers in wired or wireless mode by a testing apparatus, and the test file that receives those server tests generations is analyzed the stability of those servers.Yet, in the process that these servers are tested, because each server all adopts identical test program, therefore the title that generates test file is also identical, thereby the testing apparatus that is connected with those servers can't receive simultaneously from the test file of each server and each test file is analyzed, need the title of changing one by one test file manually, thereby testing efficiency is lower.
Summary of the invention
In order to address the above problem, the invention provides a kind of data center test macro and method of testing.This data center's test macro is applied to by a testing apparatus and is arranged in the system that the multiple servers of high in the clouds data center forms, those servers communicate by wired or wireless network and this testing apparatus, wherein, the unique identifier of every station server equal corresponding.This data center's test macro comprises: a test module is used for this server is tested; One address acquisition module is used for obtaining unique identifier corresponding to this server; One test file generation module, be used for generating test file according to the test result of this test module, and unique identifier corresponding to this server that gets according to this address acquisition module name this test file, and the test file that makes every station server produce is unique corresponding with this server; The test result analysis module is identified test file corresponding to different servers by the filename of test file, and according to the content analysis test result of test file, thereby multiple servers in this data center is monitored.
This method of testing comprises step: this server is tested; Obtain unique identifier corresponding to this server; Generate test file according to test result, and the unique identifier corresponding according to this this server that gets named to this test file; Identify test file corresponding to different servers by the filename of test file, and the content of those test files is analyzed, draw respectively the test result of those test file corresponding with service devices, and according to test result, multiple servers in this data center is monitored.
Data center's test macro in the present invention and method of testing are corresponding with the server unique identifier with the name of test file, distinguish with this test file with different server, make the testing apparatus that is connected with those servers can receive simultaneously from the test file of each server and each test file is analyzed, improved the efficient of test.
Description of drawings
Fig. 1 is the configuration diagram of data center's test macro in an embodiment of the present invention.
Fig. 2 is that in an embodiment of the present invention, test file generates method flow diagram.
The main element symbol description
Data center's test macro 100
Testing apparatus 10
Server 20
Test module 201
Address acquisition module 202
The test file generation module 203
The test result analysis module 204
Following embodiment further illustrates the present invention in connection with above-mentioned accompanying drawing.
Embodiment
Below in conjunction with accompanying drawing, data center's test macro and method of testing in the present invention are described in further detail.
Please refer to Fig. 1, in the present invention's one better embodiment, data center's test macro 100 is applied to one by testing apparatus 10 and is arranged in the system that the multiple servers 20 of high in the clouds data center forms, this testing apparatus 10 communicates by wired or wireless network with those servers 20, wherein, the unique identifier of every station server 20 equal corresponding.In the present embodiment, the unique identifier of every station server 20 correspondences can be the fixed ip address of the machine, can be also by DHPC (Dynamic Host Configuration Protocol, DHCP) the IP address sent with charge free for those servers 20 of server (not shown), the unique identifier of these every station server 20 correspondences can also be the hardware identification codes such as CPU sequence number, memory bar sequence number.
This data center's test macro 100 comprises a test module 201, an address acquisition module 202, a test file generation module 203 and a test result analysis module 204.Wherein, part or all in those modules is arranged in this testing apparatus 10, for example, and this test module 201, address acquisition module 202, test file generation module 203, be arranged in every station server 20, this test result analysis module 204 is arranged in this testing apparatus 10.
This test module 201 is used for this server 20 is tested.Wherein, this test module 201 response users on the input unit (not shown) that is arranged on testing apparatus 10 or server 20 operation and carry out this test operation.
This address acquisition module 202 is used for obtaining the unique identifier of these server 20 correspondences.
This test file generation module 203 is used for generating test file according to the test result of this test module 201, and the unique identifier of these server 20 correspondences that get according to this address acquisition module 202 names this test file, and what make test file that every station server 20 produces is unique corresponding with this server 20.In the present embodiment, the test file that this test file generation module 203 generates is txt text formatting file, for example, the IP address that this address acquisition module 202 gets server 20 correspondences is: 192.168.0.1, this test file generation module 203 generates a test file according to test result, and with this test file called after: 192-168-0-1.txt.
This test result analysis module 204 is identified the test file of different servers 20 correspondences by the filename of test file, and the content of those test files is analyzed, draw respectively the test result of those test file corresponding with service devices 20, and according to test result, multiple servers 20 in this data center is monitored.In present embodiment, this testing apparatus 10 can be distinguished by filename those test files, analyzes simultaneously the test result that draws those servers 20, has improved testing efficiency.
See also Fig. 2, a kind of method of testing is applied in system that the multiple servers 20 of a testing apparatus 10 and high in the clouds data center forms, and this method of testing comprises:
S201: these test module 201 these servers 20 are tested.
S201: this address acquisition module 202 is obtained the unique identifier of these server 20 correspondences.
S203: this test file generation module 203 generates test file according to the test result of this test module 201, and the unique identifier of these server 20 correspondences that get according to this address acquisition module 202 is named this test file.
S204: this test result analysis module 204 is identified the test file of different servers 20 correspondences by the filename of test file, and the content of those test files is analyzed, draw respectively the test result of those test file corresponding with service devices 20, and according to test result, multiple servers 20 in this data center is monitored.
Although the preferred embodiment of the present invention is illustrated and describes, those skilled in the art will realize, and can make various changes and improvements, and these do not exceed true scope of the present invention.Therefore expectation, the present invention is not limited to the embodiment that disclosed conduct realizes the optimal mode that the present invention is contemplated, and all execution modes that the present invention includes have in the protection range of appended claims.

Claims (6)

1. data center's test macro, be applied to by a testing apparatus and be arranged in the system that the multiple servers of high in the clouds data center forms, those servers communicate by wired or wireless network and this testing apparatus, wherein, every station server is the unique identifier of correspondence one all, it is characterized in that, this data center's test macro comprises:
One test module is used for this server is tested;
One address acquisition module is used for obtaining unique identifier corresponding to this server;
One test file generation module, be used for generating test file according to the test result of this test module, and unique identifier corresponding to this server that gets according to this address acquisition module name this test file, and the test file that makes every station server produce is unique corresponding with this server;
The test result analysis module is identified test file corresponding to different servers by the filename of test file, and according to the content analysis test result of test file, thereby multiple servers in this data center is monitored.
2. data center as claimed in claim 1 test macro, is characterized in that, the unique identifier that this server is corresponding is the fixed ip address of the machine, and this test file generation module is named test file according to the fixed ip address of this server.
3. data center as claimed in claim 1 test macro, it is characterized in that, the unique identifier that this server is corresponding is the IP address of being sent with charge free for those servers by the DHPC server, and this test file generation module is sent with charge free to the IP address of server according to this test file is named.
4. data center as claimed in claim 1 test macro, it is characterized in that, the unique identifier that this server is corresponding is CPU sequence number or memory bar sequence number, and this test file generation module is named test file according to this CPU sequence number or memory bar sequence number.
5. data center as claimed in claim 1 test macro, is characterized in that, the test file that this test file generation module generates is txt text formatting file.
6. method of testing, be applied to by a testing apparatus and be arranged in the system that the multiple servers of high in the clouds data center forms, this testing apparatus is connected by wired or wireless network with a little servers and communicates, wherein, every station server is the unique identifier of correspondence one all, it is characterized in that, this method of testing comprises:
This server is tested;
Obtain unique identifier corresponding to this server;
Generate test file according to test result, and the unique identifier corresponding according to this this server that gets named to this test file;
Identify test file corresponding to different servers by the filename of test file, and the content of those test files is analyzed, draw respectively the test result of those test file corresponding with service devices, and according to test result, multiple servers in this data center is monitored.
CN 201110401186 2011-12-06 2011-12-06 Testing system and testing method of data center Pending CN103152215A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201110401186 CN103152215A (en) 2011-12-06 2011-12-06 Testing system and testing method of data center

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201110401186 CN103152215A (en) 2011-12-06 2011-12-06 Testing system and testing method of data center

Publications (1)

Publication Number Publication Date
CN103152215A true CN103152215A (en) 2013-06-12

Family

ID=48550090

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201110401186 Pending CN103152215A (en) 2011-12-06 2011-12-06 Testing system and testing method of data center

Country Status (1)

Country Link
CN (1) CN103152215A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106201867A (en) * 2016-06-29 2016-12-07 武汉斗鱼网络科技有限公司 Customizable automatic unit method of testing and system under a kind of Linux platform
CN106302002A (en) * 2016-07-29 2017-01-04 北京小米移动软件有限公司 Method of testing and device
CN107423176A (en) * 2017-06-30 2017-12-01 郑州云海信息技术有限公司 A kind of method of testing of internal memory, control terminal, server and system
CN108874881A (en) * 2018-05-04 2018-11-23 昆山丘钛微电子科技有限公司 A kind of detecting method, device, equipment and medium
CN111240951A (en) * 2020-02-16 2020-06-05 苏州浪潮智能科技有限公司 Data processing method and system in server stability test process

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106201867A (en) * 2016-06-29 2016-12-07 武汉斗鱼网络科技有限公司 Customizable automatic unit method of testing and system under a kind of Linux platform
CN106201867B (en) * 2016-06-29 2019-01-29 武汉斗鱼网络科技有限公司 Customized automatic unit test method and system under a kind of Linux platform
CN106302002A (en) * 2016-07-29 2017-01-04 北京小米移动软件有限公司 Method of testing and device
CN106302002B (en) * 2016-07-29 2019-10-01 北京小米移动软件有限公司 Test method and device
CN107423176A (en) * 2017-06-30 2017-12-01 郑州云海信息技术有限公司 A kind of method of testing of internal memory, control terminal, server and system
CN107423176B (en) * 2017-06-30 2021-06-29 郑州云海信息技术有限公司 Memory test method, control terminal, server and system
CN108874881A (en) * 2018-05-04 2018-11-23 昆山丘钛微电子科技有限公司 A kind of detecting method, device, equipment and medium
CN108874881B (en) * 2018-05-04 2021-01-26 昆山丘钛微电子科技有限公司 Point inspection method, device, equipment and medium
CN111240951A (en) * 2020-02-16 2020-06-05 苏州浪潮智能科技有限公司 Data processing method and system in server stability test process
CN111240951B (en) * 2020-02-16 2023-01-10 苏州浪潮智能科技有限公司 Data processing method and system in server stability test process

Similar Documents

Publication Publication Date Title
CN107766190B (en) Interface testing method and device, computer equipment and storage medium
CN109033471B (en) Information asset identification method and device
CN103152215A (en) Testing system and testing method of data center
CN106851513B (en) Method and system for testing electronic product
CN103198010A (en) Software testing method, device and system
CN102739428B (en) Method and device for data acquisition, and system
CN106878108B (en) Network flow playback test method and device
CN102684927A (en) Method and device for inspecting network device
CN108418727B (en) Method and system for detecting network equipment
CN104618521A (en) Node de-duplication in a network monitoring system
CN102999424B (en) Parallel remote automated testing method
WO2009067877A1 (en) Method and system for automatically debug-testing network device
CN103428249A (en) Collecting method and processing method for HTTP request packet, system and server
CN102571495B (en) Method and device for checking network topological structure for wire arrangement of printed circuit board
CN105530137A (en) Traffic data analysis method and traffic data analysis system
CN112671614A (en) Associated system connectivity test method, system, device and storage medium
CN112256503A (en) Test report generation method, device, equipment and computer readable storage medium
CN104517082B (en) Electric power data acquisition apparatus and method
CN103746827A (en) Method and system for automatic parameter identification in IEC101/104 protocol analysis
CN107483294B (en) Method and device for monitoring network request
CN103368786A (en) Test method and test device of controller area network bus data
CN103856373A (en) Web system robustness testing method based on HTTP mutation
CN105512020A (en) Method and device for test
TW201324123A (en) A data center test system and test method thereof
CN111131351B (en) Method and device for confirming model of Internet of things equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20130612