CN112073263A - Method, system, equipment and medium for testing and monitoring reliability of white box switch - Google Patents

Method, system, equipment and medium for testing and monitoring reliability of white box switch Download PDF

Info

Publication number
CN112073263A
CN112073263A CN202010884862.0A CN202010884862A CN112073263A CN 112073263 A CN112073263 A CN 112073263A CN 202010884862 A CN202010884862 A CN 202010884862A CN 112073263 A CN112073263 A CN 112073263A
Authority
CN
China
Prior art keywords
switch
firmware
white box
monitoring
reliability
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
CN202010884862.0A
Other languages
Chinese (zh)
Other versions
CN112073263B (en
Inventor
商思亮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Suzhou Inspur Intelligent Technology Co Ltd
Original Assignee
Suzhou Inspur 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 Inspur Intelligent Technology Co Ltd filed Critical Suzhou Inspur Intelligent Technology Co Ltd
Priority to CN202010884862.0A priority Critical patent/CN112073263B/en
Publication of CN112073263A publication Critical patent/CN112073263A/en
Application granted granted Critical
Publication of CN112073263B publication Critical patent/CN112073263B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • H04L43/0817Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking functioning
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • 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/0813Configuration setting characterised by the conditions triggering a change of settings
    • H04L41/082Configuration setting characterised by the conditions triggering a change of settings the condition being updates or upgrades of network functionality
    • 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)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Environmental & Geological Engineering (AREA)
  • Debugging And Monitoring (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

The invention relates to a method for testing and monitoring the reliability of a white box switch, which runs in an operating system of the white box switch and comprises the following steps: acquiring version information of all firmware in the switch, judging whether the firmware is the latest version, and if not, updating; when all the internal firmware of the switch is the latest version, pressurizing the CPU and the memory to acquire the use conditions of the CPU and the memory; enabling the driving end, sequentially UP all ports, forwarding data and enabling the exchange chip to operate under full load pressure; the invention also provides a system, equipment and medium for testing and monitoring the reliability of the white box switch, which fully utilize the characteristic of flexibility of opening the white box switch and are integrated in the switch operating system, thereby improving the efficiency of the reliability testing process of the white box switch and further improving the quality and reliability of the reliability testing of the white box switch.

Description

Method, system, equipment and medium for testing and monitoring reliability of white box switch
Technical Field
The invention relates to the field of switch testing, in particular to a method, a system, equipment and a medium for testing and monitoring the reliability of a white box switch.
Background
With the rapid development of the mobile internet technology, the amount of network users is rapidly increased, more and more data are converted by a data center, and the share of the white box switch occupying the market, which has the advantages of openness, flexibility, high efficiency and the like, is more and more. Because the data center bears a large data forwarding amount, one switch bears the data forwarding tasks of dozens of servers and even hundreds of servers, and the switch basically runs at full pressure and full load at other times except for regular maintenance, the reliability of the switch is very important.
The switch reliability test generally simulates the environment of the switch in the transportation process or the working process under the conditions of different climates, temperatures, altitudes, vibrations and the like through a warm box, a vibration table and the like; in a simulation environment, the exchanger bears the pressure of full load operation, and the hardware loss of the machine is accelerated by changing or increasing the environmental stress, so that the defects and the defects on the hardware of the machine can be quickly exposed; therefore, an improved direction is provided for hardware research and development colleagues in time, and the purpose of enabling the performance of the switch to be more stable and reliable is achieved. According to the reliability test standard and the related national standard, the general reliability test flow also needs to combine with the user requirements to make a corresponding reliability test strategy.
The general test strategy uses 3 prototype machines to collectively perform more than 20 test items, wherein the test item with the longest duration is 6 days and even longer according to the requirements of customers. In the reliability test, the switch carries out data forwarding at full load in the whole process, namely, a testing tool needs to occupy a CPU and a memory in the whole process and simultaneously forward data flow at full load in the whole process in the testing process, and then the occupation ratio of the CPU and the memory is checked at any time, whether hardware functions are lost, whether downtime and blocking exist or not is checked at any time. For the above process, firstly, the tester is required to check and update the firmware version, prepare the script of the memory CPU pressurization and the exchange chip broadcasting storm during the test, and then the tester is required to watch the shift to check the test data and the sensor information during the test process, but the white box switch has the greatest advantages of openness and flexibility, and is not beneficial to the improvement of the reliability test efficiency of the white box switch and the monitoring of the test process.
Disclosure of Invention
The invention aims to solve the problems in the prior art, innovatively provides a method, a system, equipment and a medium for testing and monitoring the reliability of a white box switch, effectively solves the problem of low reliability testing efficiency of the white box switch caused by the prior art, effectively improves the reliability testing efficiency of the white box switch, and facilitates comprehensive monitoring in the testing process.
The first aspect of the present invention provides a method for testing and monitoring reliability of a white box switch, which runs inside an operating system of the white box switch, and comprises:
acquiring version information of all firmware in the switch, judging whether the firmware is the latest version, and if not, updating;
when all the internal firmware of the switch is the latest version, pressurizing the CPU and the memory to acquire the use conditions of the CPU and the memory;
enabling the driving end, sequentially UP all ports, forwarding data and enabling the exchange chip to operate under full load pressure;
and monitoring the firmware state of the switch and the sensor information in real time through the switch operating system in the test process.
Optionally, all internal firmware of the switch includes CPLD firmware, BMC firmware, and BIOS firmware.
Optionally, the CPU and memory usage rates are greater than a first threshold.
Optionally, when the port down exists, the prompt message is sent.
Optionally, the method further comprises:
and when the state of the switch firmware or the sensor information is monitored to be abnormal, sending first prompt information.
Optionally, the method further comprises:
and monitoring the data receiving and sending condition in real time through the switch operating system in the test process, and sending second prompt information when the data receiving and sending condition is abnormal.
Optionally, the first prompt message and the second prompt message each include abnormality information, abnormality cause information, and abnormality environment information.
The second aspect of the present invention provides a reliability testing and monitoring system for a white box switch, which is integrated inside an operating system of the white box switch, and comprises:
the acquisition module acquires the version information of all the firmware in the switch, judges whether the firmware is the latest version or not, and updates the firmware if the firmware is not the latest version;
the pressurization module is used for pressurizing the CPU and the memory to acquire the use conditions of the CPU and the memory after all the firmware in the switch is the latest version;
the driving forwarding module enables a driving end to UP all ports in sequence to forward data so as to enable the exchange chip to operate under full load pressure;
and the monitoring module monitors the firmware state of the switch and the sensor information in real time through the switch operating system in the test process.
A third aspect of the present invention provides a white box switch reliability test monitoring apparatus, including: a memory for storing a computer program; a processor for implementing the steps of the reliability test monitoring method for the white box switch according to the first aspect of the present invention when executing the computer program.
A first aspect of the present invention provides a computer-readable storage medium, characterized in that the computer-readable storage medium has stored thereon a computer program, which when executed by a processor, implements the steps of the method for monitoring reliability test of a white box switch according to the first aspect of the present invention.
The technical scheme adopted by the invention comprises the following technical effects:
1. the invention effectively solves the problem of low reliability testing efficiency of the white box switch in the prior art, effectively improves the reliability testing efficiency of the white box switch and is convenient for comprehensive monitoring in the testing process.
2. According to the technical scheme, after all the switch firmware versions are the latest versions, the reliability test is performed, so that the influence on the test result caused by the firmware version problem is avoided.
3. In the technical scheme of the invention, data are forwarded after all ports are UP in sequence, and when the ports are down, prompt information is sent, so that a tester can conveniently acquire the port condition in time and adjust the ports in time, the influence on a test result caused by the port problem is avoided, and the reliability of the test result is ensured.
4. According to the technical scheme, when the state of the switch firmware or the sensor information is monitored to be abnormal, first prompt information is sent; when the data receiving and sending conditions are abnormal, second prompt information is sent; the tester can conveniently and timely acquire the switch test environment condition and timely adjust the switch test environment condition, thereby avoiding the influence on the test result caused by the switch hardware problem and ensuring the reliability of the test result.
5. According to the technical scheme, the test monitoring system is integrated in the white box switch operating system, the preparation work of compiling the test script by a tester in the test stage is reduced, and after the switch OS is updated, the test monitoring system is updated according to the updated switch OS, so that the complex operation that the test monitoring system is updated first and then the test monitoring system is updated after the switch OS is updated is avoided, and the test efficiency is improved.
6. The technical scheme of the invention fully utilizes the characteristic of flexible opening of the white box switch, is integrated in the switch operating system, can automatically open the test program, intelligently monitor and record test information and feed back test abnormality at the first time, improves the efficiency of the reliability test process of the white box switch, and further improves the quality and reliability of the reliability test of the white box switch.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the invention, as claimed.
Drawings
In order to more clearly illustrate the embodiments or technical solutions in the prior art of the present invention, the drawings used in the description of the embodiments or prior art will be briefly described below, and it is obvious for those skilled in the art that other drawings can be obtained based on these drawings without any creative effort.
FIG. 1 is a schematic flow diagram of a process according to an embodiment of the present invention;
FIG. 2 is a schematic flow diagram of a second method embodiment of the present invention;
FIG. 3 is a schematic flow diagram of a third embodiment of a method according to aspects of the present invention;
FIG. 4 is a schematic structural diagram of a system according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a fifth apparatus in an embodiment of the present invention.
Detailed Description
In order to clearly explain the technical features of the present invention, the following detailed description of the present invention is provided with reference to the accompanying drawings. The following disclosure provides many different embodiments, or examples, for implementing different features of the invention. To simplify the disclosure of the present invention, the components and arrangements of specific examples are described below. Furthermore, the present invention may repeat reference numerals and/or letters in the various examples. This repetition is for the purpose of simplicity and clarity and does not in itself dictate a relationship between the various embodiments and/or configurations discussed. It should be noted that the components illustrated in the figures are not necessarily drawn to scale. Descriptions of well-known components and processing techniques and procedures are omitted so as to not unnecessarily limit the invention.
Example one
As shown in fig. 1, the present invention provides a method for testing and monitoring reliability of a white box switch, which runs inside an operating system of the white box switch, and includes:
s1, obtaining the version information of all the firmware in the switch, judging whether the firmware is the latest version, if yes, executing the step S2, if no, executing the step S3;
s2, when all the internal firmware of the switch is the latest version, pressurizing the CPU and the memory to obtain the use condition of the CPU and the memory;
s3, updating the firmware which is not the latest version, and returning to the step S1 after updating;
s4, enabling the driving end, UP all ports in sequence, forwarding data and enabling the exchange chip to operate under full load pressure;
and S5, monitoring the switch firmware state and the sensor information in real time through the switch operating system in the test process.
In step S1, all the internal firmware of the switch may include CPLD firmware, BMC firmware, BIOS firmware, or other firmware, and may be flexibly selected according to the actual situation, and the technical solution of the present invention is not limited herein.
In step S2, the CPU and the memory usage rates are both greater than the first threshold, and if not greater than the first threshold, re-pressurization is required, and the usage rate is obtained and determined again, where the first threshold may be 90%, and may also be adjusted according to the actual situation, and the technical solution of the present invention is not limited herein.
In step S3, the firmware update mode and path are set in advance, the firmware version information is obtained and a popup is performed to inquire whether the update is needed, if the update is needed, the automatic update process is started to update all the firmware that does not conform to the latest version, and after the update is completed, the step S1 is automatically performed to re-obtain and judge; if the updating is not needed or not selected, the popup query is repeated after the first time, the first time may be 5S, or may be adjusted, and after the query is repeated twice, the updating is determined to fail, and the step S3 is continuously executed again.
In step S4, the driving end enables (enable) and sequentially UP all ports, and then checks whether all ports are UP, and if there is a port DOWN, prompts the tester to troubleshoot cable faults or other problems; after the faults are eliminated until all ports are UP, a Virtual Local Area Network (VLAN) is configured to broadcast storms (or a Network tester) to forward data, the pressure of the full-load operation of the switching chip is given, the working environment of the full-load operation of the switch is simulated by independently pressurizing a memory CPU and the switching chip, and compared with the conventional test, a tester manually inputs a command to simulate pressurization and manually configures the vlan, so that the configuration time in the test is reduced, and the efficiency of the whole test process is improved.
It should be noted that, in the embodiment of the present invention, steps S1-S5 may all be implemented by programming in a computer programming language, and a specific programming idea corresponds to the steps in the present embodiment, and may also be implemented in other manners, which is not limited herein.
The invention effectively solves the problem of low reliability testing efficiency of the white box switch in the prior art, effectively improves the reliability testing efficiency of the white box switch and is convenient for comprehensive monitoring in the testing process.
According to the technical scheme, after all the switch firmware versions are the latest versions, the reliability test is performed, so that the influence on the test result caused by the firmware version problem is avoided.
In the technical scheme of the invention, data are forwarded after all ports are UP in sequence, and when the ports are down, prompt information is sent, so that a tester can conveniently acquire the port condition in time and adjust the ports in time, the influence on a test result caused by the port problem is avoided, and the reliability of the test result is ensured.
The technical scheme of the invention fully utilizes the characteristic of flexible opening of the white box switch, is integrated in the switch operating system, can automatically open the test program, intelligently monitor and record test information and feed back test abnormality at the first time, improves the efficiency of the reliability test process of the white box switch, and further improves the quality and reliability of the reliability test of the white box switch.
Example two
As shown in fig. 2, the technical solution of the present invention further provides a method for testing and monitoring reliability of a white box switch, which runs inside an operating system of the white box switch, and includes:
s1, obtaining the version information of all the firmware in the switch, judging whether the firmware is the latest version, if yes, executing the step S2, if no, executing the step S3;
s2, when all the internal firmware of the switch is the latest version, pressurizing the CPU and the memory to obtain the use condition of the CPU and the memory;
s3, updating the firmware which is not the latest version, and returning to the step S1 after updating;
s4, enabling the driving end, UP all ports in sequence, forwarding data and enabling the exchange chip to operate under full load pressure;
s5, monitoring the switch firmware state and the sensor information in real time through the switch operating system in the test process;
and S6, when the state of the switch firmware or the sensor information is detected to be abnormal, sending a first prompt message.
The first prompt message comprises abnormal information, abnormal reason information and abnormal environment information. The abnormal information may correspond to a device where an abnormality occurs, a hardware name, or a type of the abnormal information, the abnormal cause information may correspond to a cause of the abnormality, and the abnormal environment information may correspond to a device where an abnormality occurs, hardware environment information, or test environment information.
Monitoring the switch firmware state and the sensor information in real time through the switch operating system in steps S5-S6; when the state of the switch firmware or the sensor information is monitored to be abnormal, first prompt information is sent, and a tester needs to check the state on site and record information on site in the traditional test mode in the whole process, so that great waste is caused to manpower resources; compared with the traditional test mode, the test information of the switch can be remotely monitored and actively recorded, in the normal test stage, testers can be replaced, the person is not needed to watch under the condition that no abnormal problem occurs, any abnormal situation can inform the testers through the modes of popup windows and the like, the testers can find the problem immediately, corresponding solutions are provided and measures are taken, the test labor cost and burden are greatly reduced, and the test efficiency and quality are improved.
It should be noted that, in the embodiment of the present invention, steps S1-S6 may all be implemented by programming in a computer programming language, and a specific programming idea corresponds to the steps in the present embodiment, and may also be implemented in other manners, which is not limited herein.
According to the technical scheme, when the state of the switch firmware or the sensor information is monitored to be abnormal, first prompt information is sent; the tester can conveniently and timely acquire the switch test environment condition and timely adjust the switch test environment condition, thereby avoiding the influence on the test result caused by the switch hardware problem and ensuring the reliability of the test result.
EXAMPLE III
As shown in fig. 3, the technical solution of the present invention further provides a method for testing and monitoring reliability of a white box switch, which runs inside an operating system of the white box switch, and includes:
s1, obtaining the version information of all the firmware in the switch, judging whether the firmware is the latest version, if yes, executing the step S2, if no, executing the step S3;
s2, when all the internal firmware of the switch is the latest version, pressurizing the CPU and the memory to obtain the use condition of the CPU and the memory;
s3, updating the firmware which is not the latest version, and returning to the step S1 after updating;
s4, enabling the driving end, UP all ports in sequence, forwarding data and enabling the exchange chip to operate under full load pressure;
s5, monitoring the switch firmware state and the sensor information in real time through the switch operating system in the test process;
s6, when the state of the switch firmware or the sensor information is monitored to be abnormal, first prompt information is sent;
and S7, monitoring the data receiving and sending condition in real time through the switch operating system in the test process, and sending second prompt information when the data receiving and sending condition is abnormal.
The second prompt message may include exception information, exception cause information, exception environment information, the exception information may correspond to a type of the exception information, etc., the exception cause information may correspond to a cause of the exception, and the exception environment information may correspond to a device causing the exception, hardware environment information, test environment information, etc. Data receiving and sending abnormity is generally caused by hardware abnormity or hardware function loss, for example, hardware function mainly refers to functions of a hard disk, a memory, a PSU and the like, hard disk data reading and writing are abnormal when the hard disk function is lost, a system is blocked or down when the memory function is lost, and a machine is powered off or voltage is unstable when the PSU function is lost.
It should be noted that, in the embodiment of the present invention, steps S1-S7 may all be implemented by programming in a computer programming language, and a specific programming idea corresponds to the steps in the present embodiment, and may also be implemented in other manners, which is not limited herein.
According to the technical scheme, the load conditions of the memory CPU and the exchange chip are monitored in real time, the tester is reminded in a popup mode at the first time when an abnormality occurs, all data in the testing process are recorded on the hard disk in real time, the data cannot be lost due to crash or restart, and the tester can analyze the testing data conveniently.
In step S7, the data transceiving conditions are monitored in real time by the switch operating system; when the situation of data receiving and sending is monitored to be abnormal, second prompt information is sent, and in the traditional test mode, a tester needs to check the situation in the whole process, record information in the situation, and great waste is caused to manpower resources; compared with the traditional test mode, the test information of the switch can be remotely monitored and actively recorded, in the normal test stage, testers can be replaced, the person is not needed to watch under the condition that no abnormal problem occurs, any abnormal situation can inform the testers through the modes of popup windows and the like, the testers can find the problem immediately, corresponding solutions are provided and measures are taken, the test labor cost and burden are greatly reduced, and the test efficiency and quality are improved.
In the technical scheme of the invention, when the data receiving and sending conditions are abnormal, second prompt information is sent; the tester can conveniently and timely acquire the switch test environment condition and timely adjust the switch test environment condition, thereby avoiding the influence on the test result caused by the switch hardware problem and ensuring the reliability of the test result.
Example four
As shown in fig. 4, the technical solution of the present invention further provides a reliability testing and monitoring system for a white box switch, which is integrated in an operating system of the white box switch, and includes:
the acquisition module 101 acquires version information of all firmware in the switch, judges whether the firmware is the latest version, and updates the firmware if the firmware is not the latest version;
the pressurization module 102 is used for pressurizing the CPU and the memory to acquire the use conditions of the CPU and the memory after all the firmware in the switch is the latest version;
the driving forwarding module 103 enables a driving end to UP all ports in sequence to forward data so as to enable the exchange chip to operate under full load pressure;
and the monitoring module 104 monitors the firmware state of the switch and the sensor information in real time through the switch operating system in the test process.
The invention effectively solves the problem of low reliability testing efficiency of the white box switch in the prior art, effectively improves the reliability testing efficiency of the white box switch and is convenient for comprehensive monitoring in the testing process.
According to the technical scheme, after all the switch firmware versions are the latest versions, the reliability test is performed, so that the influence on the test result caused by the firmware version problem is avoided.
In the technical scheme of the invention, data are forwarded after all ports are UP in sequence, and when the ports are down, prompt information is sent, so that a tester can conveniently acquire the port condition in time and adjust the ports in time, the influence on a test result caused by the port problem is avoided, and the reliability of the test result is ensured.
According to the technical scheme, the test monitoring system is integrated in the white box switch operating system, most operating systems in the current white box switch market can be compatible, the preparation work of test scripts written by testers in the test stage is reduced, and after the switch OS is updated, the test monitoring system is updated according to the updated switch OS, so that the complex operation that the test monitoring system is updated first and then the test monitoring system is updated after the switch OS is updated is avoided, and the test efficiency is improved.
The technical scheme of the invention fully utilizes the characteristic of flexible opening of the white box switch, is integrated in the switch operating system, can automatically open the test program, intelligently monitor and record test information and feed back test abnormality at the first time, improves the efficiency of the reliability test process of the white box switch, and further improves the quality and reliability of the reliability test of the white box switch.
EXAMPLE five
As shown in fig. 5, the present invention further provides a white box switch reliability test monitoring device corresponding to the above method embodiment, where the white box switch reliability test monitoring device may include: a memory 11 for storing a computer program; the processor 12, when executing the computer program stored in the memory 11, may implement the following steps: acquiring version information of all firmware in the switch, judging whether the firmware is the latest version, and if not, updating; when all the internal firmware of the switch is the latest version, pressurizing the CPU and the memory to acquire the use conditions of the CPU and the memory; enabling the driving end, sequentially UP all ports, forwarding data and enabling the exchange chip to operate under full load pressure; and monitoring the firmware state of the switch and the sensor information in real time through the switch operating system in the test process. For the introduction of the device provided by the present invention, please refer to the above method embodiment, which is not described herein again.
EXAMPLE six
Corresponding to the above method embodiments, the present invention further provides a computer readable storage medium having a computer program stored thereon, which when executed by a processor, performs the steps of: acquiring version information of all firmware in the switch, judging whether the firmware is the latest version, and if not, updating; when all the internal firmware of the switch is the latest version, pressurizing the CPU and the memory to acquire the use conditions of the CPU and the memory; enabling the driving end, sequentially UP all ports, forwarding data and enabling the exchange chip to operate under full load pressure; and monitoring the firmware state of the switch and the sensor information in real time through the switch operating system in the test process. The computer-readable storage medium may include: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk. For the introduction of the computer-readable storage medium provided by the present invention, please refer to the above method embodiments, which are not described herein again.
Although the embodiments of the present invention have been described with reference to the accompanying drawings, it is not intended to limit the scope of the present invention, and it should be understood by those skilled in the art that various modifications and variations can be made without inventive efforts by those skilled in the art based on the technical solution of the present invention.

Claims (10)

1. The reliability test monitoring method of the white box switch is characterized by operating in an operating system of the white box switch and comprising the following steps:
acquiring version information of all firmware in the switch, judging whether the firmware is the latest version, and if not, updating;
when all the internal firmware of the switch is the latest version, pressurizing the CPU and the memory to acquire the use conditions of the CPU and the memory;
enabling the driving end, sequentially UP all ports, forwarding data and enabling the exchange chip to operate under full load pressure;
and monitoring the firmware state of the switch and the sensor information in real time through the switch operating system in the test process.
2. The method for testing and monitoring the reliability of the white box switch as claimed in claim 1, wherein all the internal firmware of the switch includes CPLD firmware, BMC firmware and BIOS firmware.
3. The method as claimed in claim 1, wherein the CPU and memory usage rates are greater than the first threshold.
4. The method for testing and monitoring the reliability of the white box switch as claimed in claim 1, wherein when the port down exists, a prompt message is sent.
5. The method for testing and monitoring the reliability of the white box switch as claimed in claim 1, further comprising:
and when the state of the switch firmware or the sensor information is monitored to be abnormal, sending first prompt information.
6. The method for testing and monitoring the reliability of the white box switch as claimed in claim 1, further comprising:
and monitoring the data receiving and sending condition in real time through the switch operating system in the test process, and sending second prompt information when the data receiving and sending condition is abnormal.
7. The method for testing and monitoring the reliability of the white box switch according to claim 5 or 6, wherein the first prompt message and the second prompt message each include abnormal information, abnormal reason information and abnormal environment information.
8. White box switch reliability test monitoring system, characterized by, integrated inside white box switch operating system, includes:
the acquisition module acquires the version information of all the firmware in the switch, judges whether the firmware is the latest version or not, and updates the firmware if the firmware is not the latest version;
the pressurization module is used for pressurizing the CPU and the memory to acquire the use conditions of the CPU and the memory after all the firmware in the switch is the latest version;
the driving forwarding module enables a driving end to UP all ports in sequence to forward data so as to enable the exchange chip to operate under full load pressure;
and the monitoring module monitors the firmware state of the switch and the sensor information in real time through the switch operating system in the test process.
9. White box switch reliability test monitoring facilities, its characterized in that includes: a memory for storing a computer program; a processor for implementing the steps of the white box switch reliability test monitoring method according to any one of claims 1 to 7 when executing the computer program.
10. Computer readable storage medium, characterized in that the computer readable storage medium has stored thereon a computer program which, when being executed by a processor, carries out the steps of the white box switch reliability test monitoring method according to any one of claims 1 to 7.
CN202010884862.0A 2020-08-28 2020-08-28 Method, system, equipment and medium for testing and monitoring reliability of white box switch Active CN112073263B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010884862.0A CN112073263B (en) 2020-08-28 2020-08-28 Method, system, equipment and medium for testing and monitoring reliability of white box switch

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010884862.0A CN112073263B (en) 2020-08-28 2020-08-28 Method, system, equipment and medium for testing and monitoring reliability of white box switch

Publications (2)

Publication Number Publication Date
CN112073263A true CN112073263A (en) 2020-12-11
CN112073263B CN112073263B (en) 2022-12-13

Family

ID=73660103

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010884862.0A Active CN112073263B (en) 2020-08-28 2020-08-28 Method, system, equipment and medium for testing and monitoring reliability of white box switch

Country Status (1)

Country Link
CN (1) CN112073263B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112787889A (en) * 2021-01-18 2021-05-11 苏州浪潮智能科技有限公司 Switch cold start test method, system and medium
CN113064722A (en) * 2021-03-12 2021-07-02 山东英信计算机技术有限公司 Display card resource allocation switching method and system
CN115242697A (en) * 2022-07-31 2022-10-25 苏州浪潮智能科技有限公司 Test system, method, equipment and medium for switch

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105262646A (en) * 2015-11-10 2016-01-20 上海斐讯数据通信技术有限公司 A method for testing reliability of a switch
CN111061602A (en) * 2019-12-27 2020-04-24 长城超云(北京)科技有限公司 Server pressure testing system and method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105262646A (en) * 2015-11-10 2016-01-20 上海斐讯数据通信技术有限公司 A method for testing reliability of a switch
CN111061602A (en) * 2019-12-27 2020-04-24 长城超云(北京)科技有限公司 Server pressure testing system and method

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112787889A (en) * 2021-01-18 2021-05-11 苏州浪潮智能科技有限公司 Switch cold start test method, system and medium
CN112787889B (en) * 2021-01-18 2022-09-20 苏州浪潮智能科技有限公司 Switch cold start testing method, system and medium
CN113064722A (en) * 2021-03-12 2021-07-02 山东英信计算机技术有限公司 Display card resource allocation switching method and system
CN115242697A (en) * 2022-07-31 2022-10-25 苏州浪潮智能科技有限公司 Test system, method, equipment and medium for switch
CN115242697B (en) * 2022-07-31 2023-08-18 苏州浪潮智能科技有限公司 Test system, method, equipment and medium for switch

Also Published As

Publication number Publication date
CN112073263B (en) 2022-12-13

Similar Documents

Publication Publication Date Title
CN112073263B (en) Method, system, equipment and medium for testing and monitoring reliability of white box switch
CN109302522B (en) Test method, test device, computer system, and computer medium
CN101241467B (en) Automatized white box test system and method facing to WEB application
CN106502904A (en) A kind of UI automated testing methods of intelligent appliance equipment application
CN107370637B (en) Vehicle-mounted ECU communication function automatic test system and method
CN109800117A (en) A kind of DC automated testing method and system based on IPMI
CN107193730A (en) A kind of interface test method of automation
CN114817028B (en) Multi-target cross debugging system based on software development platform
CN106155885A (en) A kind of full-automatic test system and method for testing
CN114546747A (en) BMC cold restart pressure test system and method
CN111078484A (en) Power-off test method, device, equipment and storage medium for system upgrading
CN111209188A (en) Testing method and device for distributed storage system
CN110928795A (en) Stability test method and device for upgrading storage system
CN109032874A (en) A kind of memory pressure test method, device, terminal and storage medium
CN113626306A (en) Jenkins-based BMC automatic testing method and device
CN108959078A (en) A kind of end Windows automatic software test method and system
CN111240913A (en) Server DQS error-reporting memory batch test method and device
CN109783288A (en) It is a kind of to automate the method and system for restarting reset test server stability
CN111090553B (en) Test system, test method and test device
CN112231170A (en) Data interaction card supervision method, system, terminal and storage medium
CN111323661A (en) On-site protection device overhauling method
CN115065628B (en) Automatic test method and test system for fault code self-clearing of controller without sleep strategy
CN108958995A (en) A kind of method and system of whole machine cabinet server stability test
CN116915583B (en) Communication abnormality diagnosis method, device and electronic equipment
CN114168394A (en) Solid state disk testing method, device, server and 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
GR01 Patent grant
GR01 Patent grant