CN107070747A - A kind of method of the automatic test network interface card network connection stability under network card binding pattern - Google Patents

A kind of method of the automatic test network interface card network connection stability under network card binding pattern Download PDF

Info

Publication number
CN107070747A
CN107070747A CN201710229772.6A CN201710229772A CN107070747A CN 107070747 A CN107070747 A CN 107070747A CN 201710229772 A CN201710229772 A CN 201710229772A CN 107070747 A CN107070747 A CN 107070747A
Authority
CN
China
Prior art keywords
network
interface card
network interface
card
test
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
CN201710229772.6A
Other languages
Chinese (zh)
Other versions
CN107070747B (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.)
Suzhou Inspur Intelligent Technology Co Ltd
Original Assignee
Guangdong Inspur Big Data Research 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 Guangdong Inspur Big Data Research Co Ltd filed Critical Guangdong Inspur Big Data Research Co Ltd
Priority to CN201710229772.6A priority Critical patent/CN107070747B/en
Publication of CN107070747A publication Critical patent/CN107070747A/en
Application granted granted Critical
Publication of CN107070747B publication Critical patent/CN107070747B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • H04L43/0811Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking connectivity
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/069Management of faults, events, alarms or notifications using logs of notifications; Post-processing of notifications

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The present invention provides device, the system and method for test network interface card network connectivity energy under a kind of network card binding pattern.This programme is under Linux system, configure the binding of network interface card active-standby mode, and it is connected to exchange generator terminal, detection is each time during system reboot, network connection after network card chip and every configuration initialization sets up situation, using this method test can be achieved test result comprehensively, it is accurate, and simply, it is easy to operate.The network connection of evaluating server platform network interface card sets up whether performance is stablized whereby.

Description

A kind of automatic test network interface card network connection stability under network card binding pattern Method
Technical field
The present invention relates to network connection survey technology, and in particular to a kind of network interface card network connection surveys device, system and method.
Background technology
Within network nodes, it is the stability of pursuit data transfer, network interface card is more and more done to the binding of active-standby mode Processing, active-standby mode is that only one of which equipment is active, when one break down another at once by backup conversion based on set Standby, from the outside apparently, bond MAC Address is unique, to avoid switch (interchanger) from occurring confusion, so as to provide The availability of high network connection.
Therefore, when server apparatus hardware product is researched and developed, it is also desirable to strengthen the test to the stable connection performance of network interface card. When network interface card is in restarting process, the stability problem of the network connection caused in its network card control chip initialization procedure is also required to Strengthen concern.After the conventional internuncial method of testing of network interface card is, it is necessary to which two-server equipment interconnect and configured parameter, The connectivity test commands such as executable ping, process is cumbersome and expends resource;And when network card configuration is active and standby binding pattern, pass The method of testings such as the ping of system will be unable to detect whether that active and standby network interface is all connected normally.
The content of the invention
In order to solve the above technical problems, technical scheme is as follows:
In a first aspect, the present invention provides a kind of device of test network interface card network connectivity energy under network card binding pattern, including Active-standby mode binding module, Server Restart control module, network interface card information collection module, processing module, active-standby mode binding mould Block is used to do network card equipment under linux system network card binding setting, and Server Restart control module is used for configuration server Circulation is restarted, and network interface card information collection module is used to the network connection status of network interface card is monitored and recorded, when discovery network connects It can immediately terminate and restart when connecing exception, and collector journal information, processing module is for controlling active-standby mode binding module, server Control module, the work of network interface card information collection module are restarted, before testing begins by two nets of the network card equipment bound Mouth is connected to the network device interface end of same size.
Further, need to log in (SuSE) Linux OS before the test of network interface card network connection performance and obtain root authority.
Further, the test of network interface card network connection performance completes to implement after network interface card recognizes test substantially.
Further, network device interface end is interchanger.
Further, network interface card information collection module passes through shell script collection network interface card log informations.
Second aspect, the system that the present invention provides test network interface card network connectivity energy under a kind of network card binding pattern, including The device and the network equipment of automatic test network interface card network connection performance, the network interface card bound under above-mentioned network card binding pattern Two network interface connections of equipment are to the network device interface end of same size.
Further, the network equipment is interchanger, and the interchanger is integrated in the device of test network interface card network connectivity energy It is internal.
The third aspect, the method that the present invention provides test network interface card network connectivity energy under a kind of network card binding pattern, including Following steps:
SS1:(SuSE) Linux OS is logged in, network card binding setting is done to network card equipment;
SS2:By two network interface connections of the network card equipment bound to the network device interface end of same size;
SS3:Configuration server is restarted;
SS4:The network connection status of network interface card is monitored and recorded, when network connection is normal, collector journal information And return to step SS3;It can immediately terminate and restart when finding that network connection is abnormal, collector journal information.
Further, log in needs to obtain root authority after Linux operations system, and the test of network interface card network connection performance completes net Implement after the basic identification test of card.
Further, network device interface end is interchanger or server, and network interface card information collection module passes through shell scripts Collect network interface card log information.
The connective stability of two network interfaces under network card binding pattern can be fast and effectively verified by such scheme, is protected Hinder the safe operation of server.
Brief description of the drawings
Fig. 1 shows that the level of uninterrupted power source I fonts three of the present invention limits by force formation picture of device.
Fig. 2 shows network interface card network connection test system pie graph of the present invention.
Fig. 3 shows network interface card network connection method of testing flow chart of the present invention.
Embodiment
Technical scheme is further illustrated below in conjunction with Figure of description and specific embodiment.It should be appreciated that this The specific embodiment of place description is not intended to limit the present invention only to explain the present invention.
Main thought of the present invention is:
This method is based on the shell scripts under (SuSE) Linux OS.Network interface card is done under linux system to network card equipment to tie up Fixed to set, by the network device interface end of bind two network interface connections to same size, and configuration server is circulated and restarted, The network connection status of network interface card is observed and recorded simultaneously, can immediately terminate and restart when finding that network connection is abnormal, and Collector journal information.
Embodiment is as follows:
Fig. 1 is network interface card network connection test device pie graph of the present invention.
As shown in figure 1, the device of automatic test network interface card network connection performance includes active-standby mode under network card binding pattern Binding module, Server Restart control module, network interface card information collection module, processing module, active-standby mode binding module are used for Network card binding setting is done under linux system to network card equipment, Server Restart control module is used for configuration server circulation and restarted, Network interface card information collection module is used to the network connection status of network interface card is monitored and recorded, the meeting when finding that network connection is abnormal Terminate and restart immediately, and collector journal information, processing module is for controlling active-standby mode binding module, Server Restart control mould The work of block, network interface card information collection module, before testing begins by two network interface connections of the network card equipment bound to phase The network device interface end of same specification.
According to one embodiment of the invention, need to log in (SuSE) Linux OS before the test of network interface card network connection performance and obtain Obtain root authority.
According to one embodiment of the invention, the test of network interface card network connection performance is general to recognize test substantially in completion network interface card After implement.
According to one embodiment of the invention, network device interface end can be interchanger or server.
According to one embodiment of the invention, network interface card information collection module passes through shell script collection network interface card log informations, pin This is as follows:
Fig. 2 is network interface card network connection test system pie graph of the present invention.
As shown in Fig. 2 the system of automatic test network interface card network connection performance includes network card binding under network card binding pattern The device and the network equipment of automatic test network interface card network connection performance under pattern, two network interfaces of the network card equipment bound It is connected to the network device interface end of same size.
According to one embodiment of the invention, the network equipment can be integrated in automatic test network interface card net under network card binding pattern The inside of the device of network switching performance.
Fig. 3 is network interface card network connection method of testing flow chart of the present invention, for implementing above-mentioned network interface card network connection test system The test united to server network interface card.
As shown in figure 3, the method for automatic test network interface card network connection performance includes less than one step under network card binding pattern Suddenly:
SS1:(SuSE) Linux OS is logged in, network card binding setting is done to network card equipment;
SS2:By two network interface connections of the network card equipment bound to the network device interface end of same size;
SS3:Configuration server is restarted;
SS4:The network connection status of network interface card is monitored and recorded, when network connection is normal, collector journal information And return to step SS3;It can immediately terminate and restart when finding that network connection is abnormal, collector journal information.
According to one embodiment of the invention, need to obtain root authority, network interface card network connection performance after logging in Linux operations system Test is general to be completed to implement after network interface card recognizes test substantially.
According to one embodiment of the invention, network device interface end can be interchanger or server.
According to one embodiment of the invention, network interface card information collection module passes through shell script collection network interface card log informations.
This programme is the configuration network interface card active-standby mode binding under Linux system, and is connected to exchange generator terminal, is detected each In subsystem restarting process, the network connection after network card chip and every configuration initialization sets up situation.Surveyed using this method Examination can be achieved test result comprehensively, it is accurate, and simply, it is easy to operate.The network connection of evaluating server platform network interface card is set up whereby Whether performance is stablized.
This programme need to only configure a server, and opposite end can connect interchanger, and complexity is simplified, and save server money Source.And the method is applied to all network card equipments of industry, and all main flow linux operating systems.Coverage test is in network card binding Under state, the influence that network card chip and configuration initialization in machine restarting process can be set up to network connection;To exclude network The hidden danger of connection can not be set up.The program improves Test coverage degree in testing, and has been applied to the network connection of network interface card Set up in the test of performance.
Although in terms of having been described for some in the context of device, it is apparent that these aspects also illustrate that corresponding method Description, wherein block or apparatus and method for step or the feature of method and step be corresponding.Similarly, in the context of method and step Described in each side also illustrate that the description of corresponding piece or project or the feature of corresponding intrument.(or use) can be passed through Hardware unit such as microprocessor, programmable calculator or electronic circuit etc is some or all of in method and step to perform. Can be performed by such device in most important method and step some or it is multiple.
The realization can using hardware or using software or can use for example floppy disk, DVD, blue light, CD, ROM, PROM, EPROM, EEPROM's or flash memory etc there is the stored digital for being stored in electronically readable control signal thereon to be situated between Matter is performed, and the electronically readable control signal coordinates (or with it can coordinate) to perform with programmable computer system Corresponding method.The data medium with electronically readable control signal can be provided, the electronically readable control signal can be with Programmable computer system coordinates to perform approach described herein.
The realization can also use the form of the computer program product with program code, work as computer program product When running on computers, program code is operated to perform this method.Can in machine-readable carrier storage program generation Code.
Described above be only it is illustrative, and it is to be understood that it is described herein arrangement and details modification and Change will be apparent to those skilled in the art.It is therefore intended that only by scope of the following claims rather than by The specific detail that is presented is limited above description and by way of explaining.

Claims (10)

1. the device of network interface card network connectivity energy is tested under a kind of network card binding pattern, it is characterised in that tie up including active-standby mode Cover half block, Server Restart control module, network interface card information collection module, processing module, active-standby mode binding module are used for Network card binding setting is done under linux system to network card equipment;Server Restart control module is used for configuration server circulation and restarted; Network interface card information collection module is used to the network connection status of network interface card is monitored and recorded, the meeting when finding that network connection is abnormal Terminate and restart immediately, and collector journal information;Processing module is used to control active-standby mode binding module, Server Restart control mould The work of block, network interface card information collection module;Before testing begins by two network interface connections of the network card equipment bound to phase The network device interface end of same specification.
2. the device of test network interface card network connectivity energy according to claim 1, it is characterised in that network interface card network connectivity Need to log in (SuSE) Linux OS before testing and obtain root authority.
3. the device of test network interface card network connectivity energy according to claim 1, it is characterised in that network interface card network connectivity Can test implementation after completion network interface card recognizes test substantially.
4. the device of test network interface card network connectivity energy according to claim 1, it is characterised in that network device interface end For interchanger.
5. the device of test network interface card network connectivity energy according to claim 1, it is characterised in that network interface card information collects mould Block passes through shell script collection network interface card log informations.
6. the system of network interface card network connectivity energy is tested under a kind of network card binding pattern, it is characterised in that including claim 1-5 The device and the network equipment of automatic test network interface card network connection performance under network card binding pattern described in any one, binding Two network interface connections of good network card equipment are to the network device interface end of same size.
7. the system of test network interface card network connectivity energy according to claim 6, it is characterised in that the network equipment is exchange Machine, the interchanger is integrated in the inside of the device of test network interface card network connectivity energy.
8. the method for network interface card network connectivity energy is tested under a kind of network card binding pattern, it is characterised in that comprise the following steps:
SS1:(SuSE) Linux OS is logged in, network card binding setting is done to network card equipment;
SS2:By two network interface connections of the network card equipment bound to the network device interface end of same size;
SS3:Configuration server is restarted;
SS4:The network connection status of network interface card is monitored and recorded, when network connection is normal, collector journal information is simultaneously returned Return step SS3;It can immediately terminate and restart when finding that network connection is abnormal, collector journal information.
9. the method for test network interface card network connectivity energy according to claim 8, it is characterised in that log in Linux operations Need to obtain root authority after system, the test of network interface card network connection performance completes to implement after network interface card recognizes test substantially.
10. the method for test network interface card network connectivity energy according to claim 8, it is characterised in that network device interface Hold as interchanger or server, network interface card information collection module passes through shell script collection network interface card log informations.
CN201710229772.6A 2017-04-10 2017-04-10 Device, system and method for automatically testing network card network connection stability in network card binding mode Active CN107070747B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710229772.6A CN107070747B (en) 2017-04-10 2017-04-10 Device, system and method for automatically testing network card network connection stability in network card binding mode

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710229772.6A CN107070747B (en) 2017-04-10 2017-04-10 Device, system and method for automatically testing network card network connection stability in network card binding mode

Publications (2)

Publication Number Publication Date
CN107070747A true CN107070747A (en) 2017-08-18
CN107070747B CN107070747B (en) 2020-05-19

Family

ID=59603079

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710229772.6A Active CN107070747B (en) 2017-04-10 2017-04-10 Device, system and method for automatically testing network card network connection stability in network card binding mode

Country Status (1)

Country Link
CN (1) CN107070747B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108806222A (en) * 2018-03-09 2018-11-13 上海蜀瑞电子科技有限公司 Intelligent door lock method for connecting network and intelligent door lock
CN109743235A (en) * 2019-03-20 2019-05-10 浪潮商用机器有限公司 The method, apparatus and medium of the network performance of network interface card in a kind of network apparatus test
CN110213095A (en) * 2019-05-30 2019-09-06 苏州浪潮智能科技有限公司 The method and device of network card binding automatic configuration is realized based on Python
CN111147449A (en) * 2019-12-09 2020-05-12 杭州迪普科技股份有限公司 Method, device, system, equipment and medium for testing packet filtering strategy
CN111585845A (en) * 2020-05-15 2020-08-25 苏州浪潮智能科技有限公司 Method, device and equipment for detecting network card node performance and readable medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6529965B1 (en) * 2000-05-09 2003-03-04 3Com Corporation Method of detecting TCP/IP bindings of installed network interface cards present in a computer system
CN102055597A (en) * 2009-11-03 2011-05-11 中兴通讯股份有限公司 Stability test platform and method
US20120271961A1 (en) * 2011-03-08 2012-10-25 International Business Machines Corporation Automated protocol selection for host adapter card
CN104375910A (en) * 2014-11-24 2015-02-25 浪潮电子信息产业股份有限公司 Automated startup and shutdown testing method
CN104811353A (en) * 2015-05-05 2015-07-29 浪潮电子信息产业股份有限公司 Network card performance testing environment automatic setting-up method based on Linux system
CN105068900A (en) * 2015-07-27 2015-11-18 浪潮电子信息产业股份有限公司 Test method for remote control server cold reboot
CN105071982A (en) * 2015-07-16 2015-11-18 浪潮电子信息产业股份有限公司 Method for rapid measurement of performance of network card under Linux

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6529965B1 (en) * 2000-05-09 2003-03-04 3Com Corporation Method of detecting TCP/IP bindings of installed network interface cards present in a computer system
CN102055597A (en) * 2009-11-03 2011-05-11 中兴通讯股份有限公司 Stability test platform and method
US20120271961A1 (en) * 2011-03-08 2012-10-25 International Business Machines Corporation Automated protocol selection for host adapter card
CN104375910A (en) * 2014-11-24 2015-02-25 浪潮电子信息产业股份有限公司 Automated startup and shutdown testing method
CN104811353A (en) * 2015-05-05 2015-07-29 浪潮电子信息产业股份有限公司 Network card performance testing environment automatic setting-up method based on Linux system
CN105071982A (en) * 2015-07-16 2015-11-18 浪潮电子信息产业股份有限公司 Method for rapid measurement of performance of network card under Linux
CN105068900A (en) * 2015-07-27 2015-11-18 浪潮电子信息产业股份有限公司 Test method for remote control server cold reboot

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108806222A (en) * 2018-03-09 2018-11-13 上海蜀瑞电子科技有限公司 Intelligent door lock method for connecting network and intelligent door lock
CN109743235A (en) * 2019-03-20 2019-05-10 浪潮商用机器有限公司 The method, apparatus and medium of the network performance of network interface card in a kind of network apparatus test
CN110213095A (en) * 2019-05-30 2019-09-06 苏州浪潮智能科技有限公司 The method and device of network card binding automatic configuration is realized based on Python
CN111147449A (en) * 2019-12-09 2020-05-12 杭州迪普科技股份有限公司 Method, device, system, equipment and medium for testing packet filtering strategy
CN111585845A (en) * 2020-05-15 2020-08-25 苏州浪潮智能科技有限公司 Method, device and equipment for detecting network card node performance and readable medium
CN111585845B (en) * 2020-05-15 2021-08-31 苏州浪潮智能科技有限公司 Method, device and equipment for detecting network card node performance and readable medium
US11722392B2 (en) 2020-05-15 2023-08-08 Inspur Suzhou Intelligent Technology Co., Ltd. Network adapter node performance detection method and apparatus, device, and readable medium

Also Published As

Publication number Publication date
CN107070747B (en) 2020-05-19

Similar Documents

Publication Publication Date Title
CN107070747A (en) A kind of method of the automatic test network interface card network connection stability under network card binding pattern
CN101364193A (en) BIOS automatic recovery method and computer and system using the method
CN110879712A (en) Cloud data center physical host installation method and related device
US10630637B2 (en) Method for ascertaining an IP address and a MAC address of a unit under test mounted in a rack server
CN103731663B (en) The testing method of a kind of intelligent television and device
CN109510742A (en) A kind of server network interface card remote test method, device, terminal and storage medium
US20200252302A1 (en) System and Method for Remote Hardware Support Using Augmented Reality and Available Sensor Data
CN105204955A (en) Method and device for correcting faults of virtual machines
CN111813495A (en) Node testing method and device, storage medium and electronic device
CN110941520B (en) Hardware function test system and method based on two-out-of-two safety control unit
CN115525490A (en) Memory eye pattern testing method, hardware debugging equipment and storage medium
CN112000535A (en) SAS Expander card-based hard disk abnormity identification method and processing method
CN104657243A (en) Server and server detection method
CN109582324B (en) IC burning method and board card
CN112015689A (en) Serial port output path switching method, system and device and switch
CN109815070A (en) A kind of HOST-BOX server stability test method, apparatus, terminal and storage medium
CN108259895A (en) set-top box test method, system and terminal device
CN112015587B (en) Method and device for enhancing reliability of operating system
CN108985402B (en) RAID card information acquisition method and related device
CN106030544B (en) Method for detecting memory of computer equipment and computer equipment
CN110688130A (en) Physical machine deployment method, physical machine deployment device, readable storage medium and electronic equipment
CN106649011A (en) Detection method and detection device for server equipment
CN116303200A (en) PCIE equipment positioning management method, system, terminal and storage medium
CN113535578B (en) CTS test method, CTS test device and CTS test equipment
CN115168146A (en) Anomaly detection method and device

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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20200421

Address after: 215100 No. 1 Guanpu Road, Guoxiang Street, Wuzhong Economic Development Zone, Suzhou City, Jiangsu Province

Applicant after: SUZHOU LANGCHAO INTELLIGENT TECHNOLOGY Co.,Ltd.

Address before: 510000 Guangdong city of Guangzhou province Whampoa Tianhe District Road No. 163 Xiping Yunlu 9 layer A tower by 01 unit

Applicant before: GUANGDONG INSPUR BIG DATA RESEARCH Co.,Ltd.

GR01 Patent grant
GR01 Patent grant