CN106452965A - Method of automatically verifying NCSI stability of network card - Google Patents

Method of automatically verifying NCSI stability of network card Download PDF

Info

Publication number
CN106452965A
CN106452965A CN201610934786.3A CN201610934786A CN106452965A CN 106452965 A CN106452965 A CN 106452965A CN 201610934786 A CN201610934786 A CN 201610934786A CN 106452965 A CN106452965 A CN 106452965A
Authority
CN
China
Prior art keywords
ncsi
stability
usb flash
flash disk
interface card
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
CN201610934786.3A
Other languages
Chinese (zh)
Other versions
CN106452965B (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)
  • Facsimiles In General (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention discloses a method of automatically verifying NCSI (Network Controller Sideband Interface) stability of a network card, and belongs to the technical field of computer board card development and testing. The method of automatically verifying NCSI stability of a network card includes the steps: pressurizing a network data channel and a management data channel at the same time; and in a Windows system, using the sharelink of the network card to connect with a BMC (Baseboard Management Controller), opening a remote control terminal to mount a USB flash disk on a server, running scrip to realize automatic mounting of the USB flash disk and automatic repeated moving of documents, copying the documents between the USB flash disk and the server back and forth to pressurizing the management data channel, and at the same time using an iperf tool to pressurizing the network data channel. The method of automatically verifying NCSI stability of a network card can accurately verify the NCSI stability of the network card, and has the advantages of improving the testing efficiency, saving manpower, reducing the cost of enterprise, and having high popularization and application values.

Description

A kind of method of automatic checking network interface card NCSI stability
Technical field
The present invention relates to computer card exploitation technical field of measurement and test, concrete offer is a kind of to verify that network interface card NCSI is stable automatically The method of property.
Background technology
Computer has the advantages that information memory capacity is big, user obtains that information is convenient and swift, by more and more people's Favor.With the development further of social economy, the properties of computer there has also been the raising of matter, simultaneously with IT technology Develop rapidly, people put forward higher requirement to the outer manageability of band of server and controllability.NCSI(Network controller sideband interface)Network controller side band interface is one and is defined by Distributed Management Task group The side band interface network controller for back-level server outband management industrial standard, by a Management Controller and multiple Network controller forms.By outband management, can anywhere pass through network connection on corresponding server, carry out one The management of series and maintenance, and be no longer necessary to stop for a long time in the environment of a fixation.NCSI refers to BMC(Baseboard Management Controller)Baseboard management controller and extend LAN(Extension LAN)Set up passage, pass through Extend LAN can access BMC.Therefore BMC management function both can be realized by a network interface, and network can have been realized again and lead to Communication function.Not only facilitate administrative staff to be operated, special mouth BMC can not be configured simultaneously in laboratory Configuration network, save Configuration resource(Netting twine and switch etc.).The most important function of BMC is that console redirects(KVM), its major function is Realize long-range carry mirror image or the ancillary equipment such as USB flash disk, hard disk.During outband management, network interface card NCSI functional stabilization is Very important.But, still lack the method being capable of accurate validation network interface card NCSI stability in prior art it is impossible to ensure in band During outer management, the stability of network interface card NCSI, is further improved.
Content of the invention
The technical assignment of the present invention is for above-mentioned problem, provides a kind of stablizing of energy accurate validation network interface card NCSI Property, and testing efficiency can be improved, save manpower, the method reducing the automatic checking network interface card NCSI stability of entreprise cost.
For achieving the above object, the invention provides following technical scheme:
A kind of method of automatic checking network interface card NCSI stability, the method for described automatic checking network interface card NCSI stability is based on to net Network data channel and management data channel are pressurizeed simultaneously;In Windows system, the sharelink using network interface card connects BMC, Open remote control terminal by USB flash disk carry on the server, Run Script realizes the automatic carry of USB flash disk and document moves repeatedly automatically, Copy document back and forth management data channel to be pressurizeed, simultaneously using iperf instrument to network data between USB flash disk and server Passage is pressurizeed, and completes the checking to network interface card NCSI stability on the basis of not affecting network interface card network connecting function.
Network interface card NCSI has two passages, network data channels and the management by the connection of Sideband Interface agreement Data channel.The principle of the method for automatic checking network interface card NCSI stability of the present invention is to network data channels and management number Pressurize according to passage simultaneously, test its stability.In Windows system, by the good USB flash disk of KVM carry, in USB flash disk, pre-edit is good Two documents, two document copy in USB flash disk are directly run under system, realize by USB flash disk document and home server back and forth Copy data, you can realize the test to NCSI KVM connective stability.Pass through network pressure instrument iperf to network simultaneously 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 described automatic checking network interface card NCSI stability specifically includes following steps:
S1:USB flash disk put into by two documents of editor, and USB flash disk is inserted the machine computer;
S2:By the KVM of BCM long-range carry USB flash disk;
S3:Run batch processing document script under Windows system, two documents editting in copy USB flash disk back and forth are to management Data channel is pressurizeed;
S4:By iperf instrument, network data channels are pressurizeed.
In described USB flash disk, two documents of editor are the document more than several million.
Preferably, copy number of times can be set in step S3, the copy errors then EOT end of test, and print copy errors Printed words are pointed out.
In this process, the number of times of setting copy, once copying in the running of the copy number of times not up to setting Mistake then terminates testing, and the printed words simultaneously printing copy failure in screen are pointed out, and can allow operating personnel promptly and accurately Grasp ruuning situation.
Preferably, in step S4 by run for iperf instrument pressure process data output in txt document.
Can draw and check whether to drop the bad reaction of bandwidth according to exporting the data in txt document.
Compared with prior art, the present invention has beneficial effect following outstanding:Automatic checking network interface card of the present invention The method of NCSI stability is under Windows system, former based on pressurize to network data channels and management data channel simultaneously Reason, completes the checking to network interface card NCSI stability on the basis of not affecting network interface card network connecting function, and test accuracy is high, and And testing efficiency is higher, manpower can be saved to the full extent, reduce the cost of enterprise.
Brief description
Fig. 1 is the schematic flow sheet of the method for automatic checking network interface card NCSI stability of the present invention.
Specific embodiment
Below in conjunction with drawings and Examples, the method for the automatic checking network interface card NCSI stability of the present invention is made further Describe in detail.
Embodiment
As shown in figure 1, the method for the automatic checking network interface card NCSI stability of the present invention is based on to network data channels and pipe Reason data channel is pressurizeed simultaneously;In Windows system, the sharelink using network interface card connects BMC, opens remote control terminal By USB flash disk carry on the server, Run Script realizes the automatic carry of USB flash disk and document moves repeatedly, automatically between USB flash disk and server Copy document pressurizes to management data channel back and forth, using iperf instrument, network data channels is pressurizeed simultaneously, The checking to network interface card NCSI stability is completed on the basis of not affecting network interface card network connecting function.
Specifically include following steps:
S1:USB flash disk put into by two documents of editor, and USB flash disk is inserted the machine computer.
In USB flash disk, two documents of editor are the document more than several million.
S2:By the KVM of BCM long-range carry USB flash disk.
The sharelink of network interface card connects BMC, then by the KVM long-range carry USB flash disk of BCM, the document copy in USB flash disk is arrived Directly run under system, realize copying data back and forth by USB flash disk document and home server.
S3:Run batch processing document script under Windows system, two documents pair editting in copy USB flash disk back and forth Management data channel is pressurizeed.
Copy number of times can be set, should during, once copying in the running of the copy number of times not up to setting Mistake then terminates testing, and the printed words simultaneously printing copy failure in screen are pointed out, and can allow operating personnel promptly and accurately Grasp ruuning situation.
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:By iperf instrument, network data channels are pressurizeed.Can be by run for iperf instrument pressure process data Export in txt document, according to the data in txt document for the output, draw and check whether to drop the bad reaction of bandwidth.
Embodiment described above, the simply present invention more preferably specific embodiment, those skilled in the art is at this The usual variations and alternatives carrying out in the range of inventive technique scheme all should comprise within the scope of the present invention.

Claims (4)

1. a kind of method of automatic checking network interface card NCSI stability it is characterised in that:Described automatic checking network interface card NCSI stability Method be based on to network data channels and management data channel pressurize simultaneously;In Windows system, using network interface card Sharelink connect BMC, open remote control terminal by 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 and management data channel is pressurizeed, use simultaneously between USB flash disk and server Iperf instrument pressurizes to network data channels, completes to network interface card on the basis of not affecting network interface card network connecting function The checking of NCSI stability.
2. automatic checking network interface card NCSI stability according to claim 1 method it is characterised in that:Described automatic checking The method of network interface card NCSI stability specifically includes following steps:
S1:USB flash disk put into by two documents of editor, and USB flash disk is inserted the machine computer;
S2:By the KVM of BCM long-range carry USB flash disk;
S3:Run batch processing document script under Windows system, two documents editting in copy USB flash disk back and forth are to management Data channel is pressurizeed;
S4:By iperf instrument, network data channels are pressurizeed.
3. automatic checking network interface card NCSI stability according to claim 2 method it is characterised in that:Can set in step S3 Put copy number of times, the copy errors then EOT end of test, and print the prompting of copy errors printed words.
4. the automatic checking network interface card NCSI stability according to Claims 2 or 3 method it is characterised in that:In step S4 By run for iperf instrument pressure process data 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 true CN106452965A (en) 2017-02-22
CN106452965B 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)

Cited By (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
CN109510742A (en) * 2019-01-25 2019-03-22 郑州云海信息技术有限公司 A kind of server network interface card remote test method, device, terminal and storage medium
CN110109623A (en) * 2019-04-30 2019-08-09 广州长图量传电子科技有限公司 A kind of implementation method of the USB flash disk remote operation 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

Cited By (5)

* 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
CN109510742A (en) * 2019-01-25 2019-03-22 郑州云海信息技术有限公司 A kind of server network interface card remote test method, device, terminal and storage medium
CN109510742B (en) * 2019-01-25 2022-02-18 郑州云海信息技术有限公司 Server network card remote test method, device, terminal and storage medium
CN110109623A (en) * 2019-04-30 2019-08-09 广州长图量传电子科技有限公司 A kind of implementation method of the USB flash disk remote operation of kvm system

Also Published As

Publication number Publication date
CN106452965B (en) 2019-05-14

Similar Documents

Publication Publication Date Title
CN106452965A (en) Method of automatically verifying NCSI stability of network card
WO2016123936A1 (en) Method, device, test board, and system for testing traffic of interface board
CN107508727B (en) Automatic network card information checking method and device
CN207380755U (en) Experiment integrated management system
CN103746840B (en) Method and system for automatic checking of software version information of network equipment
CN111711609A (en) Protocol design method in serial port communication
CN102291274B (en) A kind of system and method realizing automatic adaptation of network testing instrument
CN102147726B (en) Script-based method for implementing service configuration
CN101770416B (en) Bus testing method for new generation of peripheral connecting interface
CN105700924A (en) Method and device for burning program of multiple modules
CN103716139B (en) A kind of information pushing treating method and apparatus
CN108228465A (en) A kind of Software function test method and device
CN107807869A (en) A kind of test system and method for testing
CN109947651B (en) Artificial intelligence engine optimization method and device
CN103761202B (en) A kind of data storage node hard disk position identification method and system
CN106612215A (en) Integrated remote detection device and method based on Ethernet
CN106113045B (en) Can remote management portrait robot
CN109753277A (en) The automatically generating device and method of CAN bus code
CN104202422A (en) Wireless connecting system and wireless connecting method supporting internet-of-things access
CN110519117A (en) A kind of communication translation-protocol test method and device
CN101227342A (en) Method and apparatus for implementing large traffic automatic calling
CN106257257A (en) A kind of detect the method for optical module planisphere, device and virtual vector analyser
CN107645424A (en) A kind of method and system of BMC Sensor pressure test scripts
CN105897494A (en) Testing method of network transmission rate
CN108962335A (en) A kind of test device and method that memory circulation note is wrong

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