CN110932886A - Method and system for automatically testing network performance of server and SOL testing device - Google Patents

Method and system for automatically testing network performance of server and SOL testing device Download PDF

Info

Publication number
CN110932886A
CN110932886A CN201911121607.4A CN201911121607A CN110932886A CN 110932886 A CN110932886 A CN 110932886A CN 201911121607 A CN201911121607 A CN 201911121607A CN 110932886 A CN110932886 A CN 110932886A
Authority
CN
China
Prior art keywords
test
sol
network
tested
local
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.)
Withdrawn
Application number
CN201911121607.4A
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.)
Suzhou Wave Intelligent Technology Co Ltd
Original Assignee
Suzhou Wave Intelligent 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 Suzhou Wave Intelligent Technology Co Ltd filed Critical Suzhou Wave Intelligent Technology Co Ltd
Priority to CN201911121607.4A priority Critical patent/CN110932886A/en
Publication of CN110932886A publication Critical patent/CN110932886A/en
Withdrawn legal-status Critical Current

Links

Images

Classifications

    • 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/02Standardisation; Integration
    • H04L41/024Standardisation; Integration using relational databases for representation of network management data, e.g. managing via structured query language [SQL]
    • 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/0631Management of faults, events, alarms or notifications using root cause analysis; using analysis of correlation between notifications, alarms or events based on decision criteria, e.g. hierarchy, tree or time analysis
    • 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
    • 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/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0823Configuration setting characterised by the purposes of a change of settings, e.g. optimising configuration for enhancing reliability
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • H04L67/025Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/2866Architectures; Arrangements
    • H04L67/30Profiles

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention provides a method, a system and an SOL test device for automatically testing the network performance of a server, and the related content of the invention has wide application range and can be used for a PC, a general server and a RACK server supporting SOL. The method and the system for automatically testing the network performance of the server can realize automatic execution, avoid manual operation, improve efficiency and improve accuracy. And self-checking and testing the SOL serial port network, and effectively monitoring the serial port network state of the test server. And meanwhile, carrying out in-band and out-of-band SOL pressure test, and testing the stability, transmission rate, network delay, packet loss, interruption and the like of the network serial port. And the test is combined with the BMC test, and after the test is finished, a BMC Web interface can be logged in according to a network IP address, whether a BMC restart, an abnormal log, a log with or without error report under a system and the like are checked, so that the stability test of the serial port network is more complete.

Description

Method and system for automatically testing network performance of server and SOL testing device
Technical Field
The invention relates to the technical field of server testing, in particular to a method and a system for automatically testing network performance of a server and an SOL testing device.
Background
Currently, SOL (Serial Over Lan) is usually configured in a server, and refers to a mechanism for redirecting Serial port I/0 in a system through IP-based IPMI session. Mainly to help users access the server and applications on the computer through the serial port, the I/O of the serial port needs to redirect the network. The Serial Over LAN IPMI is a very useful tool in the field of server management, and not only can implement remote power management (such as power on/off) and sensor information query (such as CPU temperature), but also can configure sol (Serial Over LAN) to remotely obtain the boot information of BIOS and system through Console redirection.
For the operation stability of the SOL, the SOL is of great importance for the server, so that the SOL of the server needs to be tested regularly in daily work to meet the use requirement and ensure the normal use of the server. Therefore, how to implement the stability test on the SOL of the server, the test result can be obtained, and the smooth implementation of the test process is a technical problem to be solved at present.
Disclosure of Invention
The invention carries out the network stability test of the SOL on the server or the computer locally and out of band simultaneously to generate a test log, checks whether the network transmission rate of the SOL is normal, whether a large amount of packet loss phenomena exist, whether network delay exists, whether test interruption and error reporting exist, and the like, analyzes and solves the problem. After the SOL network test is finished, whether a web interface of the BMC can be logged in by using the network IP is checked, and whether a restart log and an abnormal log exist under the BMC is checked. The SOL network stability of the server and the PC is ensured more safely.
The invention provides three aspects, wherein the first aspect relates to a method for automatically testing the network performance of a server, and the method comprises the following steps:
step one, configuring a remote control terminal and connecting the remote control terminal with a local terminal to be tested in a communication way;
step two, the remote control terminal configures the SOL testing device into a local terminal to be tested;
and step three, executing the SOL test device to perform network performance test on the local terminal to be tested.
Preferably, step two further comprises:
the remote control terminal configures an SOL test environment of a local terminal to be tested;
the remote control terminal sets a preset serial port baud rate and serial port information based on the BMC of the local terminal to be tested;
the remote control terminal configures control information of the local terminal to be tested based on the OS module of the local terminal to be tested, so that the remote control terminal controls the local terminal to be tested to execute a test process.
Preferably, step two further comprises:
the remote control terminal is connected with the local terminal to be tested through an out-of-band mode, the SOL testing device is started, and the BIOS state and the system condition of the local terminal to be tested are checked;
the remote control terminal detects the connection state of the SOL testing device through out-of-band, generates a test log through a log control module, and checks whether the connection with the SOL testing device is normal or not according to the test log; the data transfer rate is also examined.
Preferably, step three is preceded by:
the remote control terminal detects the communication network state with the local terminal to be detected through a network detection module;
the remote control terminal checks whether a communication interruption error exists in the test log and analyzes the serial port network connectivity;
and if so, sending an error prompt.
Preferably, step three further comprises:
the local terminal to be tested executes self-checking test through out-of-band;
after self-checking is completed, starting an SOL testing device, and carrying out network pressure testing on a local SOL network based on preset testing duration;
generating a local test log after a preset test duration is reached;
and checking whether the network data is normal or not, and whether error logs and messy codes exist or not according to the local test logs.
Preferably, step three further comprises:
the remote control terminal configures an SOL test environment, an IP address of a local terminal to be tested and a login user name and a password of the local terminal to be tested;
executing a remote SOL test based on a preset test duration;
generating a remote test log after a preset test duration is reached;
and checking the remote test condition and the network stability according to the remote test log.
Preferably, step three is further followed by:
after the in-band and out-of-band simultaneous testing is finished, checking whether the state of the SOL testing device is interrupted or not;
logging in the bmc web interface again through the IP network address of the local terminal to be tested, and checking whether the abnormality exists or not, whether the logging can be performed or not, and whether a local test log error exists or not.
A second aspect relates to a system for automatically testing server network performance, comprising: the system comprises a test setting execution module, a remote control terminal, a local terminal to be tested and an SOL test device;
the test setting execution module is used for setting the preset test duration of the test and starting the test;
the remote control terminal is in communication connection with the local terminal to be tested;
the remote control terminal configures the SOL testing device into a local terminal to be tested;
the local terminal to be tested executes the SOL testing device to test the network performance of the local terminal to be tested;
the remote control terminal is used for generating a remote test log;
the local terminal to be tested is used for generating a local test log;
the SOL test device is used for checking remote test conditions and network stability performance according to the remote test log
And the system is used for checking whether the network data is normal or not, and whether error logs and messy codes exist or not according to the local test logs.
Preferably, the SOL testing device is further configured to check whether the state of the SOL testing device is interrupted after the in-band and out-of-band simultaneous testing is completed;
logging in the bmc web interface again through the IP network address of the local terminal to be tested, and checking whether the abnormality exists or not, whether the logging can be performed or not, and whether a local test log error exists or not.
A third aspect relates to an SOL testing apparatus having a method of automatically testing server network performance, the computer readable storage medium having stored thereon a computer program for execution by a processor to perform the steps of the method of automatically testing server network performance.
According to the technical scheme, the invention has the following advantages:
the method, the system and the SOL testing device for automatically testing the network performance of the server have wide application range and can be used for a PC (personal computer), a general server and a RACK (RACK server) supporting the SOL.
The method and the system for automatically testing the network performance of the server can realize automatic execution, avoid manual operation, improve efficiency and improve accuracy. And self-checking and testing the SOL serial port network, and effectively monitoring the serial port network state of the test server. And meanwhile, carrying out in-band and out-of-band SOL pressure test, and testing the stability, transmission rate, network delay, packet loss, interruption and the like of the network serial port. And the test is combined with the BMC test, and after the test is finished, a BMC Web interface can be logged in according to a network IP address, whether a BMC restart, an abnormal log, a log with or without error report under a system and the like are checked, so that the stability test of the serial port network is more complete.
The invention supports the SOL communication of IPv4 and IPv6 network address configuration, and accords with the test of network address diversity.
The testing method can effectively and accurately test the local and remote serial port networks, automatically generate a test result file after the test is executed, and analyze the network state according to the test record. If the test fails, the cause of the problem can be quickly and accurately found, analyzed and solved, and the safety and the accuracy of the test are ensured.
Drawings
In order to more clearly illustrate the technical solution of the present invention, the drawings used in the description will be briefly introduced, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained based on these drawings without creative efforts.
FIG. 1 is a flow chart of a method for automatically testing server network performance;
FIG. 2 is a schematic diagram of a system for automatically testing server network performance;
FIG. 3 is a schematic diagram of an embodiment of a system for automatically testing server network performance.
Detailed Description
Those of ordinary skill in the art will appreciate that the elements and algorithm steps of the examples described in connection with the embodiments disclosed herein may be embodied in electronic hardware, computer software, or combinations of both, and that the components and steps of the examples have been described in a functional general in the foregoing description for the purpose of illustrating clearly the interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The block diagrams shown in the figures are functional entities only and do not necessarily correspond to physically separate entities. I.e. these functional entities may be implemented in the form of software, or in one or more hardware modules or integrated circuits, or in different networks and/or processor means and/or microcontroller means.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may also be an electric, mechanical or other form of connection.
The invention provides a method for automatically testing the network performance of a server, which comprises the following steps as shown in figure 1:
s1, configuring a remote control terminal and connecting the remote control terminal with a local terminal to be tested in a communication way;
in the invention, one remote control terminal can be configured to carry out common test corresponding to a plurality of local terminals to be tested, and one-to-one test can also be carried out.
The remote control terminal and the local terminal to be tested can be a data server, a computer, a terminal and the like.
The remote control terminal and the local terminal to be tested can communicate in a wired or wireless mode.
The remote control terminal and the local terminal to be tested can open an operation dialog box through a Win + R shortcut key, input 'winver', and then click the lower determination or press the enter, so that the operating system information of the PC is popped up; pressing a Win + R shortcut key of a computer keyboard, opening an operation dialog box, inputting 'cmd' and then inputting a command: and ipconfig, after the completion, the enter key is pressed to operate, and then the information of the IP address can be checked, wherein the interconnection is carried out based on the IP address. The remote control terminal and the local terminal to be tested can be both; IPv4 addresses and IPv6 addresses are configured.
The remote control terminal and the local terminal to be tested can check the current OS version and state through the diameter-a, and input the ipmitool lan print 1/8 to check the IP address of the BMC management port/sharing port.
S2, the remote control terminal configures the SOL test device into a local terminal to be tested;
the remote control terminal configures an SOL test environment of a local terminal to be tested;
the remote control terminal sets a preset serial port baud rate and serial port information based on the BMC of the local terminal to be tested; the remote control terminal configures control information of the local terminal to be tested based on the OS module of the local terminal to be tested, so that the remote control terminal controls the local terminal to be tested to execute a test process.
Specifically, SOL environment configuration and out-of-band self-test. And configuring an SOL environment according to the service of the local terminal to be tested, and setting the serial port baud rate, serial port information, the baud rate, the serial port type and the like of the local terminal to be tested under the BMC.
And meanwhile, the directional serial port information is correspondingly modified, so that the BMC and the BIOS are correspondingly consistent, and the normal connectivity of the SOL test is ensured.
After the connection is normal, the test sol function is realized through ipmitool-I lan plus-H ip-U user-P password sol extraction, the startup and shutdown items of the server can be normally started, the BIOS interface and the system can be normally entered, and the success of sol configuration is marked.
And after the sol is configured to be normal, executing out-of-band,/sol _ select.
As a preferred embodiment of the invention, the remote control terminal is connected with the local terminal to be tested by out-of-band, and starts the SOL testing device to check the BIOS state and the system condition of the local terminal to be tested;
the remote control terminal detects the connection state of the SOL testing device through out-of-band, generates a test log through a log control module, and checks whether the connection with the SOL testing device is normal or not according to the test log; the data transfer rate is also examined.
In order to ensure that a network is smooth in the test process and avoid the influence of network interruption and network errors on the test, the remote control terminal detects the communication network state with the local terminal to be tested through a network detection module;
the remote control terminal checks whether a communication interruption error exists in the test log and analyzes the serial port network connectivity; and if so, sending an error prompt. If there is no communication interruption error, a subsequent test procedure may be performed.
And S3, executing the SOL test device to perform network performance test on the local terminal to be tested.
For the network performance test process, the local terminal to be tested executes self-test out of band;
after self-checking is completed, starting an SOL testing device, and carrying out network pressure testing on a local SOL network based on preset testing duration;
generating a local test log after a preset test duration is reached;
and checking whether the network data is normal or not, and whether error logs and messy codes exist or not according to the local test logs.
Namely, the local terminal to be tested executes the self-test, executes the test process according to the preset test duration, and records the whole test process into the local test log for checking and using.
Configuring an SOL test environment, an IP address of a local terminal to be tested and a login user name and a password of the local terminal to be tested based on a remote control terminal; executing a remote SOL test based on a preset test duration;
generating a remote test log after a preset test duration is reached; and checking the remote test condition and the network stability according to the remote test log.
And the remote control terminal executes the test, executes the test process according to the preset test duration, and records the whole test process into a local test log for checking and using as required.
For the whole test process, after the in-band and out-of-band simultaneous test is finished based on the test made by the local terminal to be tested and the remote control terminal, checking whether the state of the SOL test device is interrupted or not; logging in the bmc web interface again through the IP network address of the local terminal to be tested, and checking whether the abnormality exists or not, whether the logging can be performed or not, and whether a local test log error exists or not.
The method comprises the steps of carrying out network stability test of the SOL on a server or a computer locally and out of band at the same time, generating a test log, checking whether the network transmission rate of the SOL is normal, whether a large amount of packet loss phenomena exist, whether network delay exists, whether test interruption and error reporting exist, and the like, and analyzing and solving the problems. After the SOL network test is finished, whether a web interface of the BMC can be logged in by using the network IP is checked, and whether a restart log and an abnormal log exist under the BMC is checked. The SOL network stability of the server and the PC is ensured more safely.
In order to fully explain the method of the present invention, a specific embodiment is described below, taking a general-purpose server as an example, and a specific process is to prepare two servers with linux7.4 as a system, wherein one server is used as a local server, and the other server is used as a remote control server. And the local server configures the SOL environment according to the previous step, copies the test tool SOL _ local _ stress to the system after the out-of-band self-test SOL succeeds, decompresses the test tool, executes the SOL _ start in the test tool, and performs network pressure test on the local SOL. Meanwhile, for the remote control server, under the condition of direct connection of a network cable or switch conversion, the IP address of the local server can be kept and ping can be performed by the controller, abnormal disconnection is avoided, normal communication can be performed, the test tool SOL _ remote _ stress is copied to the remote control server SOL connection system, the test tool is decompressed, simultaneously,/SOL _ start is executed, and network stability test is performed on the local server SOL remotely.
For local and remote SOL test devices, after running out of the test, a plurality of types of test logs can be automatically generated, the SOL network is analyzed, and faults are solved if the tests are abnormal; meanwhile, the in-band and out-of-band stability test can effectively detect the conditions of SOL network performance, rate, packet loss and the like, and is more stable and safer for the use of SOL.
SOL test devices include two types, local and remote use. The SOL testing device covers the relevant network stability performance test related to SOL, carries out pressure test on a local network, simultaneously tests a local BMC, prints sensor information of local parts, effectively records information of the local SOL network and the BMC state, and can analyze the network and the SOL state according to a generated test log after the test is completed. Effectively and accurately ensuring the stability test of the SOL network performance.
The remote test SOL test device is responsible for remote SOL network performance test, network and BMC pressure test is carried out on a local server through a remote control server, local server basic information is tested and printed, and whether the transmission rate of the SOL network is normal, whether network delay exists, whether network packet loss exists or not, whether test interruption exists or not, whether abnormal logs exist or not through the BMC and the like are tested under the condition of pressure test. And correspondingly generating various types of test logs after the test is finished. And (4) analyzing and judging whether the SOL network test is abnormal or not according to the test log, and analyzing and solving. The in-band and out-of-band test tool effectively and accurately solves the problem of testing the stability of the SOL network, and has great significance for network testing.
Based on the above method, the present invention further provides a system for automatically testing the network performance of the server, as shown in fig. 2 and 3, including: the system comprises a test setting execution module 3, a remote control terminal 1, a local terminal to be tested 2 and an SOL test device 4;
the test setting execution module 3 is used for setting the preset test duration of the test and starting the test;
the remote control terminal 1 is in communication connection with the local terminal to be tested 2;
the remote control terminal 1 configures the SOL testing device 4 into the local terminal 2 to be tested;
the local terminal to be tested 2 executes the SOL testing device 4 to test the network performance of the local terminal to be tested 2;
the remote control terminal 1 is used for generating a remote test log;
the local terminal to be tested 2 is used for generating a local test log;
the SOL test device 4 is used for checking remote test conditions and network stability performance according to the remote test log
And the system is used for checking whether the network data is normal or not, and whether error logs and messy codes exist or not according to the local test logs.
Examples of further illustrations are: the invention can be matched with two servers, one local server to be tested is used as a remote control terminal, the other remote control server is used as a local terminal to be tested, and whether the network of the remote control terminal and the local terminal to be tested supports the IPv4 or IPv6 address or not is checked. And the two servers can normally communicate without abnormal IP mutual ping. And the BMC Web interface can be normally logged in according to the BMC IP of the local server, no error log or exception exists, if error information or an exception BMC log is generated, the fault reason is artificially analyzed and solved, and the normal BMC IP network is ensured.
Related information of BMC, BIOS, serial ports of OS and baud rate of the remote control terminal and the local terminal to be tested in the testing process is configured well, and the consistency of serial port network connection is kept.
The method comprises the steps of inputting ipmitool sol info 1/8 under a local terminal to be tested, wherein 8 represents a sharing port, 1 represents a management port, and the ipmitool sol info 1/8 can be viewed separately. The command is used for checking the baud rate of the serial port network, and different server baud rate standards are inconsistent. Taking the shared port as an example, setting the serial port baud rate to be 115200, and after the setting is successful, continuously inputting the ipmitool sol info 8 to check whether the shared port baud rate is changed to be 115200.
The method comprises the steps that a serial port is directionally set under a BIOS, a local terminal to be tested enters the BIOS interface according to delete when a starting interface is selected in the restarting process of the local terminal to be tested, the serial port interface is found in a column of an ADVANCED interface serial port, the local terminal to be tested has two serial port types of COM0 and COM1 or only one serial port type, the default starting serial port is ensured to be consistent with the actual serial port and consistent with the default serial port types of a system and a BMC, the SOL connection communication can be normally ensured, the Baud rate is checked and set to be 115200, the transmission type is VT100+, the SOL connection cannot have a messy code phenomenon under the type, other transmission types can have partial messy codes, the test effect can be influenced, and the local terminal to be set and quit after being.
And changing the serial port orientation setting under the local terminal system OS module to be tested. Different operating systems are different in configuration file types in serial port orientation setting, and the Linux system serial port redirection setting and kernel printing information acquisition and storage are as follows by taking a Redhat 7 series system as an example: the RHE7.0 series began using grub2, so the serial port configuration was greatly different from other RHEL versions.
The setup here mainly involves the modification of one file:
the specific configuration steps are
1) Add console ttys1,115200n8 console ttys1 to/etc/default/grub and delete rhgb set:
GRUB_CMDLINE_LINUX="console=ttyS1,115200n8 console=tty1";
2) the "grub2-mkconfig-o/boot/grub2/grub
3) reboot, the restart OS is in effect.
tty1 represents that the serial port state is com1, tty0 represents that the serial port state is com0,115200 and represents the set baud rate, and the configuration information should be consistent with the serial port states under the BIOS and the BMC.
Checking the BIOS state and the system condition by out-of-band connection sol;
the method comprises the steps of inputting ipmitool-I lan plus-H IP-U user-P password sol activity out of band, inputting IP as a server BMC IP, and inputting user and password as BMC user name and password, and then returning to establish sol network communication remotely after inputting the instruction. When the local system restarts the os, the remote SOL end can normally synchronize the POST startup and shutdown interface of the system, can log in and check the bios interface, enter the local system os, can check the temperature and voltage information of the relevant sensors, the BMC hardware equipment information and the like under the system, and can also input the relevant instructions of the server startup and shutdown and the like.
And the out-of-band execution of ipmitool-I lan plus-H ip-U user-P password SOL deactivating can disconnect the SOL communication state and terminate the serial port network communication.
The script is used for out-of-band self-checking SOL connection state, the Sol self-checking script generates a corresponding test log, and whether connection is normal or interrupted or not, whether transmission rate is abnormal or not and the like can be effectively checked according to the self-checking test log. And the out-of-band self-checking test log information analyzes the connectivity and stability of the serial port network, and if a fault occurs, the fault is analyzed, processed and solved in time.
After the out-of-band sol self-check test is successful, the local server executes a local test tool, decompresses the sol _ local _ stress, runs a script/sol _ start in the tool, tests the local sol network with default pressure testing time of 24h, automatically finishes the time pressure testing, generates a corresponding test log, and analyzes whether each data of the network is normal or not, and whether an error log and a messy code exist under the local sol network pressure testing according to the test log.
Meanwhile, after an SOL environment ipmitool-I lan plus-H IP-U user-Password SOL activate is configured and enters a SOL system, the remote server also executes a remote test tool, decompresses the SOL _ remote _ stress, inputs an IP address into a file. And then executing a SOL _ start, carrying out SOL network pressure test by a remote server, wherein the default time is 24h, automatically stopping the pressure test when the time is reached, generating a corresponding test log, analyzing the stability of the serial port network, the transmission rate of the network, the network delay and the packet loss condition under the SOL remote pressure test according to the test log, and if the fault occurs, analyzing the fault problem according to the generated test log file and solving the fault problem.
After the in-band and out-of-band simultaneous test is finished, checking whether the sol activate state is interrupted or not, logging in the BMC web interface again by using the BMC IP network address, checking whether the BMC web interface is abnormal or not, logging in can be performed or not, whether an error test log exists or not, whether the BMC interface is abnormal or not and restarting the log, if the BMC web interface is abnormal or not, performing fault analysis and solving, and performing pressure test again and simultaneously until the test is normal.
The system has the advantages of high efficiency, convenience and accuracy, and can automatically test the stability of the SOL network of the PC, the server and the RACK server. The testing method has wide application range and has great significance for testing the stability of the remote network management of the server. The automatic tool and the test method effectively reduce the labor input, improve the working efficiency and ensure the effectiveness, accuracy and convenience of the test.
Based on the above testing method and system, the present invention further provides an SOL testing apparatus having a method for automatically testing network performance of a server, wherein a computer readable storage medium has a computer program stored thereon, and the computer program is executed by a processor to implement the steps of the method for automatically testing network performance of a server.
The SOL test device comprises two types, namely local use and remote use, wherein the local test SOL test device is SOL _ local _ stress, and comprises the following test scripts:
sol_basecheck_local.sh
sol_local_test.sh
sol_stress_batch.sh
yes.sh
sol_start
the SOL testing device covers the relevant network stability performance test related to SOL, carries out pressure test on a local network, simultaneously tests a local BMC, prints sensor information of local parts, effectively records information of the local SOL network and the BMC state, and can analyze the network and the SOL state according to a generated test log after the test is completed. Effectively and accurately ensuring the stability test of the SOL network performance.
The remote test SOL test device comprises the following test scripts:
1、sol_check_infomatition.sh
2、sol_remote_test.sh
3、sol_stress.sh
4、sol_network_test.sh
5、file.oobip
6、sol_start
the remote test SOL test device is responsible for remote SOL network performance test, network and BMC pressure test is carried out on a local server through a remote control server, local server basic information is tested and printed, and whether the transmission rate of the SOL network is normal, whether network delay exists, whether network packet loss exists or not, whether test interruption exists or not, whether abnormal logs exist or not through the BMC and the like are tested under the condition of pressure test. And correspondingly generating various types of test logs after the test is finished. And (4) analyzing and judging whether the SOL network test is abnormal or not according to the test log, and analyzing and solving. The in-band and out-of-band test tool effectively and accurately solves the problem of testing the stability of the SOL network, and has great significance for network testing.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. A method for automatically testing the performance of a server network, the method comprising:
step one, configuring a remote control terminal and connecting the remote control terminal with a local terminal to be tested in a communication way;
step two, the remote control terminal configures the SOL testing device into a local terminal to be tested;
and step three, executing the SOL test device to perform network performance test on the local terminal to be tested.
2. The method for automatically testing server network performance of claim 1,
the second step further comprises:
the remote control terminal configures an SOL test environment of a local terminal to be tested;
the remote control terminal sets a preset serial port baud rate and serial port information based on the BMC of the local terminal to be tested;
the remote control terminal configures control information of the local terminal to be tested based on the OS module of the local terminal to be tested, so that the remote control terminal controls the local terminal to be tested to execute a test process.
3. The method for automatically testing server network performance of claim 1,
the second step also comprises the following steps:
the remote control terminal is connected with the local terminal to be tested through an out-of-band mode, the SOL testing device is started, and the BIOS state and the system condition of the local terminal to be tested are checked;
the remote control terminal detects the connection state of the SOL testing device through out-of-band, generates a test log through a log control module, and checks whether the connection with the SOL testing device is normal or not according to the test log; the data transfer rate is also examined.
4. The method for automatically testing server network performance of claim 1,
before the third step, the method also comprises the following steps:
the remote control terminal detects the communication network state with the local terminal to be detected through a network detection module;
the remote control terminal checks whether a communication interruption error exists in the test log and analyzes the serial port network connectivity;
and if so, sending an error prompt.
5. The method for automatically testing server network performance of claim 1,
the third step also comprises:
the local terminal to be tested executes self-checking test through out-of-band;
after self-checking is completed, starting an SOL testing device, and carrying out network pressure testing on a local SOL network based on preset testing duration;
generating a local test log after a preset test duration is reached;
and checking whether the network data is normal or not, and whether error logs and messy codes exist or not according to the local test logs.
6. The method for automatically testing server network performance of claim 5,
the third step also comprises:
the remote control terminal configures an SOL test environment, an IP address of a local terminal to be tested and a login user name and a password of the local terminal to be tested;
executing a remote SOL test based on a preset test duration;
generating a remote test log after a preset test duration is reached;
and checking the remote test condition and the network stability according to the remote test log.
7. The method for automatically testing server network performance of claim 6,
the third step further comprises the following steps:
after the in-band and out-of-band simultaneous testing is finished, checking whether the state of the SOL testing device is interrupted or not;
logging in the bmc web interface again through the IP network address of the local terminal to be tested, and checking whether the abnormality exists or not, whether the logging can be performed or not, and whether a local test log error exists or not.
8. A system for automatically testing the performance of a server network, comprising: the system comprises a test setting execution module, a remote control terminal, a local terminal to be tested and an SOL test device;
the test setting execution module is used for setting the preset test duration of the test and starting the test;
the remote control terminal is in communication connection with the local terminal to be tested;
the remote control terminal configures the SOL testing device into a local terminal to be tested;
the local terminal to be tested executes the SOL testing device to test the network performance of the local terminal to be tested;
the remote control terminal is used for generating a remote test log;
the local terminal to be tested is used for generating a local test log;
the SOL test device is used for checking remote test conditions and network stability performance according to the remote test log
And the system is used for checking whether the network data is normal or not, and whether error logs and messy codes exist or not according to the local test logs.
9. The automatic test server network performance system of claim 8,
the SOL testing device is also used for checking whether the state of the SOL testing device is interrupted or not after the in-band and out-of-band simultaneous testing is finished;
logging in the bmc web interface again through the IP network address of the local terminal to be tested, and checking whether the abnormality exists or not, whether the logging can be performed or not, and whether a local test log error exists or not.
10. SOL testing device having a method for automatically testing the performance of a server network, characterized in that a computer program is stored on a computer readable storage medium, which computer program is executable by a processor for carrying out the steps of the method for automatically testing the performance of a server network according to any one of claims 1 to 7.
CN201911121607.4A 2019-11-15 2019-11-15 Method and system for automatically testing network performance of server and SOL testing device Withdrawn CN110932886A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911121607.4A CN110932886A (en) 2019-11-15 2019-11-15 Method and system for automatically testing network performance of server and SOL testing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911121607.4A CN110932886A (en) 2019-11-15 2019-11-15 Method and system for automatically testing network performance of server and SOL testing device

Publications (1)

Publication Number Publication Date
CN110932886A true CN110932886A (en) 2020-03-27

Family

ID=69853131

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911121607.4A Withdrawn CN110932886A (en) 2019-11-15 2019-11-15 Method and system for automatically testing network performance of server and SOL testing device

Country Status (1)

Country Link
CN (1) CN110932886A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113938933A (en) * 2021-09-15 2022-01-14 深圳市共进电子股份有限公司 Network test method, network test system and test host
CN115529216A (en) * 2022-10-10 2022-12-27 苏州浪潮智能科技有限公司 Method, system, equipment and storage medium for automatically configuring intelligent network card IP

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103164309A (en) * 2011-12-16 2013-06-19 鸿富锦精密工业(深圳)有限公司 SOL functional test method and system
CN103905566A (en) * 2014-04-22 2014-07-02 浪潮电子信息产业股份有限公司 Server starting information remote checking and leading-out method
CN104899120A (en) * 2015-05-27 2015-09-09 浪潮电子信息产业股份有限公司 Server stability test method based on BMC startup and shutdown functions
CN106844142A (en) * 2016-12-26 2017-06-13 郑州云海信息技术有限公司 A kind of system and method that node SOL is monitored for SAS Switch whole machine cabinets
CN106874162A (en) * 2017-02-23 2017-06-20 郑州云海信息技术有限公司 A kind of monitoring management pressure test integration method based on IPMI services
CN107870840A (en) * 2016-09-27 2018-04-03 佛山市顺德区顺达电脑厂有限公司 The multiple test instruction automatic execution methods of server based on IPMI
CN109218132A (en) * 2018-09-13 2019-01-15 郑州云海信息技术有限公司 A kind of method of automatic testing service device IPv6 stability

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103164309A (en) * 2011-12-16 2013-06-19 鸿富锦精密工业(深圳)有限公司 SOL functional test method and system
CN103905566A (en) * 2014-04-22 2014-07-02 浪潮电子信息产业股份有限公司 Server starting information remote checking and leading-out method
CN104899120A (en) * 2015-05-27 2015-09-09 浪潮电子信息产业股份有限公司 Server stability test method based on BMC startup and shutdown functions
CN107870840A (en) * 2016-09-27 2018-04-03 佛山市顺德区顺达电脑厂有限公司 The multiple test instruction automatic execution methods of server based on IPMI
CN106844142A (en) * 2016-12-26 2017-06-13 郑州云海信息技术有限公司 A kind of system and method that node SOL is monitored for SAS Switch whole machine cabinets
CN106874162A (en) * 2017-02-23 2017-06-20 郑州云海信息技术有限公司 A kind of monitoring management pressure test integration method based on IPMI services
CN109218132A (en) * 2018-09-13 2019-01-15 郑州云海信息技术有限公司 A kind of method of automatic testing service device IPv6 stability

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113938933A (en) * 2021-09-15 2022-01-14 深圳市共进电子股份有限公司 Network test method, network test system and test host
CN115529216A (en) * 2022-10-10 2022-12-27 苏州浪潮智能科技有限公司 Method, system, equipment and storage medium for automatically configuring intelligent network card IP

Similar Documents

Publication Publication Date Title
CN109510742B (en) Server network card remote test method, device, terminal and storage medium
CN102571498B (en) Fault injection control method and device
CN107678949B (en) Automatic testing method for realizing different communication modes of embedded equipment
CN105068900A (en) Test method for remote control server cold reboot
CN110932886A (en) Method and system for automatically testing network performance of server and SOL testing device
CN109240851A (en) A kind of autonomous type realization self-healing method and system of batch BMC
CN106776346B (en) Test method and device of CCMTS (China center testing System) equipment
CN109218132B (en) Method for automatically testing stability of IPv6 of server
CN113849228A (en) Operating system batch deployment method, system, terminal and storage medium
CN103731663A (en) Method and device for testing smart television
CN114510381A (en) Fault injection method, device, equipment and storage medium
CN111245527A (en) Performance detection system and detection method thereof
CN115022163A (en) Log collection method and device, computer equipment and storage medium
CN115794530A (en) Hardware connection testing method, device, equipment and readable storage medium
Cisco Release Notes for the Catalyst 2950 Switch Cisco IOS Release 12.1(6)EA2a
Cisco Release Notes for the Catalyst 2950 Switch Cisco IOS Release 12.1(6)EA2b
Cisco Release Notes for the Catalyst 2950 Switch Cisco IOS Release 12.1(6)EA2
CN114461458A (en) Server memory test method, system, terminal and storage medium
CN113821390A (en) Switch debugging method and device, server and computer readable storage medium
CN111752736A (en) Remote collection method and system for Linux system downtime information
CN116382968B (en) Fault detection method and device for external equipment
CN112003727A (en) Multi-node server power supply testing method, system, terminal and storage medium
CN110795293A (en) Method, system and device for testing soft shutdown of server
CN111475398A (en) Server NIC diagnosis method, system, terminal and storage medium
CN112231170A (en) Data interaction card supervision method, system, terminal and storage medium

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
WW01 Invention patent application withdrawn after publication

Application publication date: 20200327

WW01 Invention patent application withdrawn after publication