CN116541296A - Server testing method, device, equipment and machine-readable storage medium - Google Patents

Server testing method, device, equipment and machine-readable storage medium Download PDF

Info

Publication number
CN116541296A
CN116541296A CN202310574867.7A CN202310574867A CN116541296A CN 116541296 A CN116541296 A CN 116541296A CN 202310574867 A CN202310574867 A CN 202310574867A CN 116541296 A CN116541296 A CN 116541296A
Authority
CN
China
Prior art keywords
server
test
test template
template file
management unit
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.)
Pending
Application number
CN202310574867.7A
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.)
New H3C Information Technologies Co Ltd
Original Assignee
New H3C Information Technologies 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 New H3C Information Technologies Co Ltd filed Critical New H3C Information Technologies Co Ltd
Priority to CN202310574867.7A priority Critical patent/CN116541296A/en
Publication of CN116541296A publication Critical patent/CN116541296A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3696Methods or tools to render software testable
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

The present disclosure provides a server testing method, apparatus, device and machine readable storage medium, the method comprising: configuring an in-band management unit as a priority starting item in a local server to be tested by pressure, and restarting the local server; responding to a sending request of a management server, and receiving a test template file sent by the management server; and sending a pressure test template file to the in-band management unit in response to the test template request of the in-band management unit which is started preferentially. According to the technical scheme, the pressure test template for batch test is configured at the management server side, so that the servers to be subjected to the pressure test can respond to batch starting, the test can be completed in batches, the PXE environment is not required to be constructed, and the management server and the tested server can be in different network environments, thereby realizing the pressure test simplification and the manpower saving.

Description

Server testing method, device, equipment and machine-readable storage medium
Technical Field
The present disclosure relates to the field of communications technologies, and in particular, to a method, an apparatus, a device, and a machine-readable storage medium for testing a server.
Background
With the rapid development of cloud computing and big data, the demand for IT resources also reaches an unprecedented level, and the demand for servers is also increasing. Meanwhile, in order to prevent data loss caused by sudden downtime of the server, requirements on server stability and server hardware life are also increasing. Wherein, for the server with fault, the troubleshooting of the fault component is particularly important; the pressure test on the server components can be used for checking the components with faults or reduced performance, and the risk of sudden downtime of the server is reduced.
The traditional server batch pressure test method needs to build a PXE environment, an operating system is pushed and distributed to the server in the PXE environment, the operating system automatically executes a pressure test task after being started, receives an acquisition pressure test task sent by a control end, returns a pressure test result to the control end, and performs pressure test result analysis on the control end. The scheme needs that the server is configured with an independent network card, a service network port of the network card and the control end are in the same local area network environment, or else, a PXE pushing and distributing environment cannot be constructed through a network. In addition, various parameters of the pressure test, such as the starting time of the pressure test, the system resource ratio used by the pressure test, the independent test time of each test item, and the like, cannot be customized at the control end. The pressure test template cannot be configured, and the pressure test of batch customization is performed on the server.
Disclosure of Invention
In view of the above, the present disclosure provides a server testing method, a server testing device, an electronic device, and a machine-readable storage medium, so as to solve the above-mentioned problem that the batch pressure test cannot be performed.
The technical scheme is as follows:
the disclosure provides a server testing method, which is applied to BMC equipment of a server, and comprises the following steps: configuring an in-band management unit as a priority starting item in a local server to be tested by pressure, and restarting the local server; receiving a test template file sent by a management server in response to a sending request of the management server, wherein the test template file comprises test items and test parameters, and is preconfigured and applicable to a local server and at least one other server to be tested under pressure; and responding to the test template request of the in-band management unit which is started preferentially, and sending a pressure test template file to the in-band management unit, wherein the test template file is used for enabling the in-band management unit to execute the pressure test of the local server to be tested according to the test template file.
As a technical solution, the sending, in response to a test template request of an in-band management unit that is started preferentially, a pressure test template file to the in-band management unit includes: and responding to the test template request of the in-band management unit which is started preferentially, and sending a pressure test template file to the in-band management unit through the USB channel and/or the KCS channel so that the in-band management unit records the test template file which is received first.
The present disclosure also provides a server testing method, applied to an in-band management unit of a server, the method comprising: preferentially starting according to the configuration of the BMC equipment, and sending a test template request to the management server and/or the BMC equipment; receiving a test template file sent by a management server and/or BMC equipment in response to the test template request, and recording the test template file received first, wherein the test template file comprises test items and test parameters, and the test template file is preconfigured and is suitable for a local server and at least one other server to be tested under pressure; analyzing the recorded test template file, and executing the pressure test of the local server to be tested according to the analysis result.
As a technical solution, the analyzing the recorded test template file, executing the pressure test of the local server to be tested according to the analysis result, includes: and generating an execution log according to the execution progress and/or the execution result of the pressure test, and sending the execution log to the management server.
The present disclosure also provides a server testing device, which is applied to a BMC device of a server, and the device includes: the first module is used for configuring the in-band management unit as a priority starting item in the local server to be tested under pressure and restarting the local server; the second module is used for responding to the sending request of the management server, receiving a test template file sent by the management server, wherein the test template file comprises test items and test parameters, and the test template file is preconfigured and is suitable for a local server and at least one other server to be tested under pressure; and the third module is used for responding to the test template request of the in-band management unit which is started preferentially and sending a pressure test template file to the in-band management unit, wherein the test template file is used for enabling the in-band management unit to execute the pressure test of the local server to be tested according to the test template file.
As a technical solution, the sending, in response to a test template request of an in-band management unit that is started preferentially, a pressure test template file to the in-band management unit includes: and responding to the test template request of the in-band management unit which is started preferentially, and sending a pressure test template file to the in-band management unit through the USB channel and/or the KCS channel so that the in-band management unit records the test template file which is received first.
The present disclosure also provides a server testing apparatus, applied to an in-band management unit of a server, the apparatus comprising: a fourth module, configured to be preferentially started according to configuration of the BMC device, and send a test template request to the management server and/or the BMC device; a fifth module, configured to receive a test template file sent by the management server and/or the BMC device in response to the test template request, and record a first received test template file, where the test template file includes a test item and a test parameter, and the test template file is preconfigured and applicable to a local server and at least one other server to be tested under pressure; and the sixth module is used for analyzing the recorded test template file and executing the pressure test of the local server to be tested according to the analysis result.
As a technical solution, the analyzing the recorded test template file, executing the pressure test of the local server to be tested according to the analysis result, includes: and generating an execution log according to the execution progress and/or the execution result of the pressure test, and sending the execution log to the management server.
The present disclosure also provides an electronic device comprising a processor and a machine-readable storage medium storing machine-executable instructions executable by the processor, the processor executing the machine-executable instructions to implement the foregoing server testing method.
The present disclosure also provides a machine-readable storage medium storing machine-executable instructions that, when invoked and executed by a processor, cause the processor to implement the aforementioned server testing method.
The technical scheme provided by the disclosure at least brings the following beneficial effects:
by configuring the pressure test templates for batch test at the management server side, the servers to be pressure tested can respond to batch starting to complete the test in batches, and the management server and the tested servers can be in different network environments without constructing a PXE environment, so that the pressure test is simplified, and the labor is saved.
Drawings
In order to more clearly illustrate the embodiments of the present disclosure or the technical solutions in the prior art, the drawings that are required to be used in the embodiments of the present disclosure or the description of the prior art will be briefly described below, and it is apparent that the drawings in the following description are only some embodiments described in the present disclosure, and other drawings may also be obtained according to these drawings of the embodiments of the present disclosure to those skilled in the art.
FIG. 1 is a flow chart of a server testing method in one embodiment of the present disclosure;
FIG. 2 is a block diagram of a server testing device in one embodiment of the present disclosure;
FIG. 3 is a flow chart of a server testing method in one embodiment of the present disclosure;
FIG. 4 is a block diagram of a server testing device in one embodiment of the present disclosure;
fig. 5 is a hardware configuration diagram of an electronic device in one embodiment of the present disclosure.
Reference numerals: first module 21, second module 22, third module 23, fourth module 41, fifth module 42, sixth module 43.
Detailed Description
The terminology used in the embodiments of the disclosure is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure. As used in this disclosure and the claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to any or all possible combinations including one or more of the associated listed items.
It should be understood that although the terms first, second, third, etc. may be used in the embodiments of the present disclosure to describe various information, these information should not be limited to these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of the present disclosure. Depending on the context, furthermore, the word "if" used may be interpreted as "at … …" or "at … …" or "in response to a determination".
The disclosure provides a server testing method and device, electronic equipment and a machine-readable storage medium, so as to improve the technical problems.
The specific technical scheme is as follows.
In one embodiment, the present disclosure provides a server testing method, applied to a BMC device of a server, the method including: configuring an in-band management unit as a priority starting item in a local server to be tested by pressure, and restarting the local server; receiving a test template file sent by a management server in response to a sending request of the management server, wherein the test template file comprises test items and test parameters, and is preconfigured and applicable to a local server and at least one other server to be tested under pressure; and responding to the test template request of the in-band management unit which is started preferentially, and sending a pressure test template file to the in-band management unit, wherein the test template file is used for enabling the in-band management unit to execute the pressure test of the local server to be tested according to the test template file.
Specifically, as shown in fig. 1, the method comprises the following steps:
step S11, configuring an in-band management unit as a priority starting item in a local server to be tested under pressure, and restarting the local server;
step S12, responding to the sending request of the management server, and receiving a test template file sent by the management server;
and step S13, responding to the test template request of the in-band management unit which is started preferentially, and sending a pressure test template file to the in-band management unit.
By configuring the pressure test templates for batch test at the management server side, the servers to be pressure tested can respond to batch starting to complete the test in batches, and the management server and the tested servers can be in different network environments without constructing a PXE environment, so that the pressure test is simplified, and the labor is saved.
In one embodiment, the sending, in response to a test template request of the in-band management unit that is preferentially started, a pressure test template file to the in-band management unit includes: and responding to the test template request of the in-band management unit which is started preferentially, and sending a pressure test template file to the in-band management unit through the USB channel and/or the KCS channel so that the in-band management unit records the test template file which is received first.
In one embodiment, the present disclosure also provides a server testing method applied to an in-band management unit of a server, the method including: preferentially starting according to the configuration of the BMC equipment, and sending a test template request to the management server and/or the BMC equipment; receiving a test template file sent by a management server and/or BMC equipment in response to the test template request, and recording the test template file received first, wherein the test template file comprises test items and test parameters, and the test template file is preconfigured and is suitable for a local server and at least one other server to be tested under pressure; analyzing the recorded test template file, and executing the pressure test of the local server to be tested according to the analysis result.
Specifically, as shown in fig. 3, the method comprises the following steps:
step S31, the BMC device is preferentially started according to the configuration of the BMC device, and a test template request is sent to a management server and/or the BMC device;
step S32, receiving a test template file sent by the management server and/or the BMC equipment in response to the test template request, and recording the test template file received first;
and S33, analyzing the recorded test template file, and executing the pressure test of the local server to be tested according to the analysis result.
By configuring the pressure test templates for batch test at the management server side, the servers to be pressure tested can respond to batch starting to complete the test in batches, and the management server and the tested servers can be in different network environments without constructing a PXE environment, so that the pressure test is simplified, and the labor is saved.
In one embodiment, the analyzing the recorded test template file, and executing the pressure test of the local server to be tested according to the analysis result, includes: and generating an execution log according to the execution progress and/or the execution result of the pressure test, and sending the execution log to the management server.
The server can be provided with embedded software to help manage the server when leaving the factory, such as BMC software for out-of-band management, main board software for in-band management, and an in-band management unit constructed by the main board software can execute pressure test and is provided with corresponding software modules, so that the pressure test can be performed on the components of a single server through the software.
Firstly, a management server is accessed and installed, a stress test template file is created, and the name of a stress test task and related parameters of the stress test can be configured in the template. The test template file may include components that need to be subjected to a pressure test, including but not limited to a CPU, a memory, a storage, a network card, a GPU, and the like. After selecting the corresponding components, testing parameters, customizing diagnosis items for the specific components, for example, floating point operation testing with the CPU execution time of 30 minutes, the resource utilization rate of 90 percent of CPU occupancy rate and the memory occupancy rate of 50 percent, and detecting whether the floating point operation function of the CPU is normal; a45-minute random read test was performed on the logical disk of the storage section, while a smartctl tool was used for hard disk self-test on the physical hard disk, etc. Each diagnosis item can freely set the execution time and the utilization rate of resources. After customizing components, diagnosis items and parameters which need to be subjected to pressure test, the templates can be stored, and finally the templates are stored in a storage space managed by a management server.
The pressure test template file is not bound with a specific server to be tested under pressure, and a template execution strategy can be additionally formulated, such as a specific server for executing tasks in batches, the execution time of the pressure test template, whether to stop testing after reporting after the pressure test detects faults, and the like.
After the template strategy is formulated, the management server issues a command to the BMC, sets the in-band management unit corresponding to the main board software or other corresponding software as a priority starting item (such as a first starting item), issues a restarting command, and enters the in-band management unit after restarting.
If the service network port and the server end of the server are in a local area network environment, the in-band management unit firstly transmits the IP of the server to the BMC after being started, and the server end directly transmits the pressure test template file to in-band management software through a TCP message or an HTTP request after taking the IP of the in-band management unit from the BMC; if the server side can only be connected with the BMC management side of the server and cannot directly communicate with the in-band management software, at the moment, the server side firstly transmits the pressure test template file to the BMC through an interface of the BMC, the BMC receives the template and stores the template in the BMC, the in-band management unit can send a request for acquiring the pressure test template to the BMC after starting, and the BMC sends the template to the in-band management software through a USB channel or a KCS channel. The two modes can be synchronously carried out, and the other mode for acquiring the template file is interrupted when the template file is received firstly.
After receiving the template file, the in-band management software analyzes the template file, analyzes various customized parameters into parameters of specific tools, and then calls specific tool commands to perform pressure test. The CPU execution time is 30 minutes, the resource utilization rate is a floating point operation test of 90% of CPU occupancy rate and 50% of memory occupancy rate, and the floating point operation test is directly converted into Linpack.sh-t 1800-P90-M50; other test items are also converted into pressing tool parameters according to corresponding parameters in the template to execute tasks, task progress is saved regularly in the execution process and is transmitted to a server, and whether to terminate and end tasks is judged according to parameters such as task results, template execution strategies and the like.
And in the process of testing, the progress and the result of the pressure test are sent to the server at regular time. If the server and the in-band management software are in a local area network, the pressure test result can be directly fed back in a TCP message or HTTP request mode; otherwise, the test result is transferred to the server through BMC.
In one embodiment, the present disclosure also provides a server testing apparatus, as shown in fig. 2, applied to a BMC device of a server, where the apparatus includes: a first module 21, configured to configure an in-band management unit as a priority startup item in a local server to be pressure tested, and restart the local server; a second module 22, configured to receive, in response to a transmission request from the management server, a test template file sent by the management server, where the test template file includes a test item and a test parameter, and the test template file is preconfigured and applicable to the local server and at least one other server to be tested under pressure; and a third module 23, configured to send, in response to a test template request of the in-band management unit that is started preferentially, a pressure test template file to the in-band management unit, where the test template file is used to enable the in-band management unit to perform a pressure test of the local server to be tested according to the test template file.
In one embodiment, the sending, in response to a test template request of the in-band management unit that is preferentially started, a pressure test template file to the in-band management unit includes: and responding to the test template request of the in-band management unit which is started preferentially, and sending a pressure test template file to the in-band management unit through the USB channel and/or the KCS channel so that the in-band management unit records the test template file which is received first.
In one embodiment, the present disclosure also provides a server testing apparatus, as in fig. 4, applied to an in-band management unit of a server, the apparatus comprising: a fourth module 41, configured to be preferentially started according to configuration of the BMC device, and send a test template request to the management server and/or the BMC device; a fifth module 42, configured to receive a test template file sent by the management server and/or the BMC device in response to the test template request, record a first received test template file, where the test template file includes a test item and a test parameter, and the test template file is preconfigured and applicable to a local server and at least one other server to be tested under pressure; and a sixth module 43, configured to parse the recorded test template file, and execute the pressure test of the local server to be tested according to the parsing result.
In one embodiment, the analyzing the recorded test template file, and executing the pressure test of the local server to be tested according to the analysis result, includes: and generating an execution log according to the execution progress and/or the execution result of the pressure test, and sending the execution log to the management server.
The device embodiments are the same as or similar to the corresponding method embodiments and are not described in detail herein.
In one embodiment, the present disclosure provides an electronic device including a processor and a machine-readable storage medium storing machine-executable instructions executable by the processor, the processor executing the machine-executable instructions to implement the foregoing server testing method, and from a hardware level, a hardware architecture diagram may be seen in fig. 5.
In one embodiment, the present disclosure provides a machine-readable storage medium storing machine-executable instructions that, when invoked and executed by a processor, cause the processor to implement the aforementioned server testing method.
Here, a machine-readable storage medium may be any electronic, magnetic, optical, or other physical storage device that may contain or store information, such as executable instructions, data, or the like. For example, a machine-readable storage medium may be: RAM (Radom Access Memory, random access memory), volatile memory, non-volatile memory, flash memory, a storage drive (e.g., hard drive), a solid state drive, any type of storage disk (e.g., optical disk, dvd, etc.), or a similar storage medium, or a combination thereof.
The system, apparatus, module or unit set forth in the above embodiments may be implemented in particular by a computer chip or entity, or by a product having a certain function. A typical implementation device is a computer, which may be in the form of a personal computer, laptop computer, cellular telephone, camera phone, smart phone, personal digital assistant, media player, navigation device, email device, game console, tablet computer, wearable device, or a combination of any of these devices.
For convenience of description, the above devices are described as being functionally divided into various units, respectively. Of course, the functions of the various elements may be implemented in the same one or more software and/or hardware when implementing the present disclosure.
It will be apparent to those skilled in the art that embodiments of the present disclosure may be provided as a method, system, or computer program product. Accordingly, the present disclosure may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present disclosure may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
The present disclosure is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the disclosure. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
Moreover, these computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It will be appreciated by those skilled in the art that embodiments of the present disclosure may be provided as a method, system, or computer program product. Accordingly, the present disclosure may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present disclosure may take the form of a computer program product embodied on one or more computer-usable storage media (which may include, but are not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
The foregoing is merely an embodiment of the present disclosure and is not intended to limit the present disclosure. Various modifications and variations of this disclosure will be apparent to those skilled in the art. Any modifications, equivalent substitutions, improvements, or the like, which are within the spirit and principles of the present disclosure, are intended to be included within the scope of the claims of the present disclosure.

Claims (10)

1. A server testing method, characterized by being applied to a BMC device of a server, the method comprising:
configuring an in-band management unit as a priority starting item in a local server to be tested by pressure, and restarting the local server;
receiving a test template file sent by a management server in response to a sending request of the management server, wherein the test template file comprises test items and test parameters, and is preconfigured and applicable to a local server and at least one other server to be tested under pressure;
and responding to the test template request of the in-band management unit which is started preferentially, and sending a pressure test template file to the in-band management unit, wherein the test template file is used for enabling the in-band management unit to execute the pressure test of the local server to be tested according to the test template file.
2. The method of claim 1, wherein the sending a pressure test template file to the in-band management unit in response to a test template request by the preferentially activated in-band management unit comprises:
and responding to the test template request of the in-band management unit which is started preferentially, and sending a pressure test template file to the in-band management unit through the USB channel and/or the KCS channel so that the in-band management unit records the test template file which is received first.
3. A server testing method, applied to an in-band management unit of a server, comprising:
preferentially starting according to the configuration of the BMC equipment, and sending a test template request to the management server and/or the BMC equipment;
receiving a test template file sent by a management server and/or BMC equipment in response to the test template request, and recording the test template file received first, wherein the test template file comprises test items and test parameters, and the test template file is preconfigured and is suitable for a local server and at least one other server to be tested under pressure;
analyzing the recorded test template file, and executing the pressure test of the local server to be tested according to the analysis result.
4. A method according to claim 3, wherein the parsing the recorded test template file, and performing the stress test of the local server to be stress tested according to the parsing result, includes:
and generating an execution log according to the execution progress and/or the execution result of the pressure test, and sending the execution log to the management server.
5. A server testing apparatus, wherein the apparatus is applied to a BMC device of a server, and the apparatus comprises:
the first module is used for configuring the in-band management unit as a priority starting item in the local server to be tested under pressure and restarting the local server;
the second module is used for responding to the sending request of the management server, receiving a test template file sent by the management server, wherein the test template file comprises test items and test parameters, and the test template file is preconfigured and is suitable for a local server and at least one other server to be tested under pressure;
and the third module is used for responding to the test template request of the in-band management unit which is started preferentially and sending a pressure test template file to the in-band management unit, wherein the test template file is used for enabling the in-band management unit to execute the pressure test of the local server to be tested according to the test template file.
6. The apparatus of claim 5, wherein the sending a pressure test template file to the in-band management unit in response to a test template request by the preferentially activated in-band management unit comprises:
and responding to the test template request of the in-band management unit which is started preferentially, and sending a pressure test template file to the in-band management unit through the USB channel and/or the KCS channel so that the in-band management unit records the test template file which is received first.
7. A server testing apparatus, characterized by an in-band management unit applied to a server, comprising:
a fourth module, configured to be preferentially started according to configuration of the BMC device, and send a test template request to the management server and/or the BMC device;
a fifth module, configured to receive a test template file sent by the management server and/or the BMC device in response to the test template request, and record a first received test template file, where the test template file includes a test item and a test parameter, and the test template file is preconfigured and applicable to a local server and at least one other server to be tested under pressure;
and the sixth module is used for analyzing the recorded test template file and executing the pressure test of the local server to be tested according to the analysis result.
8. The apparatus of claim 7, wherein the parsing the recorded test template file, and performing the stress test of the local server to be stress tested according to the parsing result, comprises:
and generating an execution log according to the execution progress and/or the execution result of the pressure test, and sending the execution log to the management server.
9. An electronic device, comprising: a processor and a machine-readable storage medium storing machine-executable instructions executable by the processor to perform the method of any one of claims 1-4.
10. A machine-readable storage medium storing machine-executable instructions which, when invoked and executed by a processor, cause the processor to implement the method of any one of claims 1-4.
CN202310574867.7A 2023-05-18 2023-05-18 Server testing method, device, equipment and machine-readable storage medium Pending CN116541296A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310574867.7A CN116541296A (en) 2023-05-18 2023-05-18 Server testing method, device, equipment and machine-readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310574867.7A CN116541296A (en) 2023-05-18 2023-05-18 Server testing method, device, equipment and machine-readable storage medium

Publications (1)

Publication Number Publication Date
CN116541296A true CN116541296A (en) 2023-08-04

Family

ID=87454074

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310574867.7A Pending CN116541296A (en) 2023-05-18 2023-05-18 Server testing method, device, equipment and machine-readable storage medium

Country Status (1)

Country Link
CN (1) CN116541296A (en)

Similar Documents

Publication Publication Date Title
CN107451147B (en) Method and device for dynamically switching kafka clusters
US9535754B1 (en) Dynamic provisioning of computing resources
CN106919485B (en) System based on hardware testing tool configured on server
CN110750592B (en) Data synchronization method, device and terminal equipment
CN108228444B (en) Test method and device
CN111258913A (en) Automatic algorithm testing method and device, computer system and readable storage medium
CN111813495A (en) Node testing method and device, storage medium and electronic device
CN112100027A (en) Server maintenance method, device, equipment and machine readable storage medium
CN113094238A (en) Method and device for monitoring abnormity of business system
CN111381940B (en) Distributed data processing method and device
CN112650676A (en) Software testing method, device, equipment and storage medium
US10795747B2 (en) File synchronizing service status monitoring and error handling
CN114006815B (en) Automatic deployment method and device for cloud platform nodes, nodes and storage medium
CN110764962A (en) Log processing method and device
CN111399999A (en) Computer resource processing method and device, readable storage medium and computer equipment
CN116541296A (en) Server testing method, device, equipment and machine-readable storage medium
CN116028290A (en) Solid state disk testing method, device, equipment and medium
CN109324834A (en) A kind of system and method that distributed storage server is restarted automatically
US20090083747A1 (en) Method for managing application programs by utilizing redundancy and load balance
CN112596750B (en) Application testing method and device, electronic equipment and computer readable storage medium
CN114610446A (en) Method, device and system for automatically injecting probe
CN111431951B (en) Data processing method, node equipment, system and storage medium
CN111124890B (en) Distributed database performance test method, system, terminal and storage medium
CN113849356A (en) Equipment testing method and device, electronic equipment and storage medium
CN112612578A (en) Virtual machine monitoring method and device

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