Server BMC network stability test method, system and device and medium

Through automated scripts and Restful interfaces, the BMC network static and dynamic switching and logging are realized, which solves the cumbersome and complex problems of traditional testing, improves the testing efficiency and accuracy, is suitable for a variety of server configurations, has good compatibility and wide application prospect.

CN119254656APending Publication Date: 2025-01-03西安超越申泰信息科技有限公司
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202411358837.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-27
Publication Date
2025-01-03

AI Technical Summary

Technical Problem

Traditional server BMC network stability testing is cumbersome and error-prone, requires manual operation, is inefficient and increases labor and time costs. The complexity of the test varies from specific application scenarios, making it difficult to automate.

Method used

The BMC network is switched statically and dynamically through automated scripts or programs, and the Restful interface is used to receive test instructions and return results, and log information is recorded, including network connectivity testing and parameter comparison. It simplifies the test process and is suitable for all mainstream BMC module servers.

Benefits of technology

It significantly improves testing efficiency and accuracy, reduces operational burden, and reduces testing costs. It is suitable for a variety of server configurations, with good compatibility and wide application prospects.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119254656A_ABST
    Figure CN119254656A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of server BMC network testing, in particular to a server BMC network stability testing method, system and device and a medium. The method comprises the steps of automatically obtaining a current dynamic IP address and related network parameters of a to-be-tested server through a preset script or program; providing a user interface or a command line interface, and dynamically creating a Restful interface according to the input test times; before starting the test, creating a log file to record log information; repeatedly switching the BMC network configuration of the to-be-tested server from a slave state to a static state through an automatic script or program, executing a network connectivity test after switching, and recording current network parameters; and after the test is completed, information recorded in the log file is automatically checked and analyzed. The server BMC network stability testing method simulates a user use scene, automatically completes static and dynamic switching of the BMC network and recording and comparison of network parameters, and accordingly achieves comprehensive testing of the server BMC network stability.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of server BMC network testing, and to a server BMC network stability testing method, system, device and medium. Background Art

[0002] At present, with the rapid development and popularization of cloud computing technology, the demand for servers for various information services is growing. In the actual deployment and operation of servers, network stability is one of the key factors to ensure service quality. Especially for large data centers and multi-server cluster environments, server network stability testing is particularly important.

[0003] In the traditional testing process, in order to verify the network stability of the server's BMC (Baseboard Management Controller), testers often need to manually perform multiple operations, including switching between static and dynamic network addresses, checking network parameters, etc. These operations are not only cumbersome and error-prone, but also need to be repeated multiple times to ensure the comprehensiveness and accuracy of the test. This testing method is not only inefficient, but also increases labor and time costs.

[0004] In addition, since the server's network configuration and environment may vary depending on the specific application scenario, testers also need to perform customized testing for different server configurations, which further increases the complexity and workload of the test.

[0005] In order to solve the above problems, a method that can automatically test the stability of the server BMC network is urgently needed. This method can automatically complete operations such as switching between static and dynamic network addresses, checking and comparing network parameters, and can record test results for subsequent analysis. Through automated testing, the operating burden of testers can be significantly reduced, test efficiency and accuracy can be improved, and test costs can be reduced.

[0006] It should be noted that the information disclosed in the above background technology section is only used to enhance the understanding of the background of the present application, and therefore may include information that does not constitute the prior art known to ordinary technicians in the field. Summary of the invention

[0007] In order to provide a basic understanding of some aspects of the disclosed embodiments, a brief summary is given below. The summary is not an extensive review, nor is it intended to identify key / critical components or delineate the scope of protection of these embodiments, but rather serves as a prelude to the detailed description that follows.

[0008] The embodiments of the present disclosure provide a method, system, device and medium for testing the stability of a server BMC network, which simulates user usage scenarios, automatically completes static and dynamic switching of the BMC network, and records and compares network parameters, thereby achieving a comprehensive test of the stability of the server BMC network.

[0009] In some embodiments, the method comprises:

[0010] Automatically obtain the current dynamic IP address and related network parameters of the server to be tested, including subnet mask and default gateway, through a preset script or program;

[0011] Provide a user interface or command line interface to allow users to enter the number of tests, and dynamically create a Restful interface based on the entered number of tests to receive test instructions and return test results;

[0012] Before starting the test, a log file is automatically created and named according to the current date. The file is used to record all log information during the entire test process, including the status of BMC dynamic and static switching, network connectivity test results, and network parameter changes.

[0013] Use automated scripts or programs to repeatedly switch the BMC network configuration of the server under test from dynamic to static and then back to dynamic. Perform a network connectivity test after each switch and record the current network parameters.

[0014] After the test is completed, the information recorded in the log file is automatically checked and analyzed to confirm whether there is any switching failure during the BMC dynamic and static switching process, and whether the network parameters have changed within the expected range.

[0015] Preferably, the network connectivity test includes a ping operation performed using the ICMP protocol, and connectivity verification performed through other network protocols.

[0016] Preferably, the log record file stores information in a structured data format, including JSON, XML or CSV.

[0017] Preferably, according to the number of tests input by the user, an automated script or program is used to repeatedly switch the BMC network configuration of the server to be tested from dynamic to static and then from static back to dynamic at a time interval specified by the user during the test process, and a network connectivity test is performed immediately after each switch, which includes obtaining the current dynamic IP address and related network parameters in each test environment, including: subnet mask, default gateway; and automatically writing the obtained test result information into the created log file.

[0018] Preferably, the status of dynamic and static switching of BMC network configuration, network connectivity test results and network parameters are recorded through SEL log information, and based on the obtained SEL log information, it is checked whether there is any switching failure in the BMC network configuration switching process; if not, the server to be tested is manually restarted, and the test is repeated after the operating system of the server to be tested is restarted.

[0019] Preferably, according to the obtained SEL log information, the specific method of checking whether there is a switching failure in the BMC network configuration switching process is as follows:

[0020] Determine whether the network parameters have changed. If so, automatically name the log file according to the recorded current time information and SEL log content, and end the test. If not, automatically search for the default gateway in the SEL log information, and check whether it has changed within the expected range. If so, automatically name the log file according to the recorded current time information and SEL log content, and end the test. If not, return to the step of checking whether the system meets the test environment requirements.

[0021] Preferably, the process of judging whether the network parameters have changed is as follows: comparing the network parameters with preset thresholds, if the network parameters are within the expected range, it can be considered that the BMC network parameters are set successfully and the network parameters of the server to be tested change normally; if the network parameters are outside the expected range, it can be considered that the BMC network parameters have failed to be set and the network settings of the server to be tested have failed.

[0022] In some embodiments, the system comprises:

[0023] Data collection module, used to obtain the dynamic IP address and network parameters of the server to be tested;

[0024] The test control module is used to receive the test number input by the user and create a Restful interface to control the test process;

[0025] The log management module is used to create and manage log files named by date and record all log information during the test process;

[0026] Test execution module, used to execute BMC network dynamic and static switching operations and network connectivity tests;

[0027] The result analysis module is used to check and analyze the information in the log files and generate a test result report.

[0028] In some embodiments, the device includes: a processor and a memory storing program instructions, wherein the processor is configured to execute the server BMC network stability testing method when running the program instructions.

[0029] The present disclosure provides a method, system, device and medium for testing the stability of a server BMC network, which can achieve the following technical effects:

[0030] By introducing the Restful interface to achieve automated testing, the tedious operating steps in traditional manual testing, such as static and dynamic network switching, network parameter checking, etc., are significantly reduced, thereby greatly improving the test efficiency. The automated testing method simplifies the test process, allowing testers to focus more on analyzing test results and solving problems rather than repetitive operational tasks. By repeatedly switching network modes and comparing the consistency of network parameters, this test method can more accurately simulate the user's actual usage scenarios, thereby discovering potential network stability issues. This test method is applicable to all mainstream servers with BMC (baseboard management controller) modules, and has good compatibility and broad application prospects. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] One or more embodiments are exemplarily described by corresponding drawings, which do not limit the embodiments. Elements with the same reference numerals in the drawings are shown as similar elements, and the drawings do not constitute a scale limitation, and wherein:

[0032] Figure 1 It is a schematic flow chart of the method of the present invention;

[0033] Figure 2 It is a schematic diagram of a server BMC network stability testing device provided by an embodiment of the present disclosure. DETAILED DESCRIPTION

[0034] In order to be able to understand the features and technical contents of the embodiments of the present disclosure in more detail, the implementation of the embodiments of the present disclosure is described in detail below in conjunction with the accompanying drawings. The attached drawings are for reference only and are not used to limit the embodiments of the present disclosure. In the following technical description, for the convenience of explanation, a full understanding of the disclosed embodiments is provided through multiple details. However, one or more embodiments can still be implemented without these details. In other cases, to simplify the drawings, well-known structures and devices can be simplified for display.

[0035] The terms "first", "second", etc. in the specification and claims of the embodiments of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the terms used in this way can be interchanged where appropriate, so as to describe the embodiments of the embodiments of the present disclosure described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions.

[0036] Unless otherwise stated, the term "plurality" means two or more.

[0037] In the embodiment of the present disclosure, the character " / " indicates that the preceding and following objects are in an "or" relationship. For example, A / B indicates: A or B.

[0038] The term "and / or" is a description of the association relationship between objects, indicating that three relationships can exist. For example, A and / or B means: A or B, or, A and B.

[0039] The term "correspondence" may refer to an association relationship or a binding relationship. The correspondence between A and B means that there is an association relationship or a binding relationship between A and B.

[0040] Combination Figure 1 , a method for testing the stability of a server BMC network, comprising:

[0041] S1: Automatically obtain the current dynamic IP address and related network parameters of the server to be tested, including subnet mask and default gateway, through a preset script or program;

[0042] S2: Provide a user interface or command line interface to allow users to input the number of tests, and dynamically create a Restful interface based on the input number of tests to receive test instructions and return test results;

[0043] S3: Before starting the test, a log file is automatically created and named according to the current date. The file is used to record all log information during the entire test process, including the status of BMC dynamic and static switching, network connectivity test results, and network parameter changes;

[0044] S4: Use an automated script or program to repeatedly switch the BMC network configuration of the server under test from dynamic to static and then from static back to dynamic. Perform a network connectivity test after each switch and record the current network parameters.

[0045] S5: After the test is completed, the information recorded in the log file is automatically checked and analyzed to confirm whether there is a switching failure during the BMC dynamic and static switching process, and whether the network parameters change within the expected range.

[0046] As a refinement of the above embodiment, the network connectivity test includes a ping operation performed using the ICMP protocol, and connectivity verification performed through other network protocols.

[0047] It explicitly proposes to use the ICMP protocol to perform ping operations to detect network connectivity, which ensures the accuracy and reliability of the test results. At the same time, by introducing other network protocols for connectivity verification, the comprehensiveness and adaptability of the test are further improved.

[0048] As a refinement of the above embodiment, the log record file stores information in a structured data format, including JSON, XML or CSV.

[0049] Using structured data formats (such as JSON, XML, or CSV) to store log files makes the information during the test more standardized, easy to manage, and easy to analyze. This format not only facilitates quick query of test results, but also improves the reusability and scalability of data.

[0050] As a refinement of the above embodiment, according to the number of tests input by the user, an automated script or program is used to repeatedly switch the BMC network configuration of the server to be tested from dynamic to static and then from static back to dynamic at a time interval specified by the user during the test process, and a network connectivity test is performed immediately after each switch, which includes obtaining the current dynamic IP address and related network parameters in each test environment, including: subnet mask, default gateway; and automatically writing the obtained test result information into the created log file.

[0051] Using automated scripts or programs to perform repeated tests based on the number of tests and time intervals entered by the user significantly improves the flexibility and automation of the test. Users can adjust test parameters according to actual needs to achieve more accurate and efficient test coverage.

[0052] As a refinement of the above embodiment, the status of dynamic and static switching of BMC network configuration, network connectivity test results and network parameters are recorded through SEL log information. According to the obtained SEL log information, it is checked whether there is a switching failure in the BMC network configuration switching process; if not, the server to be tested is manually restarted, and the test is repeated after the operating system of the server to be tested is restarted.

[0053] As a refinement of the above embodiment, according to the acquired SEL log information, the specific method of checking whether there is a switching failure in the BMC network configuration switching process is as follows:

[0054] Determine whether the network parameters have changed. If so, automatically name the log file according to the recorded current time information and SEL log content, and end the test. If not, automatically search for the default gateway in the SEL log information, and check whether it has changed within the expected range. If so, automatically name the log file according to the recorded current time information and SEL log content, and end the test. If not, return to the step of checking whether the system meets the test environment requirements.

[0055] By repeatedly switching the BMC network mode and comparing network parameters to simulate actual user usage scenarios, this test method can more realistically reflect the network stability of the server. This highly simulated test environment helps to discover potential network problems and improve the reliability of test results.

[0056] As a refinement of the above embodiment, the process of judging whether the network parameters have changed is as follows: comparing the network parameters with the preset thresholds. If the network parameters are within the expected range, it can be considered that the BMC network parameter settings are successful and the network parameters of the server to be tested change normally; if the network parameters are outside the expected range, it can be considered that the BMC network parameter settings have failed and the network settings of the server to be tested have failed.

[0057] It should be noted that this test method is applicable to all mainstream servers with BMC modules. This method is easy to operate and has strong usability. The modules in the program have a clear structure and are easy to maintain. It does not require complicated result processing and realizes automated testing of BMC network stability, which greatly saves test time and improves test efficiency.

[0058] A server BMC network stability testing system, comprising:

[0059] Data acquisition module

[0060] Functional description:

[0061] The data acquisition module is responsible for obtaining the dynamic IP address and key network parameters (such as subnet mask, default gateway, etc.) of the server to be tested in real time. These data will serve as the basis for subsequent test analysis and judgment.

[0062] Implementation:

[0063] Use system commands or network scanning tools to periodically obtain the current network configuration information from the server BMC interface and store it in a temporary database for use by subsequent modules.

[0064] Test control module

[0065] Functional description:

[0066] The test control module is responsible for receiving the test number input by the user and creating a Restful interface for remotely controlling the start, pause, continue and end of the test process. At the same time, this module is also responsible for coordinating other modules to execute tests according to the established process.

[0067] Implementation:

[0068] Use a web service framework (such as Flask or Spring Boot) to implement a Restful API, and users send test parameters and instructions through HTTP requests. The module uses a state machine or message queue to manage the test process.

[0069] Log management module

[0070] Functional description:

[0071] The log management module is responsible for creating and managing date-named log files to record all log information during the test process. Log files use structured data formats (such as JSON, XML, or CSV) to facilitate subsequent analysis and processing.

[0072] Implementation:

[0073] Use Python's logging library or Java's Log4j library to manage log files. Create a log file based on the current date before the test starts, and write log information in real time during the test.

[0074] Test execution module

[0075] Functional description:

[0076] The test execution module is responsible for executing the dynamic and static switching operations of the BMC network and performing the network connectivity test after each switch. The network connectivity test includes the ping operation using the ICMP protocol and the connectivity verification through other network protocols.

[0077] Implementation:

[0078] Write an automated script or program to control the server's BMC interface to switch the network configuration from dynamic to static and back to dynamic at user-specified time intervals. Perform a network connectivity test immediately after each switch and record the test results and current network parameters.

[0079] Result Analysis Module

[0080] Functional description:

[0081] The result analysis module is responsible for checking and analyzing the information in the log file and generating a detailed test result report. The report should include the switching status of the BMC network configuration during the test, the network connectivity test results, the changes in network parameters, and whether there is a switching failure.

[0082] Implementation:

[0083] Write analysis scripts to read the data in the log files and determine whether the BMC network configuration is switched successfully, whether the network connectivity is stable, and whether the network parameters change within the expected range based on the preset rules and thresholds. Generate a test report based on the analysis results and provide it to the user for review and evaluation.

[0084] Combination Figure 2 As shown, an embodiment of the present disclosure provides a testing device 300 for server BMC network stability, including a processor 304 and a memory 301. Optionally, the device may also include a communication interface 302 and a bus 303. The processor 304, the communication interface 302, and the memory 301 may communicate with each other through the bus 303. The communication interface 302 may be used for information transmission. The processor 304 may call the logic instructions in the memory 301 to execute the server BMC network stability testing method of the above embodiment.

[0085] In addition, the logic instructions in the memory 301 described above can be implemented in the form of software functional units and can be stored in a computer-readable storage medium when sold or used as an independent product.

[0086] The memory 301 is a computer-readable storage medium that can be used to store software programs and computer executable programs, such as program instructions / modules corresponding to the method in the embodiment of the present disclosure. The processor 304 executes the functional application and data processing by running the program instructions / modules stored in the memory 301, that is, the server BMC network stability test method in the above embodiment is implemented.

[0087] The memory 301 may include a program storage area and a data storage area, wherein the program storage area may store an operating system and an application required for at least one function; the data storage area may store data created according to the use of the terminal device, etc. In addition, the memory 301 may include a high-speed random access memory and may also include a non-volatile memory.

[0088] An embodiment of the present disclosure provides a computer-readable storage medium storing computer-executable instructions, wherein the computer-executable instructions are configured to execute the above-mentioned server BMC network stability testing method.

[0089] The computer-readable storage medium mentioned above may be a transient computer-readable storage medium or a non-transitory computer-readable storage medium.

[0090] The technical solution of the embodiment of the present disclosure can be embodied in the form of a software product, which is stored in a storage medium and includes one or more instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method described in the embodiment of the present disclosure. The aforementioned storage medium may be a non-transient storage medium, including: a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk, and other media that can store program codes, or a transient storage medium.

[0091] The above description and the accompanying drawings fully illustrate the embodiments of the present disclosure so that those skilled in the art can practice them. Other embodiments may include structural, logical, electrical, process and other changes. The embodiments represent only possible changes. Unless explicitly required, separate components and functions are optional, and the order of operation may vary. The parts and features of some embodiments may be included in or replace the parts and features of other embodiments. Moreover, the words used in this application are only used to describe the embodiments and are not used to limit the claims. As used in the description of the embodiments and the claims, unless the context clearly indicates, the singular forms of "a", "an" and "the" are intended to include plural forms as well. Similarly, the term "and / or" as used in this application refers to any and all possible combinations of listings containing one or more associated ones. In addition, when used in the present application, the term "comprise" and its variants "comprises" and / or comprising refer to the presence of stated features, wholes, steps, operations, elements, and / or components, but do not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or groups thereof. In the absence of further restrictions, the elements defined by the sentence "comprising a ..." do not exclude the presence of other identical elements in the process, method or device comprising the elements. In this article, each embodiment may focus on the differences from other embodiments, and the same and similar parts between the embodiments may refer to each other. For the methods, products, etc. disclosed in the embodiments, if they correspond to the method part disclosed in the embodiments, then the relevant parts can refer to the description of the method part.

[0092] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software may depend on the specific application and design constraints of the technical solution. The technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the embodiments of the present disclosure. The technicians may clearly understand that for the convenience and simplicity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here.

[0093] In the embodiments disclosed herein, the disclosed methods and products (including but not limited to devices, equipment, etc.) can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units can be only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the coupling or direct coupling or communication connection between each other shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms. The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to implement this embodiment. In addition, each functional unit in the embodiment of the present disclosure may be integrated in a processing unit, or each unit may exist physically alone, or two or more units may be integrated in one unit.

[0094] The flowchart and block diagram in the accompanying drawings show the possible architecture, function and operation of the system, method and computer program product according to the embodiment of the present disclosure. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of the code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. In some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, which can depend on the functions involved. In the description corresponding to the flowchart and the block diagram in the accompanying drawings, the operations or steps corresponding to different boxes can also occur in a different order from the order disclosed in the description, and sometimes there is no specific order between different operations or steps. For example, two consecutive operations or steps can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, which can depend on the functions involved. Each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, may be implemented by a dedicated hardware-based system that performs the specified functions or actions, or may be implemented by a combination of dedicated hardware and computer instructions.

Claims

1. A method for testing the stability of a server BMC network, characterized in that: The following steps are involved: Automatically obtain the current dynamic IP address and related network parameters of the server to be tested, including subnet mask and default gateway, through a preset script or program; Provide a user interface or command line interface to allow users to enter the number of tests, and dynamically create a Restful interface based on the entered number of tests to receive test instructions and return test results; Before starting the test, a log file is automatically created and named according to the current date. The file is used to record all log information during the entire test process, including the status of BMC dynamic and static switching, network connectivity test results, and network parameter changes. Use automated scripts or programs to repeatedly switch the BMC network configuration of the server under test from dynamic to static and then back to dynamic. Perform a network connectivity test after each switch and record the current network parameters. After the test is completed, the information recorded in the log file is automatically checked and analyzed to confirm whether there is any switching failure during the BMC dynamic and static switching process, and whether the network parameters have changed within the expected range.

2. The method for testing the server BMC network stability according to claim 1, characterized in that: The network connectivity test includes a ping operation performed using the ICMP protocol and connectivity verification performed using other network protocols.

3. The method for testing the server BMC network stability according to claim 1, characterized in that: The log record file stores information in a structured data format, including JSON, XML, or CSV.

4. The method for testing the server BMC network stability according to claim 1, characterized in that: According to the test times input by the user, an automated script or program is used to repeatedly switch the BMC network configuration of the server to be tested from dynamic to static and then from static back to dynamic at the time interval specified by the user during the test process. A network connectivity test is performed immediately after each switch, which includes obtaining the current dynamic IP address and related network parameters in each test environment, including: subnet mask, default gateway; and automatically writing the obtained test result information into the created log file.

5. The method for testing the server BMC network stability according to claim 1, characterized in that: Use the SEL log information to record the status of dynamic and static switching of BMC network configuration, network connectivity test results, and network parameters. According to the obtained SEL log information, check whether there is any switching failure in the BMC network configuration switching process; if not, manually restart the server to be tested, and repeat the test after the operating system of the server to be tested is restarted.

6. The method for testing the server BMC network stability according to claim 5, characterized in that: According to the obtained SEL log information, check whether there is a switch failure during the BMC network configuration switch process. The specific method is as follows: Determine whether the network parameters have changed. If so, automatically name the log file according to the recorded current time information and SEL log content, and end the test. If not, automatically search for the default gateway in the SEL log information, and check whether it has changed within the expected range. If so, automatically name the log file according to the recorded current time information and SEL log content, and end the test. If not, return to the step of checking whether the system meets the test environment requirements.

7. The method for testing the server BMC network stability according to claim 6, characterized in that: The process of judging whether the network parameters have changed is as follows: the network parameters are compared with the preset thresholds. If the network parameters are within the expected range, it can be considered that the BMC network parameters are set successfully and the network parameters of the server to be tested change normally; if the network parameters are outside the expected range, it can be considered that the BMC network parameters are set unsuccessfully and the network settings of the server to be tested fail.

8. A server BMC network stability testing system for implementing the method of claim 1, characterized in that: include: Data collection module, used to obtain the dynamic IP address and network parameters of the server to be tested; The test control module is used to receive the test number input by the user and create a Restful interface to control the test process; The log management module is used to create and manage log files named by date and record all log information during the test process; Test execution module, used to execute BMC network dynamic and static switching operations and network connectivity tests; The result analysis module is used to check and analyze the information in the log files and generate a test result report.

9. A server BMC network stability testing device, comprising a processor and a memory storing program instructions, characterized in that: The processor is configured to execute the server BMC network stability testing method according to any one of claims 1 to 7 when running the program instructions.

10. A storage medium storing program instructions, characterized in that: When the program instructions are executed, the method for testing the server BMC network stability according to any one of claims 1 to 7 is executed.

Citation Information

Cited By

  • Server test method and device, storage medium and electronic device

    CN120523672A

  • Test method and device of server, storage medium and electronic device

    CN120523672B