CN106452965B - A kind of method of automatic verifying network interface card NCSI stability - Google Patents

A kind of method of automatic verifying network interface card NCSI stability Download PDF

Info

Publication number
CN106452965B
CN106452965B CN201610934786.3A CN201610934786A CN106452965B CN 106452965 B CN106452965 B CN 106452965B CN 201610934786 A CN201610934786 A CN 201610934786A CN 106452965 B CN106452965 B CN 106452965B
Authority
CN
China
Prior art keywords
network interface
interface card
stability
usb flash
flash disk
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
CN201610934786.3A
Other languages
Chinese (zh)
Other versions
CN106452965A (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.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai Information Technology 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 Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201610934786.3A priority Critical patent/CN106452965B/en
Publication of CN106452965A publication Critical patent/CN106452965A/en
Application granted granted Critical
Publication of CN106452965B publication Critical patent/CN106452965B/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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Debugging And Monitoring (AREA)
  • Facsimiles In General (AREA)

Abstract

The invention discloses a kind of methods of automatic verifying network interface card NCSI stability, belong to computer card exploitation the field of test technology.The method of automatic verifying network interface card NCSI stability of the invention is based on pressurizeing to network data channels and management data channel simultaneously;In Windows system, use the sharelink connection BMC of network interface card, open remote control terminal by USB flash disk carry on the server, Run Script realizes that the automatic carry of USB flash disk and document move repeatedly automatically, it copies document back and forth between USB flash disk and server to pressurize to management data channel, while being pressurizeed using iperf tool to network data channels.The stability of the method energy accurate validation network interface card NCSI of the automatic verifying network interface card NCSI stability of the invention, and testing efficiency can be improved, manpower is saved, the cost of enterprise is reduced, there is good application value.

Description

A kind of method of automatic verifying network interface card NCSI stability
Technical field
The present invention relates to computer cards to develop the field of test technology, and it is stable specifically to provide a kind of automatic verifying network interface card NCSI The method of property.
Background technique
Computer has many advantages, such as that information memory capacity is big, user's acquisition information is convenient and efficient, by more and more people's Favor.With the further development of social economy, there has also been the raisings of matter for the properties of computer, while with IT technology It rapidly develops, with outer manageability and controllability, more stringent requirements are proposed to server by people.NCSI(Network Controller sideband interface) network controller side band interface is one and defined by distributed management task group The side band interface network controller for supporting server outband management industrial standard, by a Management Controller and multiple Network controller composition.It, can be anywhere by carrying out one in network connection to corresponding server by outband management The management and maintenance of series, and no longer need to stop in a fixed environment for a long time.NCSI refers to BMC(Baseboard Management Controller) baseboard management controller and extend LAN(extend local area network) channel is established, pass through The accessible BMC of extend LAN.Therefore BMC management function not only may be implemented by a network interface, but also network may be implemented and lead to Communication function.Not only administrative staff is facilitated to operate, while special mouth BMC can not be configured in laboratory Configuration network, saved Configuration resource (cable and interchanger etc.).The most important function of BMC is that console redirects (KVM), and major function is Realize the peripheral equipments such as long-range carry mirror image or USB flash disk, hard disk.During outband management, network interface card NCSI functional stabilization is It is very important.But still lack the method for capableing of accurate validation network interface card NCSI stability in the prior art, it cannot be guaranteed that in band The stability of network interface card NCSI, is further improved during outer management.
Summary of the invention
Technical assignment of the invention is in view of the above problems, to provide the stabilization of energy accurate validation network interface card NCSI a kind of Property, and testing efficiency can be improved, save manpower, the method for reducing the automatic verifying network interface card NCSI stability of entreprise cost.
To achieve the above object, the present invention provides the following technical scheme that
A kind of method of automatic verifying network interface card NCSI stability, the method for the automatic verifying network interface card NCSI stability are based on It pressurizes simultaneously to network data channels and management data channel;In Windows system, the sharelink connection of network interface card is used BMC, on the server by USB flash disk carry, Run Script realizes that the automatic carry of USB flash disk and document move repeatedly automatically to opening remote control terminal It is dynamic, it copies document back and forth between USB flash disk and server and pressurizes to management data channel, while using iperf tool to network Data channel is pressurizeed, and the verifying to network interface card NCSI stability is completed on the basis of not influencing network interface card network connecting function.
There are two channel, network data channels and the management being connected to by Sideband Interface agreement by network interface card NCSI Data channel.The principle of the method for automatic verifying network interface card NCSI stability of the present invention is to network data channels and management number It pressurizes simultaneously according to channel, tests its stability.In Windows system, by the good USB flash disk of KVM carry, pre-edit is good in USB flash disk Two documents will directly be run under two document copies to system in USB flash disk, be realized by USB flash disk document and local server back and forth Data are copied, the test to NCSI KVM connective stability can be realized.Simultaneously by network pressure tool iperf to network Data channel is pressurizeed, and the NCSI function that network interface card is opened in test does not interfere with the network Interface function of itself.
Preferably, the method for the automatic verifying network interface card NCSI stability specifically includes the following steps:
S1: two documents of editor are put into USB flash disk, and USB flash disk is inserted into the machine computer;
S2: pass through the long-range carry USB flash disk of the KVM of BCM;
S3: running batch processing document script under Windows system, copies two documents pair editted in USB flash disk back and forth Management data channel is pressurizeed;
S4: it is pressurizeed by iperf tool to network data channels.
Two documents edited in the USB flash disk are the document greater than several million.
Preferably, settable in step S3 copy well number, the copy errors then EOT end of test, and print copy errors Printed words prompt.
In this process, the number of copy is set, once copying in the operational process of the copy number of not up to setting Mistake then terminates test, while printing in screen the printed words prompt of copy failure, can allow operator promptly and accurately Grasp operating condition.
Preferably, the run data of iperf tool pressure process are output in txt document in step S4.
It can draw according to the data being output in txt document and check whether the adverse reaction of drop bandwidth.
Compared with prior art, the present invention has following prominent the utility model has the advantages that automatic verifying network interface card of the present invention The method of NCSI stability is under Windows system, based on the original pressurizeed simultaneously to network data channels and management data channel Reason completes the verifying to network interface card NCSI stability on the basis of not influencing network interface card network connecting function, and test accuracy is high, and And testing efficiency is higher, can save manpower to the full extent, reduces the cost of enterprise.
Detailed description of the invention
Fig. 1 is the flow diagram of the method for automatic verifying network interface card NCSI stability of the present invention.
Specific embodiment
Below in conjunction with drawings and examples, the method for automatic verifying network interface card NCSI stability of the invention is made further It is described in detail.
Embodiment
As shown in Figure 1, the method for automatic verifying network interface card NCSI stability of the invention is based on to network data channels and pipe Reason data channel is pressurizeed simultaneously;In Windows system, using the sharelink connection BMC of network interface card, remote control terminal is opened On the server by USB flash disk carry, Run Script realizes that the automatic carry of USB flash disk and document move repeatedly automatically, between USB flash disk and server Copy document pressurizes to management data channel back and forth, while being pressurizeed using iperf tool to network data channels, It does not influence to complete the verifying to network interface card NCSI stability on the basis of network interface card network connecting function.
Specifically includes the following steps:
S1: two documents of editor are put into USB flash disk, and USB flash disk is inserted into the machine computer.
Two documents edited in USB flash disk are the document greater than several million.
S2: pass through the long-range carry USB flash disk of the KVM of BCM.
The sharelink connection BMC of network interface card, then pass through the long-range carry USB flash disk of KVM of BCM, the document copy in USB flash disk is arrived It is directly run under system, realizes and data are copied by USB flash disk document and local server back and forth.
S3: running batch processing document script under Windows system, copies two documents pair editted in USB flash disk back and forth Management data channel is pressurizeed.
It is settable to copy number well, should during, not up to setting copy number operational process in once copy Mistake then terminates test, while printing in screen the printed words prompt of copy failure, can allow operator promptly and accurately Grasp operating condition.
The code of batch processing document script is as follows:
@echo off
set /a counter=0
set /p file1= Enter the path and file name of the first file:
set /p file2= Enter the path and file name of the second file:
mkdir %HOMEDRIVE%\temp
:LOOP
copy /y /v "%file1%" %HOMEDRIVE%\temp
IF %ERRORLEVEL% NEQ 0 goto ERROR
set /a counter=%counter%+1
echo %counter% copies complete
echo.
copy /y /v "%file1%" %HOMEDRIVE%\temp
IF %ERRORLEVEL% NEQ 0 goto ERROR
set /a counter=%counter%+1
echo %counter% copies complete
echo.
goto LOOP
:ERROR
echo.
echo Copy failed
echo.
pause。
S4: it is pressurizeed by iperf tool to network data channels.It can be by the run data of iperf tool pressure process It is output in txt document, according to the data being output in txt document, draws and check whether the adverse reaction of drop bandwidth.
Embodiment described above, the only present invention more preferably specific embodiment, those skilled in the art is at this The usual variations and alternatives carried out within the scope of inventive technique scheme should be all included within the scope of the present invention.

Claims (3)

1. a kind of method of automatic verifying network interface card NCSI stability, it is characterised in that: the automatic verifying network interface card NCSI stability Method be based on to network data channels and management data channel pressurize simultaneously;In Windows system, network interface card is used Sharelink connection BMC opens remote control terminal for USB flash disk carry on the server, Run Script realize the automatic carry of USB flash disk and Document moves repeatedly automatically, copies document back and forth between USB flash disk and server and pressurizes to management data channel, uses simultaneously Iperf tool pressurizes to network data channels, completes on the basis of not influencing network interface card network connecting function to network interface card The verifying of NCSI stability;The method of the automatic verifying network interface card NCSI stability specifically includes the following steps:
S1: two documents of editor are put into USB flash disk, and USB flash disk is inserted into the machine computer;
S2: pass through the long-range carry USB flash disk of the KVM of BCM;
S3: running batch processing document script under Windows system, copies two documents editted in USB flash disk back and forth to management Data channel is pressurizeed;
S4: it is pressurizeed by iperf tool to network data channels.
2. the method for automatic verifying network interface card NCSI stability according to claim 1, it is characterised in that: can be set in step S3 It sets and copies number, the copy errors then EOT end of test, and print the prompt of copy errors printed words.
3. the method for automatic verifying network interface card NCSI stability according to claim 1 or 2, it is characterised in that: in step S4 The run data of iperf tool pressure process are output in txt document.
CN201610934786.3A 2016-11-01 2016-11-01 A kind of method of automatic verifying network interface card NCSI stability Active CN106452965B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610934786.3A CN106452965B (en) 2016-11-01 2016-11-01 A kind of method of automatic verifying network interface card NCSI stability

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610934786.3A CN106452965B (en) 2016-11-01 2016-11-01 A kind of method of automatic verifying network interface card NCSI stability

Publications (2)

Publication Number Publication Date
CN106452965A CN106452965A (en) 2017-02-22
CN106452965B true CN106452965B (en) 2019-05-14

Family

ID=58178054

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610934786.3A Active CN106452965B (en) 2016-11-01 2016-11-01 A kind of method of automatic verifying network interface card NCSI stability

Country Status (1)

Country Link
CN (1) CN106452965B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108365998A (en) * 2018-01-03 2018-08-03 郑州云海信息技术有限公司 A method of verification NCSI stability
CN109408154A (en) * 2018-11-02 2019-03-01 郑州云海信息技术有限公司 The method and device for closing network interface card network interface function is automatically opened under a kind of Linux system
CN109510742B (en) * 2019-01-25 2022-02-18 郑州云海信息技术有限公司 Server network card remote test method, device, terminal and storage medium
CN110109623B (en) * 2019-04-30 2022-08-16 广州长图量传电子科技有限公司 Method for realizing remote operation of USB flash disk of KVM system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103616937A (en) * 2013-11-27 2014-03-05 华为技术有限公司 Mainboard, PCIE network card and server system
CN103973515A (en) * 2014-05-12 2014-08-06 浪潮电子信息产业股份有限公司 Network card stability testing method
CN104618187A (en) * 2015-02-02 2015-05-13 浪潮电子信息产业股份有限公司 Method for testing functional integrity of NCSI network card on line
CN104811353A (en) * 2015-05-05 2015-07-29 浪潮电子信息产业股份有限公司 Linux system based automatic network card performance test environment construction method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103616937A (en) * 2013-11-27 2014-03-05 华为技术有限公司 Mainboard, PCIE network card and server system
CN103973515A (en) * 2014-05-12 2014-08-06 浪潮电子信息产业股份有限公司 Network card stability testing method
CN104618187A (en) * 2015-02-02 2015-05-13 浪潮电子信息产业股份有限公司 Method for testing functional integrity of NCSI network card on line
CN104811353A (en) * 2015-05-05 2015-07-29 浪潮电子信息产业股份有限公司 Linux system based automatic network card performance test environment construction method

Also Published As

Publication number Publication date
CN106452965A (en) 2017-02-22

Similar Documents

Publication Publication Date Title
CN106452965B (en) A kind of method of automatic verifying network interface card NCSI stability
WO2019104916A1 (en) Development role creation method, device and equipment for test case, and storage medium
CN107508727B (en) Automatic network card information checking method and device
CN100570580C (en) The proving installation of simple network management protocol software and method of testing thereof
WO2016123936A1 (en) Method, device, test board, and system for testing traffic of interface board
CN109656627A (en) Starting method, activation system and the relevant apparatus of hard disk in a kind of BIOS
CN104135520B (en) A kind of method and device for identifying android terminal
CN102799519A (en) Automatic test method for cluster file system
WO2019134113A1 (en) Automated test method and system
CN109344071A (en) The method for automatically generating LoadRunner performance test script
CN102291274B (en) A kind of system and method realizing automatic adaptation of network testing instrument
CN106293879A (en) A kind of P2V moving method for Linux physical server and system thereof
CN111475412B (en) Software testing method, device, electronic equipment and computer readable storage medium
CN102426548A (en) Debugging method, debugger and debugging system for embedded system
CN109582519A (en) A kind of server GPU equipment powercycle stability test method
CN111666193A (en) Method and system for monitoring and testing terminal function based on real-time log analysis
CN103761202B (en) A kind of data storage node hard disk position identification method and system
CN107645424B (en) Method and system for BMC Sensor pressure test script
CN107835108B (en) OpenWrt-based MAC (media Access control) layer protocol stack verification platform
CN106113045A (en) The portrait robot that can remotely manage and operational approach thereof
US11003562B2 (en) Computer-implemented method, computer program product and computing system
CN108962335A (en) A kind of test device and method that memory circulation note is wrong
CN106354966B (en) The method of the conversion of chip id E project file and rapid configuration artificial debugging environment
CN108616417A (en) Cloud test platform and its control method
CN112953988B (en) Data docking method and device based on FTP

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant